[Asterisk-Users] Firefly on Linux
Adam Hart
adam at teragen.com.au
Thu Nov 25 15:24:50 MST 2004
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.
More information about the asterisk-users
mailing list