0

how i can do with SNAT(iptables)

view story
linux-howto

https://bbs.archlinux.org – i have a public ip address 1.2.3.4 (assume)and i want to setup a SNAT server to let interal PC access internet.Archlinux (Latest Verison with newly installed  and updated)eth0: 1.2.3.4 (public ip addr)eth1: 192.168.0.1mask: 255.255.255.0---------------------------------------------------Windows 2003NIC1:192.168.0.2Gateway: 192.168.0.1MASK:255.255.255.0------------------------------------------------------then i input command to Archlinux Serveriptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 1.2.3.4iptables -t nat -Li can see my rule in itping 8.8.8.8 (google dns) OKbut in my in (HowTos)