diff options
author | jaseg <code@jaseg.net> | 2019-04-15 10:31:58 +0900 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2019-04-15 10:31:58 +0900 |
commit | a2d4afc7dfe278dacc64b5177ff993267c909685 (patch) | |
tree | 1c8834667226e98d42f011cb3f5ddcda14914b01 | |
parent | 07f1aacba09acc120ead9c74d476060e698614b7 (diff) | |
download | infra-a2d4afc7dfe278dacc64b5177ff993267c909685.tar.gz infra-a2d4afc7dfe278dacc64b5177ff993267c909685.tar.bz2 infra-a2d4afc7dfe278dacc64b5177ff993267c909685.zip |
deploy: Fix up iptables to allow http(s)
-rw-r--r-- | iptables.rules | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iptables.rules b/iptables.rules index 0f6f366..db68eb5 100644 --- a/iptables.rules +++ b/iptables.rules @@ -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 |