From owner-freebsd-questions@FreeBSD.ORG Fri Dec 8 11:21:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8206816A403 for ; Fri, 8 Dec 2006 11:21:26 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FD0543CA6 for ; Fri, 8 Dec 2006 11:20:28 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 15424 invoked from network); 8 Dec 2006 11:21:20 -0000 Received: from unknown (HELO localhost) (775067@[208.64.240.163]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 8 Dec 2006 11:21:20 -0000 Date: Fri, 8 Dec 2006 12:20:25 +0100 From: Fabian Keil To: =?UTF-8?Q?=E5=BC=A0=E9=9F=A1=E6=AD=A6?= Message-ID: <20061208122025.625606c9@localhost> In-Reply-To: <1165559159.8140.5.camel@joe.realss.com> References: <1165559159.8140.5.camel@joe.realss.com> X-Mailer: Sylpheed-Claws 2.5.2 (GTK+ 2.10.6; i386-portbld-freebsd6.2) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_4JNaDChC2R+a5UmMCEz2FuC; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-questions@freebsd.org Subject: Re: access wikipedia (walk through the great firewall of China) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2006 11:21:26 -0000 --Sig_4JNaDChC2R+a5UmMCEz2FuC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =E5=BC=A0=E9=9F=A1=E6=AD=A6 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. I think it would be a lot easier if you'd just install Tor (http://tor.eff.org/). If you use the security/tor-devel port, you can run it on your company's gateway and build an intercepting proxy with PF (or natd but I haven't tried that). This way you wouldn't have to touch the client systems at all. Currently the "great firewall of Wikipedia" prevents Tor users from contributing, but if you're only interested in reading, this shouldn't be a problem. Note that Tor doesn't hide the fact that you are using it. My understanding is that Tor usage is currently still legal in China (or at least not prosecuted) and quite popular there, but of course you should confirm that before you start using it on an IP address that can be traced back to you. Fabian --=20 http://www.fabiankeil.de/ --Sig_4JNaDChC2R+a5UmMCEz2FuC Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFeUqABYqIVf93VJ0RAs/JAJ9c71J2QxSa+V0miQMbc9iP0sGzlgCgs3ZQ YP+rBtA+KErqWS4WgEdSq4s= =OIcP -----END PGP SIGNATURE----- --Sig_4JNaDChC2R+a5UmMCEz2FuC--