Date: Wed, 9 Jan 2002 17:21:05 -0500 From: Anthony Schneider <aschneid@mail.slc.edu> To: freebsd-questions@freebsd.org Subject: Natd and port forwarding Message-ID: <20020109172104.A6621@mail.slc.edu>
next in thread | raw e-mail | index | archive | help
--T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline So, I would like to be able to allow connections made to machine A on some port (let's say port 4040) to be forwarded seamlessly to port 80 on machine B. A is the acting gateway for my LAN, and B is a LAN client (internal ip address). What I have read states that I should have natd run as such: natd -n xl0 -redirect_port tcp client.B.ip:80 4040 However, if I telnet to port 4040 on machine A (which is running natd) I get a connection refused error. Any suggestions? I have even tried adding ipfw add divert natd all from any to any via xl0 which (sigh) doesn't do the trick. Any help would be appreciated. Also, please make sure to Cc: to my address as I am not subscribed to -questions. Thanks. -Anthony. --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjw8wk8ACgkQ+rDjkNht5F1dUACfdB8NsJ9OXuTaC0AyOVTSYCDu ljcAoIlj2zO9dZvdTF7s03gSqcI7JKj0 =9bdD -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR-- 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?20020109172104.A6621>