On Tue, Jun 15, 2004 at 09:52:07PM -0700, Animesh Singh wrote:

>>>/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Instead of MASQUERADE use SNAT. IAC, MASQUERADE is meant for non static
ips like dialup, dhcp etc.

/sbin/iptables  -A  POSTROUTING -t  nat  -s  INT-IP  -o eth0  -j  SNAT
--to-source EXT-IP

Regards
-- 
 .''`.     Dileep M. Kumar <[EMAIL PROTECTED]>
: :'  :    http://www.kumarayil.net
`. `'`     Mobile: 98474-47437
  `-  Debian GNU/Linux - Choice of the Freedom Lovers

-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to