hi everybody
I have a simple problem( I guess...). I use iptables to share and control my internet connexion. I would like to masquerade only my smtp and pop3 connexions (110 and 25). I'm not sure of the syntaxe. I think I have to use SNAT but how to specify the original source address and port (before SNAT). For the while, I use something like, ex :iptables -t nat -A POSTROUTING -o ppp0 -j SNAT --to 192.168.0.1:110, where the mentioned IP address stands for local interface address of my firewall. Is it correct ? How to be much more accurate and specify to SNAT only the addresses coming from the local network on the correct port ?
If I'm not on the right mailing list, tell me and sorry to have disturbed you.
JuL
Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en fran�ais !
