re: Re: problem with ipfilter(ipnat)

2006-04-14 Thread Arnold Lee
Nikos, thank you. I appended " mssclamp 1440 " in ipf.rule, it works now! And I have tried not use it but add "set link mtu 1440" in mpd.conf, and failed. Yes, the problem occurs when NATing, and mssclamp 1440 is the key. fbsd, thank you anyway. Arnold Lee 2006 -04-14

Re: problem with ipfilter(ipnat)

2006-04-12 Thread Nikos Vassiliadis
On Wednesday 12 April 2006 11:34, Arnold Lee wrote: > I am in a small lan and want to use fb 6.0 as a router to share internet > access. I use mpd 3.18 to dial adsl on demand. I configured ipnat with : > map rl0 10.0.0.0/8 -> 0.0.0.0/32 portmap tcp/udp auto > map rl0 10.0.0.0/8 -> 0.0.0.0/32 > A

RE: problem with ipfilter(ipnat)

2006-04-12 Thread fbsd
There is nothing wrong with FreeBSD 6.0 It's the way you activated ipf that is wrong. Ipfilter's ipnat function is not an independent function. You have to code this in rc.conf ipfilter_enable = "YES" ipnat_enable = "YES" and make sure there is no default ipf.rules file Then ipf will use its defa

Re: Problem with IPFilter/IPNAT

2005-07-30 Thread Odhiambo Washington
* On 30/07/05 15:20 +0200, Alex de Kruijff wrote: > On Sat, Jul 30, 2005 at 01:41:52PM +0300, Odhiambo Washington wrote: > > I am using IPFilter and IPNat on several FreeBSD boxes. They are mostly > > configured the same. > > > > Each box has two interfaces, public and internal, and acts as a rout

Re: Problem with IPFilter/IPNAT

2005-07-30 Thread Alex de Kruijff
On Sat, Jul 30, 2005 at 01:41:52PM +0300, Odhiambo Washington wrote: > I am using IPFilter and IPNat on several FreeBSD boxes. They are mostly > configured the same. > > Each box has two interfaces, public and internal, and acts as a router > to the LAN which is 'behind' it. The LAN machines use t