fix ipv6 block
This commit is contained in:
parent
264d64526c
commit
c1d318ba67
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
ip6tables -A OUTPUT -m owner ! --uid-owner ${user} -m tcp -p tcp --dport 25 -j REJECT --reject-with icmp6-adm-prohibited
|
ip6tables -A OUTPUT -m owner ! --uid-owner ${user} -m tcp -p tcp --dport 25 -j REJECT --reject-with icmp6-adm-prohibited
|
||||||
|
|
||||||
iptables -I OUTPUT -m tcp -p tcp --dport 25 -d 127.0.0.1 -j ACCEPT
|
iptables -I OUTPUT -m tcp -p tcp --dport 25 -d 127.0.0.1 -j ACCEPT
|
||||||
ip6tables -I OUTPUT -m tcp -p tcp --dport 25 -d 127.0.0.1 -j ACCEPT
|
ip6tables -I OUTPUT -m tcp -p tcp --dport 25 -d ::1 -j ACCEPT
|
||||||
'';
|
'';
|
||||||
|
|
||||||
services.postfix = {
|
services.postfix = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue