Date: Fri, 8 Dec 2006 13:13:20 +0100 From: Jona Joachim <walkingshadow@grummel.net> To: =?UTF-8?B?5byg6Z+h5q2m?= <weiwu@sdf.lonestar.org> Cc: freebsd-questions@freebsd.org Subject: Re: access wikipedia (walk through the great firewall of China) Message-ID: <20061208131320.1d01d7c3@localhost> In-Reply-To: <1165559159.8140.5.camel@joe.realss.com> References: <1165559159.8140.5.camel@joe.realss.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 08 Dec 2006 14:25:59 +0800 =E5=BC=A0=E9=9F=A1=E6=AD=A6 <weiwu@sdf.lonestar.org> wrote: > Hello. My office use this method to access wikipedia behind the great > firewall of China: >=20 > 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 >=20 > So my computer become a 'proxy'. >=20 > 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. Jona
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061208131320.1d01d7c3>