File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -247,12 +247,16 @@ iptables -P INPUT DROP
247247iptables -P FORWARD DROP
248248iptables -P OUTPUT ACCEPT
249249iptables -A INPUT -p udp -m udp --dport 5060 -j ACCEPT
250- iptables -A INPUT -p udp -m udp --dport 10000:40000 -j ACCEPT
250+ iptables -A INPUT -p udp -m udp --dport 10000:50000 -j ACCEPT
251251iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
252252iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
253253iptables -A INPUT -p tcp -m tcp --dport 19639 -j ACCEPT
254254iptables -I INPUT -p tcp -s $ipMbilling --dport 3306 -j ACCEPT
255255
256+ if [[ ${ipMbilling} != ${localIP} ]]; then
257+ iptables -I INPUT -p tcp -s $localIP --dport 3306 -j ACCEPT
258+ fi
259+
256260
257261echo iptables-persistent iptables-persistent/autosave_v4 boolean true | debconf-set-selections
258262echo iptables-persistent iptables-persistent/autosave_v6 boolean true | debconf-set-selections
You can’t perform that action at this time.
0 commit comments