home · contact · privacy
WIP.
[config] / all_new_2018 / linkable_etc_files / server / etc / iptables / rules.v4
index f56878949562613bf3bdbadfb618d851c26a5481..faf35c17889b9e4de54a2c1f0a60fc391737f419 100644 (file)
@@ -6,6 +6,9 @@
 -A INPUT -p icmp -j ACCEPT
 -A INPUT -p tcp --dport 22 -j ACCEPT
 -A INPUT -p tcp --dport 443 -j ACCEPT
--A INPUT -p tcp --dport 80 -j ACCEPT
+-A INPUT -p tcp --dport 25 -j ACCEPT
+-A INPUT -p tcp --dport 465 -j ACCEPT
+-A INPUT -p tcp --dport 993 -j ACCEPT
 -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-COMMIT
\ No newline at end of file
+COMMIT
+# iptables-restore seems to ignore COMMIT if no newline follows it
\ No newline at end of file