FYI: Tunneling SABnzbd's NNTP traffic through SSH
Posted: August 23rd, 2012, 9:56 am
If you have a SSH account somewhere, you can tunnel traffic (so also SABnzbd's NNTP traffic) through that SSH account. That way 1) your source IP changes which could give you access to a newsserver and 2) obfuscates your traffic so that a nosy ISP or government cannot read (or block) it.
Here's a howto. Tested on Ubuntu, but it probably works on any Linux. Possibly also on OS X.
First start the SSH tunnel from your own port 2000 to a newsserver on port 119 through the SSH account:
... and keep this running
In another window, now test that this works:
Note that localhost:2000 is now a pipe to newsreader.eweka.nl:119 (via the SSH server)
If this works, you can point SABnzbd to localhost:2000 like this: in Config -> Server, click Add Server and then fill out:
Now you can start downloading. I have not yet tested this with login.
Here's a howto. Tested on Ubuntu, but it probably works on any Linux. Possibly also on OS X.
First start the SSH tunnel from your own port 2000 to a newsserver on port 119 through the SSH account:
Code: Select all
ssh -N -L 2000:newsreader.eweka.nl:119 sander@server.blabla.com
sander@server.blabla.com's password: In another window, now test that this works:
Code: Select all
sander@R540:~$ telnet localhost 2000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Welcome to [b]Eweka[/b] (fx40.am1)
quit
205 Goodbye
Connection closed by foreign host.
sander@R540:~$ If this works, you can point SABnzbd to localhost:2000 like this: in Config -> Server, click Add Server and then fill out:
Code: Select all
Host: localhost
Port: 2000
Connections: 1