Subject: Re: Proxying X over a firewall?
To: brendan burns <bburns@wso.williams.edu>
From: Todd Vierling <tv@wasabisystems.com>
List: port-mac68k
Date: 09/08/2000 18:09:12
On Fri, 8 Sep 2000, brendan burns wrote:

: Folks, I have a Quadra 650 running NetBSD acting as a firewall/router for
: the cable modem into my house, however I can't make any X connections to
: outside servers  (obviously because they can't see into my 10.0.0.*
: internal network) I found that there is an X proxy in the firewall toolkit
: (x-gw) but I can't get it to compile since I can't seem to find the X
: headers on my machine (or anywhere else (specifically Intrinsic.h))

If you have one specific internal X server, add a NAT redirect on your
router (in ipnat.conf):

rdr IFNAME 0/0 port 6000 -> 10.X.Y.Z port 6000 tcp

where IFNAME is the name of your _external_ interface--ppp0, sl0, or an
ethernet interface if using cable/dsl/etc.

Then use your external IP address, instead of 10.X.Y.Z, to find your
$DISPLAY.

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  http://www.wasabisystems.com/
-- Speed, stability, security, and support.  Wasabi NetBSD:  Run with it.