Date: Sun, 02 Apr 2006 03:39:53 +0200 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= <norgaard@locolomo.org> To: Juergen Heberling <pjah@hicom.net> Cc: freebsd-questions@freebsd.org Subject: Re: ipnat syntax error? Message-ID: <442F2B69.40503@locolomo.org> In-Reply-To: <442EEABE.5000803@hicom.net> References: <442EEABE.5000803@hicom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Juergen Heberling wrote: > Could someone please check me on this ... > > fw1# ipnat -CFn -f /etc/ipnat.rules > 0 entries flushed from NAT table > 1 entries flushed from NAT list > syntax error error at "-", line 1 > > /etc/ipnat.rules contains: > map em0 192.168.1.0/24 -> 204.134.75.1-10 > .. snip .. > > line 1 in the rules file is the example from the FreeBSD handbook. > I'm running FreeBSD6.0 stable. It seems to be a documentation bug, the ipf-howto.txt distributed with ipfilter makes no mention of that notation, instead you should use cidr notation, for example 204.134.75.0/29 Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?442F2B69.40503>