This commit is contained in:
iFargle 2023-12-06 09:00:15 +09:00
parent 8d831405c4
commit 8298a0b060

View file

@ -54,7 +54,7 @@
# Forward mail port 25 to sysctl.io / linode # Forward mail port 25 to sysctl.io / linode
networking.firewall.extraCommands = '' networking.firewall.extraCommands = ''
iptables -t nat -A OUTPUT -p tcp -d 192.168.1.101 --dport 1234 -j DNAT --to-destination 192.168.1.102:4321 iptables -t nat -A OUTPUT -p tcp --dport 25 -j DNAT --to-destination 10.100.0.1:25
''; '';
boot.initrd.services.udev.rules = '' boot.initrd.services.udev.rules = ''