deploy: Fix up iptables to allow http(s)
This commit is contained in:
parent
07f1aacba0
commit
a2d4afc7df
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ COMMIT
|
|||
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
|
||||
-A INPUT -p tcp -m state --state NEW -m tcp --dport 2342 -j ACCEPT
|
||||
-A INPUT -p tcp -m state --state NEW -m tcp --dport 23 -j ACCEPT
|
||||
-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
|
||||
-A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT
|
||||
-A INPUT -j REJECT --reject-with icmp-host-prohibited
|
||||
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
|
||||
COMMIT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue