Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 14:18:11 -0600 (CST)
From:      "Doug Poland" <doug@polands.org>
To:        questions@freebsd.org
Subject:   ssh X forwarding not working through NAT
Message-ID:  <1347.69.48.112.135.1078863491.squirrel@email.polands.org>

next in thread | raw e-mail | index | archive | help
Hello,

Occasionally I need to tunnel X via ssh to remote hosts.  I just built a 5.2.1-R system
and noticed that X does not forward from this machine to the outside via our NAT'ing
firewall.

If I connect to a host on the same network with:
  ssh -X me@insidehost

and type:
  echo $DISPLAY
localhost:11.0

On a machine outside the NAT/firewall that is behind it's own NAT/firewall I get...
DISPLAY: Undefined variable.

Now I know this worked on 4.9-STABLE boxes before.  Is there something new in 5.x that
prohibits X11 forwarding?   I have no ~/.ssh/config file and my /etc/ssh/ssh_config is
a stock file, untouched by human hands.

All clues and gentle prods are welcome.

-- 
Regards,
Doug



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1347.69.48.112.135.1078863491.squirrel>