re-add mailserver ports
This commit is contained in:
parent
cfca7a8987
commit
4e985ca70a
2 changed files with 24 additions and 0 deletions
|
@ -13,5 +13,11 @@
|
|||
5222 # Jitsi
|
||||
5347 # Jitsi
|
||||
5280 # Jitsi
|
||||
25 # Mailserver
|
||||
143 # Mailserver
|
||||
465 # Mailserver
|
||||
587 # Mailserver
|
||||
993 # Mailserver
|
||||
4190 # Mailserver
|
||||
];
|
||||
}
|
||||
|
|
|
@ -7,6 +7,12 @@
|
|||
42420 # Vintage Story
|
||||
25565 # Minecraft
|
||||
1443 # Headscale DERP (tcp)
|
||||
25 # Mailserver
|
||||
143 # Mailserver
|
||||
465 # Mailserver
|
||||
587 # Mailserver
|
||||
993 # Mailserver
|
||||
4190 # Mailserver
|
||||
];
|
||||
allowedUDPPorts = [
|
||||
3478 # Headscale DERP (udp)
|
||||
|
@ -27,6 +33,12 @@
|
|||
iifname "enp0s4" tcp dport 1443 dnat to 10.100.0.2:1443; # Headscale DERP (tcp)
|
||||
iifname "enp0s4" udp dport 3478 dnat to 10.100.0.2:3478; # Headscale DERP (udp)
|
||||
iifname "enp0s4" udp dport 10000 dnat to 10.100.0.2:10000; # Headscale DERP (udp)
|
||||
iifname "enp0s4" tcp dport 25 dnat to 10.100.0.2:25; # Mailserver
|
||||
iifname "enp0s4" tcp dport 143 dnat to 10.100.0.2:143; # Mailserver
|
||||
iifname "enp0s4" tcp dport 465 dnat to 10.100.0.2:465; # Mailserver
|
||||
iifname "enp0s4" tcp dport 587 dnat to 10.100.0.2:587; # Mailserver
|
||||
iifname "enp0s4" tcp dport 993 dnat to 10.100.0.2:993; # Mailserver
|
||||
iifname "enp0s4" tcp dport 4190 dnat to 10.100.0.2:419; # Mailserver
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
@ -44,6 +56,12 @@
|
|||
{ sourcePort = 1443; proto = "tcp"; destination = "10.100.0.2:1443"; } # Headscale DERP (tcp)
|
||||
{ sourcePort = 3478; proto = "udp"; destination = "10.100.0.2:3478"; } # Headscale DERP (udp)
|
||||
{ sourcePort = 10000; proto = "udp"; destination = "10.100.0.2:10000"; } # Headscale DERP (udp)
|
||||
{ sourcePort = 25; proto = "tcp"; destination = "10.100.0.2:80"; } # Mailserver
|
||||
{ sourcePort = 143; proto = "tcp"; destination = "10.100.0.2:80"; } # Mailserver
|
||||
{ sourcePort = 465; proto = "tcp"; destination = "10.100.0.2:80"; } # Mailserver
|
||||
{ sourcePort = 587; proto = "tcp"; destination = "10.100.0.2:80"; } # Mailserver
|
||||
{ sourcePort = 993; proto = "tcp"; destination = "10.100.0.2:80"; } # Mailserver
|
||||
{ sourcePort = 4190; proto = "tcp"; destination = "10.100.0.2:80"; } # Mailserver
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue