Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 15:38:18 -0000
From:      "Bruno Miguel" <brunomiguel@netcabo.pt>
To:        freebsd-stable@freebsd.org
Subject:   Re: ipnat problem?
Message-ID:  <3A6EF6EA.3332.A2053@localhost>
In-Reply-To: <20010124063600.A46017@lunatic.oneinsane.net>
References:  <20010124143026.A61137@freenix.no>; from morten@freenix.no on Wed, Jan 24, 2001 at 02:30:26PM %2B0100

next in thread | previous in thread | raw e-mail | index | archive | help
> I would try replacing this entry:
>  map fxp0 10.0.0/24 -> xxx.xxx.xxx.xxx/32
> with
>  map fxp0 10.0.0/23 -> xxx.xxx.xxx.xxx/32
> 
> I assume you are using class C subnets.
> 

map fxp0 10.0.0.0/24 -> ip/32
map fxp0 10.0.1.0/24 -> ip/32

or simply 

map fxp0 10.0.0.0/16 -> ip/32

now, you have to ipnat -FC -f /etc/natrules if your config is at /etc/natrules... :)
ipnat -l *has* to show you that. Use x.y.z.w/ll formatting.


      
      ...:-=>> The freaking Mail Band <<=-:...
                  hununu@netcabo.pt
             D.E.Q. @ I.S.T. - Portugal


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?3A6EF6EA.3332.A2053>