[PLUTO-help] Iptables NAT/PAT

JeKO jko2001 a tiscalinet.it
Mar 21 Set 2004 17:35:45 CEST


si hai ragione piviul, allora:

iptables -t nat -A POSTROUTING -j MASQUERADE

iptables -t nat -A POSTROUTING -p tcp --sport 4662 -j SNAT --to
80.181.223.50:4662
iptables -t nat -A POSTROUTING -p udp --sport 4672 -j SNAT --to
80.181.223.50:4672

iptables -t nat -A PREROUTING -p tcp --dport 4662 -j DNAT --to
192.168.0.248:4662
iptables -t nat -A PREROUTING -p udp --dport 4672 -j DNAT --to
192.168.0.248:4672




More information about the pluto-help mailing list