Monday, June 8, 2009

Your firewall does not like keyserver.ubuntu.com ...

... or any other non-80 service on the web

No problem, if you can access a server which is not submitted to the same access restrictions here is one solution.

First make the service hostname to resolve as localhost in your system editing /etc/hosts so its first line looks like:

{{{

127.0.0.1    localhost keyserver.ubuntu.com

}}}

That done, you can setup an secure ad-hoc tunnel with SSH in a terminal.

{{{

ssh <username>@<server> -L 11371:keyserver.ubuntu.com:11371 -N

}}}

You can put that in a script and run it for you session OR if you like GUI apps, try installing gstm (read more).

 

 

 

 

Posted via web from cprov's posterous

1 comment:

Oskar said...

Thanks for the tip, it worked great.