On 2004-08-04, Buck Turgidson <(E-Mail Removed)> wrote:
> I use a free news service at work which I am not very happy with. My ISP at
> home has a very good NNTP server, but I cannot get to it from work due to
> the firewall, and I think the NNTP server validates my IP address to make
> sure that it is one of its own. It rejects my work IP address, of course.
>
> I can tunnel into my linux server using ssh and have successfully mapped to
> an Oracle database there.
>
> I am wondering if I can somehow setup an NNTP mirror on my linux box to pull
> certain newsgroups, and then use that server via a tunnel from work.
>
> Any ideas would be appreciated.
>
$ ssh -C -L 7890:nntp.favisp.co.uk:nntp my.home.connection.co.uk -p 443
then on your machine you use the news server on 127.0.0.1:7890
The '-p 443' is a trick to get through most company firewalls, you configure
sshd to listen both on port 22 and port 443 (https) and then to work they
just think its a secure web connection

Of course if you can ssh to your
machine on port 22 then you can simple drop the '-p 443'.
I personally (for friends mainly) a copy of 'tinyproxy' bound to 'lo'
(127.0.0.1) and then you can use a simple full CONNECT proxy to route *any*
traffic. My friends use it for rdesktop/vnc and I used to use it for Jabber.
Have fun
Alex