Re: Forwarding X across firewall

Tim Fletcher (tim@night-shade.demon.co.uk)
Fri, 3 Sep 1999 21:40:42 +0100 (BST)


> I would like to forward X sessions (XDMCP and DISPLAY stuff) across my
> firewall machine, which is masquerading a bunch of internal machines with
> 2.2.x kernel.
>
> ssh does the job transparently, and it's great. However, for the external
> servers without ssh, I am wondering how to re-route X to specific
> machines. If I use rinetd to route all 5999-600x ports for X, it will have
> to be to a specific machine - and this is not what I want.
>
> Of couse if I
>
> remote> export DISPLAY=myfirewall.domain.com:0
>
> on the remote host, then the display is sent to the firewall machine and
> not to the internal host that initiated the connection.
>
> Any insight would be appreciated, and thanks,

Look into ipautofw, can forward a number of ports to a machine in response
to particular types of traffic to certain ports.

--

Tim Fletcher .~. /V\ L I N U X tjdf@st-andrews.ac.uk // \ >Don't fear the penguin< tim@night-shade.demon.co.uk /( )\ ^^-^^

Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup.

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu