how to redirect multiple ports in ipnat.conf ?

Mark Frasa mark at frasa.net
Tue Oct 12 00:05:42 PDT 2004


On 2004.10.11 21:17:01 -0700, Sex Maniac wrote:
> Hello, I am using FreeBSD 4.9.
> 
> 1. Using NATD
> I previously using "natd". In my natd.conf there was a
> line like this :
> 
> redirect_port tcp 192.168.0.2:2000-3000 2000-3000
> 
> 2. Using IPNAT
> Recently I switched to ipnat.
> So I am using "ipnat" now.
> 
> But how do I make a replacement a line like above in
> ipnat.conf ?
> 
> Thanks before,
> 
> My Regards,
> 
> -Galon Aerosmith-
> 
> 
> 		
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

From the example file:

/usr/share/examples/ipfilter/ipnat.conf.sample

map ed1 192.168.0.0/24 -> 192.168.1.110/32 portmap tcp/udp 40000:65000

Mark.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041012/806a979e/attachment.bin


More information about the freebsd-questions mailing list