[ SlackList ] [ WkikiSlack ]




Re: ip publiczne na iptables

From: Tom <america1_malpka_o2.pl>
Date: Sun Feb 15 2004 - 21:29:27 CET

hey
bylo na grupie, i to nie dawno

iptables -t nat -A POSTROUTING -s 192.168.0.2 -d 0/0 -j SNAT --to ip_zew
iptables -t nat -A PREROUTING -d ip_zew -j DNAT --to 192.168.0.2

to raz, a dwa musisz FORWARD ustawic, nie jestem pewien na 100% sprawdz to
i daj znac na grupe czy zadzialalo

iptables -A FORWARD -d 192.168.0.2 -j ACCEPT
iptables -A FORWARD -s 192.168.0.2 -j ACCEPT

pozdr
TomT
Received on Sun Feb 15 23:47:24 2004

This archive was generated by hypermail 2.1.8. Wyprawa Shackleton 2014