X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-logo.png?a=blobdiff_plain;f=all_new_2018%2Flinkable_etc_files%2Fserver%2Fetc%2Fiptables%2Frules.v4;h=faf35c17889b9e4de54a2c1f0a60fc391737f419;hb=51ebb6a3ca46a94384fd949cc1dae483095ab76a;hp=f56878949562613bf3bdbadfb618d851c26a5481;hpb=d57ddacf1935302793b7e11f5ab1ea8fbda51a09;p=config diff --git a/all_new_2018/linkable_etc_files/server/etc/iptables/rules.v4 b/all_new_2018/linkable_etc_files/server/etc/iptables/rules.v4 index f568789..faf35c1 100644 --- a/all_new_2018/linkable_etc_files/server/etc/iptables/rules.v4 +++ b/all_new_2018/linkable_etc_files/server/etc/iptables/rules.v4 @@ -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