This post is not exhaustive. These are the minimum security measures.
- Block all access to port 5060 and 5080
- /sbin/iptables -A INPUT -p udp –destination-port 5080 -j DROP
- /sbin/iptables -A INPUT -p udp –destination-port 5080 -j DROP
- Allow only specific IPs to connect
- /sbin/iptables -I INPUT -p udp -s {IP} –destination-port 5060 -j ACCEPT
- /sbin/iptables -I INPUT -p udp -s {IP} –destination-port 5080 -j ACCEPT