Add config_app used port to iptables

This commit is contained in:
Huang Xin 2022-06-24 07:36:09 -07:00
parent b7d111bd2c
commit 086acd270a
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ COMMIT
:OUTPUT ACCEPT [0:0] :OUTPUT ACCEPT [0:0]
-A INPUT -i lo -j ACCEPT -A INPUT -i lo -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m tcp --dport 2017 -j ACCEPT
-A INPUT -p udp -m udp --dport 2345 -j ACCEPT
-A INPUT -p udp -m udp --dport 22655 -j ACCEPT
-A OUTPUT -j ACCEPT -A OUTPUT -j ACCEPT
COMMIT COMMIT
# Completed on Tue Jul 12 01:22:18 2022 # Completed on Tue Jul 12 01:22:18 2022