On Wed, 8 Mar 2000, Jorge Severino wrote:
> Howto make NAT in ipchains and port forwarding ???
Hello,
Let assume you want to NAT network 192.168.0.0/24 (255.255.255.0)
then the command will look like this:
ipchains -A forward -s 192.168.0.0/24 -d 0.0.0.0/0 -j MASQ
It is recomended to set forwarding policy to DENY by default while doing NAT:
ipchains -P forward DENY
Also you may like to load protocol specific masquerading modules, such as:
ip_masq_autofw, ip_masq_cuseeme, ip_masq_ftp, ip_masq_irc etc.
For further info, take look at "IP-Masquerade" mini-HOWTO...
egards,
zImage
--=- --rw------- =--=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Theodor Milkov http://www.zImage.DelBG.com
Davidov Electric Ltd. Phone: +359 2 736273
--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]