Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => General Networking Support in Linux => Topic started by: h1j4ck3r on June 09, 2004, 12:09:30 AM
-
Im using Squid, and I can't access the POP3 and SMTP from my client using outlook express !
I know i must use masquerade at IPTables but i dont know the right syntax !
Does anyone can help me ?
Thx !
H1·J4CK3R
-
Supposing that:
192.168.0.0/24 is you LAN, and eth0 is the WAN device, you need iptables as root:
/sbin/iptables -t nat -A POSTROUTING -o eth0 -s 192.168.0.0/24 -j MASQUERADE