Date: Wed, 1 May 2002 09:09:53 +0300 From: "Razvan Cremenescu" <cremenescu@terrasat.ro> To: <freebsd-stable@FreeBSD.ORG> Subject: RE: ipnat.conf syntax ? Message-ID: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAI40GHvEUg0SjdaKTdhTSasKAAAAQAAAAiOnyRZn8fEyMEYXllMUFZQEAAAAA@terrasat.ro> In-Reply-To: <20020501012246.A10347@mysticjah.org>
next in thread | previous in thread | raw e-mail | index | archive | help
ipnat.conf should look like this: map rl0 (external interface) 192.168.0.0/24 -> 0/32 (or other ip) then, in rc.local: /sbin/ipnat -CF /sbin/ipnat -f /etc/ipnat.conf Razvan Cremenescu, ================================= Network Operations Center Pitesti e-mail: cremenescu@terrasat.ro Tel: +40-48-250015 int. 25 +40-48-251112 int. 25 Mobile: +40-92-685805 ================================= Terra Sat Comp Resita 1700 CS, Romania http://www.terrasat.ro company@terrasat.ro Tel: +40-55-220012 +40-55-220013 Fax: +40-55-220117 ================================= It took the computing power of three C-64s to fly to the Moon. It takes an 800Mhz P3 to run Windows XP. Something is wrong here. -----Original Message----- From: owner-freebsd-stable@FreeBSD.ORG [mailto:owner-freebsd-stable@FreeBSD.ORG] On Behalf Of fictif Sent: Wednesday, May 01, 2002 4:23 AM To: freebsd-stable@freebsd.org Subject: ipnat.conf syntax ? Basicly, here is my trouble : mysticjah# cat ipnat.conf rdr ed0 192.168.1.1 port 21 -> 192.168.1.2 port 21 tcp mysticjah# ipnat -f ipnat.conf 1: syntax error in "rdr" What's wrong ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAI40GHvEUg0SjdaKTdhTSasKAAAAQAAAAiOnyRZn8fEyMEYXllMUFZQEAAAAA>