You can use the -redirect_port option if it's for just a few ports.
natd -n <iface> -redirect_port tcp 10.0.0.2:4000 4000 -redirect_port udp
10.0.0.2:4000 4000 would send any traffic inbound on that interface (udp or
tcp) that hit the firewall/natd system on port 4000 to a specific internal
system on that specific port. I use this for ICQ and identd on my home
system.
If this isnt' what your trying to do, my apologies.
Micheal Patterson
Sr Technical Support
PSINet OKC
pattersonm@psi.com
----- Original Message -----
From: river <river@theriver.nu>
To: <freebsd-security@FreeBSD.ORG>
Sent: Thursday, September 16, 1999 9:35 AM
Subject: mapping ports from outside to inside (with ipfw ?)
> Is there built in support to map the ports from the outside of the
> firewall/gateway machine to an internal server inside the firewall/gateway
> machine ? Or do I need to use another program for this ?
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-security" in the body of the message
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message
-- end of forwarded message --
-- С тем, что не помешает никогда, Kittle