mess-mate wrote:
Hi,

can anybody help me  translate this iptable to a shorewall rule :

iptables -t NAT -A POSTROUTING -s GUEST_IP -j SNAT --to-source HOST_IP

Host ip = xx.xx.xx.xx,  guest ip subnet is yy.yy.yy.yy/255.255.255.0
*

What problem are you trying to solve? I would be surprised if you don't already have an entry in /etc/shorewall/masq that does what you want.

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

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to