----- Original Message -----
Sent: Saturday, March 12, 2005 12:41
AM
Subject: RE: [Asterisk-Users] Asterisk,
IAX2 and iptables
Hello Androtech,
The issue you are having is by design. >From a
firewall stand point, you would never want packets coming in from the external
unsecured to terminate at the internal nic IP. That is
counter-intuitive. You might FORWARD that traffic somewhere
internal but you would not move it to the internal NIC.
If Asterisk is listening on your internal NIC because you
have set an explicit IP in the configs, then change that reference to 0.0.0.0
so Asterisk will listen on all available IPs.
Then Open the sip port on your external IP.
Restart and Asterisk will be listening both ways and the external IP should
now be accessible via the correct port.
Regards,
Wiley
Does someone experienced these kind of
configuration:
linux box connected to internet by USB modem. It
runs iptables for firewall. Iptables is set to masquerade (NAT) all the other
PCs of the LAN. In the same PC Asterisk is running.
PROBLEM: when I try to register my software phone
to Asterisk and I'm out of my LAN, I cannot do it. The problem seems to
be related to the firewall that does not allow incoming packets for the IAX2
protocol
but I didn't get any good result.
iptables -A INPUT -p udp -m udp --dport 4569 -j
ACCEPT
Any idea?
Regards,
_______________________________________________
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