[Firehol-support] exclude from SNAT

Gergely Imre gimre at nextra.ro
Wed Nov 2 13:38:34 GMT 2005


hi

i have a question about defining some SNAT rules. i want to exclude some 
packets from being SNAT'ed.
i want it like this:

iptables -t nat -A POSTROUTING -d some_real_ip -o eth0 -j ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source real_ip

so anything sent to some_real_ip i want not to be SNAT-et. is there any config 
in firehol to do this ? or any other workaround?

thanks




More information about the Firehol-support mailing list