[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: i finally fixed it!!

On Mon, May 12, 2003 at 03:19:23PM -0300, Federico Lazcano wrote:
> there was a missing line in my firewall script!!
> iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
> (it was pretty obviuos - but not for me!!!)

If you have a fixed ip is better to use

iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to xxx.xxx.xxx.xxx

where xxx is your fixed ip

Best regards

Celso González (aka PerroVerd)

Reply to: