darthzejdr
2012-09-25 08:04:15 UTC
Hi,
I am testing TLS with SipX and have the following problem:
SipX server is not listening on port 5061. I have to manualy open port in
iptables for it to start working. Is there any way i can open the port from
web console? The problem is that the rule gets overwritten at some
point(either time or when i added second server to cluster) and i have to
add it again.
I've ran /etc/init.d/iptables save, and the rule stays there after reboot,
but i think sipx overwrites it when it changes iptables.
Is there any way to open tcp 5061 from web interface?
Log of all actions:
Default install from iso, set network and domain.
All tests done using Bria, 3 extensions, calls to eachother, 2 min call
length
Basic calls
Started sip registrar and sip proxy(automaticaly) on server 1
Extensions register with domain and all tested calls work
downloaded root certificate and installed it in "Trusted Root Certification
Authorities" on local computer
Changed transport to TLS, Bria won't register.
Trying to telnet to port 5060 - connects
Trying to telnet to port 5061 - doesn't connect
iptables -A INPUT -p tcp -m tcp --dport 5061 -j ACCEPT
/etc/init.d/iptables save
After setting that TLS works, and all tested calls work
added server2 in system servers
installed and added server to cluster
TLS doesn't work, rule missing from iptables(checked next day, since after
adding server to cluster stopped work)
Thx,
Ivan
I am testing TLS with SipX and have the following problem:
SipX server is not listening on port 5061. I have to manualy open port in
iptables for it to start working. Is there any way i can open the port from
web console? The problem is that the rule gets overwritten at some
point(either time or when i added second server to cluster) and i have to
add it again.
I've ran /etc/init.d/iptables save, and the rule stays there after reboot,
but i think sipx overwrites it when it changes iptables.
Is there any way to open tcp 5061 from web interface?
Log of all actions:
Default install from iso, set network and domain.
All tests done using Bria, 3 extensions, calls to eachother, 2 min call
length
Basic calls
Started sip registrar and sip proxy(automaticaly) on server 1
Extensions register with domain and all tested calls work
downloaded root certificate and installed it in "Trusted Root Certification
Authorities" on local computer
Changed transport to TLS, Bria won't register.
Trying to telnet to port 5060 - connects
Trying to telnet to port 5061 - doesn't connect
iptables -A INPUT -p tcp -m tcp --dport 5061 -j ACCEPT
/etc/init.d/iptables save
After setting that TLS works, and all tested calls work
added server2 in system servers
installed and added server to cluster
TLS doesn't work, rule missing from iptables(checked next day, since after
adding server to cluster stopped work)
Thx,
Ivan