My ISP has blocked newzbin2.com newzbin2.es - proxy / tunnel
Posted: February 15th, 2012, 7:33 am
Hi all,
I've been using sabnzdb for a number of years now and have hit a problem totally not Sabnzbds fault - but I'd like suggestions of how to get round it.
My ISP (Sky UK) has blocked newzbin2.com and newzbin2.es via the well known ip addresses (those available via public DNS).
For various reasons I can't switch provider (I like my Sky Anytime Plus into HD box - need to stay "on net" for now to get it plus other "stuff", - so assume switching not an option).
I have hacked about with "Pies automatic downloader" for a few years also that IIRC was written for Hellanzb, such that it scrapes myepisodes.com for the tv eps I'm interested in, then using the appropriate API key posts the newzbin2.es message id into Sabnzbd and off Sabnzbd goes to grab it and so on.
Now the catch is - my isp has put a block on the ip's - such that I can still resolve newzbin2.es but can't connect (telnet to IP on 80 / 443 never connects - tcpdump shows RST's -ergo firewalled).
I've set up an SSH tunnel to a VPS (virt private server) that I have in the US for proxying access to Hulu - now - given that Sabnzbd and my Pads script are both Python AND I can't use socksipy (having read a few posts on here regards proxies), I've put a hosts file entry to point http://www.newzbin2.es at my localhost so I can send it over an ssh tunnel:
ssh -f -N -q -L 5150:www.newzbin2.es:80 user@proxy.somedomain.com
This sends any traffic that hits my local host (newzbin2.es is set to 127.0.0.1 in my hosts remember) on port 5150 (nowt special just a port regularly used in Firefox socks proxy over ssh guides) to http://www.newzbin2.es on port 80 via my proxy in the US.
This gets my message id's into Sabnzbd quite nicely, but - Sabnzbd still won't download / connect to http://www.newzbin2.es (presumably as it's hitting it on port 80?).
As I see it my choices are:
1) wait for proxy support (loooooow priority I hear)
2) hack away at the code to add in a port variable (I'm no kind of python guy) so I can point it at http://www.newzbin2.es:5150 and get it over my tunnel
3) try and configure a transparent proxy on the host sabnzbd runs on - and rewrite the requests to point where I want them
4) try an SSH VPN and route all outbound traffic via my us proxy - don't like, extra interfaces / NAT / iptables / routing - takes all fun out of it :-)
I think option 2) is most likely - but before I have at it, does anyone else have a proven method for running a Sabnzbd installation on an ISPs connection that blocks access to newzbin2.es?
FYI - my install is thus:
10.04 Ubuntu LTS (I only upgrade to LTS versions so 12.04 is next in a couple of months)
Sabnzbdplus 0.6.15 (Upgraded this AM as it happens to a PPA version a kind soul set up - this got me pointed at newzbin2.es)
Sky UK ISP
Cheers
Nick
I've been using sabnzdb for a number of years now and have hit a problem totally not Sabnzbds fault - but I'd like suggestions of how to get round it.
My ISP (Sky UK) has blocked newzbin2.com and newzbin2.es via the well known ip addresses (those available via public DNS).
For various reasons I can't switch provider (I like my Sky Anytime Plus into HD box - need to stay "on net" for now to get it plus other "stuff", - so assume switching not an option).
I have hacked about with "Pies automatic downloader" for a few years also that IIRC was written for Hellanzb, such that it scrapes myepisodes.com for the tv eps I'm interested in, then using the appropriate API key posts the newzbin2.es message id into Sabnzbd and off Sabnzbd goes to grab it and so on.
Now the catch is - my isp has put a block on the ip's - such that I can still resolve newzbin2.es but can't connect (telnet to IP on 80 / 443 never connects - tcpdump shows RST's -ergo firewalled).
I've set up an SSH tunnel to a VPS (virt private server) that I have in the US for proxying access to Hulu - now - given that Sabnzbd and my Pads script are both Python AND I can't use socksipy (having read a few posts on here regards proxies), I've put a hosts file entry to point http://www.newzbin2.es at my localhost so I can send it over an ssh tunnel:
ssh -f -N -q -L 5150:www.newzbin2.es:80 user@proxy.somedomain.com
This sends any traffic that hits my local host (newzbin2.es is set to 127.0.0.1 in my hosts remember) on port 5150 (nowt special just a port regularly used in Firefox socks proxy over ssh guides) to http://www.newzbin2.es on port 80 via my proxy in the US.
This gets my message id's into Sabnzbd quite nicely, but - Sabnzbd still won't download / connect to http://www.newzbin2.es (presumably as it's hitting it on port 80?).
As I see it my choices are:
1) wait for proxy support (loooooow priority I hear)
2) hack away at the code to add in a port variable (I'm no kind of python guy) so I can point it at http://www.newzbin2.es:5150 and get it over my tunnel
3) try and configure a transparent proxy on the host sabnzbd runs on - and rewrite the requests to point where I want them
4) try an SSH VPN and route all outbound traffic via my us proxy - don't like, extra interfaces / NAT / iptables / routing - takes all fun out of it :-)
I think option 2) is most likely - but before I have at it, does anyone else have a proven method for running a Sabnzbd installation on an ISPs connection that blocks access to newzbin2.es?
FYI - my install is thus:
10.04 Ubuntu LTS (I only upgrade to LTS versions so 12.04 is next in a couple of months)
Sabnzbdplus 0.6.15 (Upgraded this AM as it happens to a PPA version a kind soul set up - this got me pointed at newzbin2.es)
Sky UK ISP
Cheers
Nick