Skip to content
Snippets Groups Projects
Commit b8a2bbcb authored by Chris Croome's avatar Chris Croome
Browse files

Fix iptables for outgoing email

parent 894e7547
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@ COMMIT
-A INPUT -m state --state NEW -m tcp -p tcp -s 81.95.52.102 --dport 4949 -j ACCEPT
# The following rule is for mx.webarch.net
-A INPUT -m state --state NEW -m tcp -p tcp -s 81.95.52.71 --dport 25 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp -s {{ app_ip_address.stdout }} --dport 25 -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -d 127.0.0.0/8 ! -i lo -j REJECT --reject-with icmp-port-unreachable
-A INPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment