Test
This commit is contained in:
parent
d430ceee4f
commit
0113af5cfd
1 changed files with 1 additions and 2 deletions
|
@ -55,8 +55,7 @@
|
|||
|
||||
# Forward mail port 25 to sysctl.io / linode
|
||||
networking.firewall.extraCommands = ''
|
||||
iptables -A PREROUTING -t nat -i wireguard0 -p tcp --dport 25 -j DNAT --to 10.100.0.1:25
|
||||
iptables -A INPUT -p tcp -m state --state NEW --dport 25 -i wireguard0 -j ACCEPT
|
||||
iptables -t nat -A OUTPUT -p tcp --dport 25 -j DNAT --to-destination 10.100.0.1:25
|
||||
'';
|
||||
|
||||
boot.initrd.services.udev.rules = ''
|
||||
|
|
Loading…
Reference in a new issue