[Shorewall-users] nat with limitation

Tom Eastep teastep at shorewall.net
Thu Sep 2 06:59:41 PDT 2004


On Thursday 02 September 2004 01:25, Michael Varamashvili wrote:
> Hу здpаcте shorewall-users,
>
>   i'm not subscribed to the mailing list so...
>
>   how can i say to shorewall to do something like this
>
>   iptables -A POSTROUTING -o eth1 --dst ! 10.0.0.0/8 -j SNAT my_ip
>

In /etc/shorewall/masq:

eth1:!10.0.0.0/8	<local net>	<my_ip>

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ teastep at shorewall.net
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key


More information about the Shorewall-users mailing list