access wikipedia (walk through the great firewall of China)

张韡武 weiwu at sdf.lonestar.org
Thu Dec 7 22:42:26 PST 2006


在 2006-12-08五的 14:25 +0800,张韡武写道:
> 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 80:en.wikipedia.org:80 server;
> 3) everybody in the office edit /etc/hosts, add this line:
> [my_ip_addr] en.wikipedia.org
> 
> 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.
> 
> Is it possible to install some software to run as a daemon and do this
> proxy?
> 
> I think of stunnel, but I have too few knowledge to know if stunnel can
> do this.

Forgot to mention another requirement is to be able to automatically
re-connect if the ssh connection drops. It's difficult to maintain a
connection the whole day..



More information about the freebsd-questions mailing list