/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


Hi:
   In the Masq Application list (http://www.tsmservices.com/masq) I saw
Microsoft DirectPlay rules for ipchains.So I try to transfer it to iptables
rules.But I can't do my work.Here's my rules.

iptables -t nat -A POSTROUTING -p TCP -o $EXTIF -j SNAT --to $EXTIP:1000-1095
iptables -t nat -A POSTROUTING -p UDP -o $EXTIF -j SNAT --to $EXTIP:1000-1029
iptables -t nat -A POSTROUTING -p UDP -o $EXTIF -j SNAT --to $EXTIP:1031-2210
iptables -t nat -A POSTROUTING -p UDP -o $EXTIF -j SNAT --to $EXTIP:2220-3212
iptables -t nat -A POSTROUTING -p UDP -o $EXTIF -j SNAT --to $EXTIP:3214-5000
iptables -t nat -A POSTROUTING -p UDP -o $EXTIF -j SNAT --to
$EXTIP:40000-60000

Anyone can help me ?Thx

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to