Andrew Kohlsmith wrote:
On November 23, 2004 05:28 pm, Adam Hart wrote:

iptables -t nat -I PREROUTING -p udp -d EXTIP --dport 4569 -m state
--state NEW -j DNAT --to-destination ASTIP

iptables -t nat -I POSTROUTING -p udp -d ASTIP --dport 4569 -j MASQUERADE


Any reason why you need both these statements instead of just a single

iptables -t nat -I PREROUTING -p udp -d EXTIP --dport 4569 -j DNAT --to-destination ASTIP


oops, no need - I was thinking one interface, so the packets would come back through it.
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to