[OpenSIPS-Users] [OpenSIPS]: Firewall-Configuration

Markus Klaus Schäffauer markus at mkschaeffauer.de
Sun Jan 25 22:00:57 CET 2015


Hello,

now I have OpenSIPS running and two VoIP-Phones registered via my
OpenSIPS (the registration of both is OK, as I can verify in the control
panel of OpenSIPS and in the phones itself).

In the OpenSIPS-Server, I opened the incoming port UDP 5060 in IPTABLES
for incoming calls (in the moment still restricted to the dyndns of my
home-IP = $IPTABLES -A INPUT -p udp -s xxx.xxx.xxx.xxx --dport 5060 -m
state --state NEW,ESTABLISHED,RELATED -j ACCEPT) and permited the
outgoing port UDP 5060 in IPTABLES for outgoing calls to any IP (=
IPTABLES -A OUTPUT -p udp --dport 5060 -m state --state NEW -j ACCEPT).

In my Home-Router, I opened the port UDP 5060 in IPTABLES for incoming
calls for the two VoIP-Phones (i.e. their respective IP). And the
outgoing requests are permited anyway.

But I can not make/receive any call - I try to call from one VoIP-Phone
to another (the traffic must leave my Home Network, enter the dedicated
OpenSIP-Server, leave it and enter my Home Network). The calling
VoIP-Phone is waiting some seconds and then indicating in it's display
the message "Network failure".

Is there something wrong in my concept?
Or can you give me any hints why the connections might fail?

Thank you very much!

Regards,
Markus






More information about the Users mailing list