Allow sip only from voice and sipgate
This commit is contained in:
parent
492c1ccbc5
commit
d030ca3242
2 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue