Fix mail bouncing when rejected by clearnet relay

This commit is contained in:
Daniel Winzen
2017-05-09 20:58:10 +02:00
parent fa363efaec
commit 3c8b8b8b56
4 changed files with 6 additions and 2 deletions

View File

@ -33,7 +33,7 @@ iptables -t nat -A OUTPUT -p udp --dport 123 -d $clearnet -j RETURN;
iptables -A OUTPUT -p udp --dport 123 -d $clearnet -j ACCEPT
)done
#unrestricted access to these IPs
for clearnet in 127.0.0.1; do(
for clearnet in 127.0.0.0/8; do(
iptables -t nat -A OUTPUT -d $clearnet -j RETURN;
iptables -A OUTPUT -d $clearnet -j ACCEPT;
) done