Add config_app used port to iptables
This commit is contained in:
parent
b7d111bd2c
commit
086acd270a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue