[Asterisk-Users] Firefly on Linux

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Thu Nov 25 08:00:58 MST 2004


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

??

-A.



More information about the asterisk-users mailing list