access wikipedia (walk through the great firewall of China)

Jona Joachim walkingshadow at
Fri Dec 8 13:31:33 PST 2006

On Fri, 08 Dec 2006 14:25:59 +0800
张韡武 <weiwu at> wrote:

> Hello. My office use this method to access wikipedia behind the great
> firewall of China:
> 1) we have a server in europ, let's call it server;
> 2) I run this command on my desktop:
> $ ssh -L server;
> 3) everybody in the office edit /etc/hosts, add this line:
> [my_ip_addr]
> So my computer become a 'proxy'.
> The trouble is I have to keep the ssh running there. The 'proxy' will
> not automatically set up next time I reboot my computer.

You can put the command into /etc/rc.local for it to be executed at
boot time.


More information about the freebsd-questions mailing list