Posts Tagged ‘news’

News through the proxy

April 19, 2010

Finaly I’m done with the news at work. NNTP + Proxy + HTTPS + Proxytunnel + Gnus!

At firts nntp.aoie.org runs NNTP on 443 port SSL-ed, so this is the command line for proxytunnel:

proxytunnel -v -p proxy.mywork:3128 -d nntp.aioe.org:443 -P %USERNAME% -e -a 8119

Then just for clearness goes a line in /etc/hosts:

127.0.0.1 nntp.aioe.org.local # Proxing for news

And finally — a select method for Gnus:

'(nntp "nntp.aioe.org.local" (nntp-port-number 8119))

It will be nice to have proxytunnel been run by the Gnus start hook and stopped by its stop hook. But just now it works!