Centos 8
в sip.conf, в [general] ставлю bindport=13131, он принимается в sip конфиге, но по нему не получается подключиться.
Если вписать 5060, то по нему будет работать.
iptables:
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- 192.168.0.0/24 anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT udp -- anywhere anywhere udp dpt:sip
ACCEPT udp -- anywhere anywhere udp dpt:13131
ACCEPT udp -- anywhere anywhere udp dpt:sips
ACCEPT udp -- anywhere anywhere udp dpts:ndmp:dnp
ACCEPT udp -- anywhere anywhere udp dpt:iax
ACCEPT tcp -- anywhere anywhere tcp dpt:5038
ACCEPT tcp -- anywhere anywhere tcp dpt:sip
ACCEPT tcp -- anywhere anywhere tcp dpt:13131
ACCEPT tcp -- anywhere anywhere tcp dpt:sips
ACCEPT udp -- anywhere anywhere udp dpt:sip
ACCEPT udp -- anywhere anywhere udp dpt:13131
ACCEPT udp -- anywhere anywhere udp dpts:ndmp:dnp
ACCEPT udp -- anywhere anywhere udp dpt:iax
ACCEPT tcp -- anywhere anywhere tcp dpt:5038
ACCEPT icmp -- anywhere anywhere