From owner-freebsd-questions@FreeBSD.ORG Tue Mar 9 12:18:13 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66A5F16A4CF for ; Tue, 9 Mar 2004 12:18:13 -0800 (PST) Received: from galilee.polands.org (CPE-24-29-189-110.new.rr.com [24.29.189.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FB4243D1F for ; Tue, 9 Mar 2004 12:18:12 -0800 (PST) (envelope-from doug@polands.org) Received: from email.polands.org (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.9/8.12.9) with SMTP id i29KIB55058222 for ; Tue, 9 Mar 2004 14:18:11 -0600 (CST) (envelope-from doug@polands.org) Received: from 69.48.112.135 (proxying for 192.168.254.149) (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Tue, 9 Mar 2004 14:18:11 -0600 (CST) Message-ID: <1347.69.48.112.135.1078863491.squirrel@email.polands.org> Date: Tue, 9 Mar 2004 14:18:11 -0600 (CST) From: "Doug Poland" To: questions@freebsd.org User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal Subject: ssh X forwarding not working through NAT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 20:18:13 -0000 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