Pix 501 NAT

May 11, 2009 0 Replies

Can someone help me translate the Linux firewal statements to that of pix



501?

iptables -t nat -A PREROUTING -p udp --dport 25000:25500 -j DNAT --to-destination 192.168.5.240 iptables -A FORWARD -i $EXTIF -o $INTIF0 -d 192.168.5.240 -p udp --dport



15000:15500 -j ACCEPT


iptables -t nat -A PREROUTING -i $EXTIF -p udp --dport 5060 -j DNAT --to-destination 192.168.5.240:5080 iptables -A FORWARD -i $EXTIF -o $INTIF0 -d 192.168.5.240 -p udp --dport



5080 -j ACCEPT iptables -t nat -A POSTROUING -s 192.168.5.240 -o $EXTIF -j MASQUERADE iptables -A FORWARD -p udp --sport 5060 -o eth0 -j ACCEPT iptables -A FORWARD -i eth3 -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -i eth0 -o eth3 -m state --state ESTABLISHED,RELATED -j ACCEPT

Any help is greatly appreciated.


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required