Hmmm a big headache

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
dcp

Hmmm a big headache

Post by dcp »

Right now.. i have two ISPs.. one for downloads using HSDPA and the other for normal web surfing/webserving.

Here is the dilemma.

Macmini serves two purpose.. with a) hsdpa connected via wireless airport and b) dsl connected via rj45

I would like sabnzbd to download via the hsdpa and serve the pages through the rj45. I cannot access the webserver via hspda because the ip addresses given out are all private ip and we cannot connect in. Everytime i start sabnzbd, it automatically takes up the rj45 as the download line which unfortunately is the small pipeline avg only about 70kB whilst the hsdpa avgs 500-600kB/s. Does anyone know how to solve this problem? is there a way for us to config sabnzbd to pick which to serve and which to download?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Hmmm a big headache

Post by shypike »

The webserver will listen to all interfaces, if you specify 0.0.0.0 as host address.

The interface used for downloading cannot be selected.
More people have asked for this, but the libraries we need to use with the
Python programming language we use, do not support this.
We're stuck here.

Is there some way you can switch the eth0 and eth1 designations in OSX?
If you can, I think SABnzbd will pick the other interface for downloading.
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: Hmmm a big headache

Post by jcfp »

With multiple upstream connections, you can control which connection is used to reach a certain server by setting the appropriate routes on the operating system level. On Linux, an example command would be route add -host news.provider.com gw 192.168.0.1 dev eth1 ; this would cause connections to "news.provider.com" to always be made via interface eth1 using gateway 192.168.0.1, regardless of the default route.

(Obviously, the gateway's ip address and the interface name would need to be substituted with the correct values specific to your own network setup.)
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

Re: Hmmm a big headache

Post by sander »

I agree with jcfp: set up routes. You could check out the GUI tool RouteSplit to take care of this, see http://mac.softpedia.com/get/Network-Ad ... plit.shtml

My question however: in which country / location is DSL only 70 kbps average, and is it possible / allowed / sustainable to do newsgroup downloads over HSDPA?
What I've seen, mobile providers will say "Unlimited Internet over HSDPA" and then in the small print "max 1 GB per month" or something like that. With 1 GB, after one DivX you will have reached your limit (hey, is this a plusquamperfectum? ;-) )
Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
dcp

Re: Hmmm a big headache

Post by dcp »

Thanks for the link, Sander. I used it to try a split routing but sadly it didnt work. The downloads from astraweb were diverted for download via the hsdpa but i still couldnt access the webserver. Apparently, there is a problem with having two gateways on the network. One of this is a real world ip but there other under the hsdpa is class d private. I cannot even use dynamic ip dnses to pull it through. Spent the better part of last 24 hrs trying to get it work. Sigh.

As to your question, we have two ISPs here. Yes, only two. Both offer unlimited download and access packages. The differences however is one offers 512k/1mb fixed vs 7.2mbits wireless broadband for around the same price. These are separate from our phone lines with 3G access which have a 1gb limit. So. Glad to say, at 500-600kB/s, the wireless is the way to go with downloads.. however has bad latency.. so some of us have to keep both.  :-[

Back to my problem in question, anyone used a trendnet TW100-BRV304 adv vpn fw router before and successfully setup vpn between iphone and router? Am looking at this solution to get around my problem with the conflict.
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

Re: Hmmm a big headache

Post by sander »

If you want to access SABnzbd's webinterface when it's behind a NAT-device (which your trendnet probably is), you can do two things:

1) Set up port forwarding from your NAT/Trendnet to your system running SAB. Your Mac-running-SAB should have a fixed (private) IP address.
See http://www.portforward.com/english/rout ... 1/HTTP.htm how to setup port forwarding on a Trendnet. REMEMBER: SABnzbd is running on port 8080, and not 80 / HTTP like in the URL.

2) Use IPv6 on both your SAB-server and your client. Bonus: free downloading from news.ipv6.eweka.nl


@ SAB developers: a third option would be to let SAB do UPnP IGD so that SAB will instruct the NAT device to setup port forwarding. See http://miniupnp.free.fr/ for a light weight implementation.
Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

Re: Hmmm a big headache

Post by sander »

PS: After you've setup port forwarding to your Mac, you can check the port forwarding by visiting this URL with on webbrowser on your Mac:

http://www.utorrent.com/testport.php?port=8080

HTH
Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
dcp

Re: Hmmm a big headache

Post by dcp »

sander wrote: 1) Set up port forwarding.....
2) Use IPv6 on both your SAB-server and your client. Bonus: free downloading from news.ipv6.eweka.nl
All the ports required have already been opened.. however the problem is an internal conflict with the sabserver because it shares two gateways. The server does not respond to http calls.

I dont think using ipv6 would make a difference. I believe its the internal routing that needs to be addressed. Am still looking into this.
dcp

Re: Hmmm a big headache

Post by dcp »

Problem sorted.

In case anyone else has this problem, solution was to put a router in front of the hsdpa and set static routing table on both router and server to direct all astraweb ip to this router whilst maintain default gateway as fixed line. The tech ppl at my isp said it was impossible. Hehe.. nothing is impossible.
Post Reply