Page 1 of 1
setting up sabnzbd webpage to be accessable from outside the local network
Posted: April 29th, 2009, 3:38 am
by slamdrunk
Hi !
I am trying to access SABnzbd web interface -webpage over the internet.. for example
www.mydomain.com:8080 but this is not working, i have tried in the config set up puting in the static IP address of the virtual machine running SABnzbd but with no luck connecting to the web interface.
Can anyone tell me how to set up SABnzbd webserver so that when I got to
www.mydomain.com:8080 I will be able to use SABnzbd web interface PLEASE HELP!
I am running Debian 5 lenny. I am using SABnzbd 0.49 I am using a Mac Pro with parallels server so that I can install linux on the mac as a virtual machine.. Such as (VMWARE infrastructure) I have not installed Apache or any LAMP server.. basic lenny install and SABnzbd install.. SABnzbd is working itself and downloading but the web interface is my problem!
I just cannot figure out how to tell SABnzbd to server the webpage over the internet so i can access it when i do not have access to the physical machine.
Please help .. I have a static IP for the virtual machine.. thank you for any help . I am so lost..
Re: setting up sabnzbd webpage to be accessable from outside the local network
Posted: April 29th, 2009, 4:11 am
by shypike
If you have a SOHO router, you need to setup port-forwarding on the router.
A router normally prevents systems from listening to incoming calls from the internet.
If you don't use a router (yikes), you need to tell your software firewall that
SABnzbd is allowed to listen on port 8080.
Re: setting up sabnzbd webpage to be accessable from outside the local network
Posted: April 29th, 2009, 6:59 am
by sander
@slamdrunk:
First you have to make sure your SABnzbd is accessible from other systems on the LAN. Make sure "0.0.0.0" is filled out as listening host. Then find out your IP address on the LAN, something like 192.168.0.10. Use that to access SABnzbd.
Then take care of portwarding. See
http://portforward.com/. Your system running SABnzbd must have a fixed IP address on the LAN.
Or, do it the easy way: use IPv6. On ubuntu / debian: "sudo apt-get install miredo", and use the IPv6 address to access your system from anywhere. No need for port forwarding.
Re: setting up sabnzbd webpage to be accessable from outside the local network
Posted: April 29th, 2009, 8:01 am
by sander
@shypike
As long as people refuse to use IPv6 ;-) , life would be easier if SABnzbd would speak UPnP IGD (Internet Gateway Device) to the NAT device to setup port forwarding automagically. That is what bittorrent apps like utorrent, Azureus/Vuze, etc do
http://en.wikipedia.org/wiki/List_of_Bi ... Features_I shows the bittorrent clients that do UPnP
http://en.wikipedia.org/wiki/List_of_Bi ... rogramming shows the clients that are written in Python
http://en.wikipedia.org/wiki/List_of_Bi ... ts#General shows the clients that are FOSS.
So if there is a FOSS Python client that does UPnP, that code could be re-used to implement UPnP IGD and thus automagic port forwarding in SABnzbd.
EDIT:
This could be useful too:
http://miniupnp.free.fr/
http://vaitls.com/pnl/trunk/libs/miniup ... upnpigd.py
Re: setting up sabnzbd webpage to be accessable from outside the local network
Posted: April 30th, 2009, 7:31 am
by shypike
We prefer not to automate this.
Anyone who wants to expose SABnzbd to the internet should know what he/she is doing
and realize what the risks are.
Implementing uPNP makes things just too easy.
Re: setting up sabnzbd webpage to be accessable from outside the local network
Posted: May 3rd, 2009, 2:40 am
by slamdrunk
Oki, well there is a tutorial on the Sabnzbd at:
http://sabnzbd.wikidot.com/howto-apache
anyone have an idea how to do this on Debian 5 lenny?
do I need to add some mod? like mode rewrite or something..
Seems easy enough to just copy and paste this into the apache2 conf. but it is not working on debian..
Re: setting up sabnzbd webpage to be accessable from outside the local network
Posted: May 24th, 2009, 6:31 am
by littlephil
All I had to do was move the proxy_html.conf, proxy_html.load, proxy.conf and proxy.load files from /etc/apache2/mods-available to /etc/apache2/mods-enabled.
Re: setting up sabnzbd webpage to be accessable from outside the local network
Posted: May 24th, 2009, 6:34 am
by littlephil
As a side point this is the virtual host I'm using now and have used in the past so I can setup a sub-domain for my sabnzbd install.
Might need to be moved around a bit for your own Apache install but it seems to remove the need for typing /sabnzbd to get to the install, you can just go straight to news.YOUR-DOMAIN
ServerName news.YOUR-DOMAIN
ProxyRequests Off
Order deny,allow
Allow from all
ProxyPass /sabnzbd/
http://localhost:8080/sabnzbd/
ProxyPassReverse /sabnzbd/
http://localhost:8080/sabnzbd/
ProxyPass /
http://localhost:8080/sabnzbd/
ProxyPassReverse /
http://localhost:8080/sabnzbd/
Re: setting up sabnzbd webpage to be accessable from outside the local network
Posted: May 18th, 2011, 1:41 pm
by gurry
I am after some advise moving on from some of the points of the original post.
I have setup sab for internet access (through the app nzbair)
I have the host set as blank (0.0.0.0 returned a sab address on my pc as localhost)
My sab ip in the address is the internal one of 192.168.0.154
When I input in the host the external ip (94.***.***.195) I cannot connect to my pc from an external (non network based) device
I have dyns running ports forwarded (on my router)
I am right that for external access its htp:94.***.***.195:8080/the_whopping_api_key_from_SAB_config?
when i use the network ip - to check everything works, i get this error:
http://192.168.0.154:8080/c44a5af88dcd8 ... 48f4b61408
404 Not Found
The path '/c44a5af88dcd8a352acafc48f4b61408' was not found.
Traceback (most recent call last): File "cherrypy\_cprequest.pyo", line 618, in respond File "cherrypy\_cperror.pyo", line 233, in __call__ NotFound: (404, "The path '/c44a5af88dcd8a352acafc48f4b61408' was not found.")
any ideas?
Re: setting up sabnzbd webpage to be accessable from outside the local network
Posted: May 18th, 2011, 4:18 pm
by shypike
First, you did setup port-forwarding in your router?
You did set a username and a password for SABnzbd? Not doing so is asking for trouble.
You don't need the apikey for external access, it's used automatically later.
The proper URL will be:
http://94.***.***.195:8080/sabnzbd
Re: setting up sabnzbd webpage to be accessable from outside the local network
Posted: May 18th, 2011, 9:27 pm
by textual
i recently upgraded to 0.6.0 on my iMac and now can only access through localhost:8080
i cannot access through local ip address:8080 or computer name:8080
Re: setting up sabnzbd webpage to be accessable from outside the local network
Posted: May 19th, 2011, 1:27 am
by shypike
Check your host setting in Config->General.
We did some small tweaks to prevent trouble with some browsers.
For outside access use an empty hostname, 0.0.0.0 or the DNS name of your system.
Also check if your software firewall (should you have one) allows SABnzbd to go outside.
Re: setting up sabnzbd webpage to be accessable from outside the local network
Posted: May 19th, 2011, 7:49 am
by gurry
I have set up usern and pwd.
Over the 'ocal' network sab appears as soon as I go to external internet sab isnt found.
I have win fw (ports frwarded) avast fw (disabled) still no dice.
by dns name do you mean the name of my computer (as in the login name?)
host name is blank. (which in google chrome gives an address as 192.***.*.154/8080/sabnzb
When I tried 0.0.0.0 the hostname in the goocle chrome address bar appeared as localhost:8080
cheers
Re: setting up sabnzbd webpage to be accessable from outside the local network
Posted: May 19th, 2011, 9:15 am
by shypike
0.0.0.0 means that SABnzbd listens on localhost and on the system's IP address.
The browser will use localhost, unless you type the local name.
The DNS name in OSX will be something like "mymac" or "mymac.local".
Port-forwarding is an essential step that needs to be done on your *router*.
The is separate from any permissions you set in firewalls.