aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2019-04-15 10:31:58 +0900
committerjaseg <git@jaseg.net>2019-04-15 10:31:58 +0900
commita2d4afc7dfe278dacc64b5177ff993267c909685 (patch)
tree1c8834667226e98d42f011cb3f5ddcda14914b01
parent07f1aacba09acc120ead9c74d476060e698614b7 (diff)
downloadinfra-a2d4afc7dfe278dacc64b5177ff993267c909685.tar.gz
infra-a2d4afc7dfe278dacc64b5177ff993267c909685.tar.bz2
infra-a2d4afc7dfe278dacc64b5177ff993267c909685.zip
deploy: Fix up iptables to allow http(s)
-rw-r--r--iptables.rules2
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