Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2002 20:07:13 -0000
From:      "G D McKee" <freebsd@gdmckee.com>
To:        "Freebsd-Questions@Freebsd. Org (E-mail)" <freebsd-questions@freebsd.org>
Subject:   IPFW + NATD with redirect_port
Message-ID:  <00a901c297e2$e85876f0$c800a8c0@p1000>

next in thread | raw e-mail | index | archive | help
Hi

I want to redirect incoming ssh packet to another box internally.  I have
got the following as my /etc/natd.conf

dynamic yes
log_denied yes
use_sockets yes
same_ports yes
unregistered_only
redirect_port tcp 192.168.0.200:22 4455

When I try to ssh to port 4455 I get nothing - I have ipfw running - do I
need any specific rules to get this working.  I have tried "${fwcmd} add
pass log tcp from any to any 22 in via ${oif} setup" but it doesn't seem to
work.

Thanks all

Gordon



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00a901c297e2$e85876f0$c800a8c0>