Date: Tue, 05 Aug 2003 20:05:13 -0400 From: Brian McCann <bjm1287@ritvax.isc.rit.edu> To: questions@freebsd.org Subject: NATD & Port Forwarding Problems Message-ID: <000e01c35bae$690ea370$1500a8c0@garfield>
next in thread | raw e-mail | index | archive | help
Hi all...I'm at a dead end here. I'm trying to setup my firewall/nat box to forward requests on externalIP:portA to internalPC:portB. I put 'natd_flags="-redirect_port tcp 1internalPC:portB portA" ' in my rc.conf file, and I have the following three statements in my rc.firewall script: ipfw add divert 8668 all from any to any via $EXTERNAL_INTERFACE ipfw add pass all from $LOCALNET_1 to any via $EXTERNAL_INTERFACE out ipfw add pass all from any to $LOCALNET_1 via $EXTERNAL_INTERFACE in But when I try to connect, nothing happens. Any ideas anyone? Thanks, --Brian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01c35bae$690ea370$1500a8c0>