Date: Wed, 27 Mar 2002 09:21:24 +1100 From: Gregory Bond <gnb@itga.com.au> To: "Roger Helman" <rhelman@xmission.com> Cc: freebsd-ipfw@FreeBSD.ORG Subject: Re: FreeBSD 4.2 ipfw natd -- Port Forwarding? Message-ID: <200203262221.JAA12520@lightning.itga.com.au> In-Reply-To: Your message of Tue, 26 Mar 2002 09:03:37 -0700.
next in thread | raw e-mail | index | archive | help
> natd -n rl0 -redirect_port tcp 192.168.1.21:1723 1723 > natd: Unable to bind divert socket.: Address already in use > natd_flags="" > 00100 divert 8668 ip from any to any via rl0 > 00200 allow ip from any to any > 00300 divert 1723 ip from any to any via rl0 > 65535 deny ip from any to any You are really, really confused about natd. You don't need to run it twice (you can't, that's why it's complaining), and you don't need the second divert rule. Remove the rule 300 and then add the "-redirect_port tcp 192.168.1.21:1723 1723" string to the natd_flags in rc.conf, and reboot. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203262221.JAA12520>