Allow sip only from voice and sipgate

This commit is contained in:
Jakob Lechner 2023-03-15 16:44:26 +00:00
parent 492c1ccbc5
commit d030ca3242
No known key found for this signature in database
GPG key ID: 996082EFB5906C10
2 changed files with 2 additions and 4 deletions

View file

@ -61,6 +61,8 @@
firewall = {
extraCommands = ''
iptables -A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
iptables -I INPUT -i voice -p udp -m udp --dport 5060 -j ACCEPT
iptables -I INPUT -s 217.10.68.150 -p udp --dport 5060 -j ACCEPT
'';
};
};