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

Title: PORT 25 and 110 masquerade
Post 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
Title: PORT 25 and 110 masquerade
Post by: RazaMetaL on June 11, 2004, 02:37:50 PM
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