Date: Mon, 22 Aug 2005 09:21:28 -0700 From: Steven Schoch <schoch@spamcop.net> To: Daniel Hartmeier <daniel@benzedrine.cx> Cc: freebsd-pf@freebsd.org Subject: Re: rdr only works for some ports Message-ID: <4309FB88.9080005@spamcop.net> In-Reply-To: <20050820021302.GB31370@insomnia.benzedrine.cx> References: <43061982.2040907@spamcop.net> <20050820021302.GB31370@insomnia.benzedrine.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Hartmeier wrote: > There are a couple of possible explanations, the two simplest ones are: > > b) check that routing from 192.168.1.101 to external addresses goes > through the pf box (and not, for instance, through that other > NAT router you mentioned). replies from the sshd to the external > ssh client must pass back through the pf box, so it can reverse > the address translation. That was it! I actually figured this out earlier. Now I feel stupid. The default route on the 192.168.1.101 box was still pointing to the old Netgear NAT router. I didn't notice this because the Windows XP boxes, on which it worked, will periodically poll the DHCP server to get the update default router, but the Linux system only did it when booting. -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4309FB88.9080005>