Removef mail stuff
All checks were successful
ssh-test / ssh-test (push) Successful in 21s

This commit is contained in:
iFargle 2023-12-21 14:09:19 +09:00
parent a70e9b09e3
commit 8f1f0dcb3e

View file

@ -6,12 +6,12 @@
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
80 # HTTP 80 # HTTP
443 # HTTPS 443 # HTTPS
25 # SMTP (explicit TLS => STARTTLS) # 25 # SMTP (explicit TLS => STARTTLS)
465 # ESMTP (implicit TLS) # 465 # ESMTP (implicit TLS)
587 # ESMTP (explicit TLS => STARTTLS) # 587 # ESMTP (explicit TLS => STARTTLS)
143 # IMAP4 (explicit TLS => STARTTLS) # 143 # IMAP4 (explicit TLS => STARTTLS)
993 # IMAP4 (implicit TLS) # 993 # IMAP4 (implicit TLS)
4190 # Sieve support # 4190 # Sieve support
42420 # Vintage Story 42420 # Vintage Story
25565 # Minecraft 25565 # Minecraft
1443 # Headscale DERP 1443 # Headscale DERP
@ -35,29 +35,29 @@
iptables -t nat -A PREROUTING -p tcp --dport 443 -j DNAT --to-destination 10.100.0.2 iptables -t nat -A PREROUTING -p tcp --dport 443 -j DNAT --to-destination 10.100.0.2
iptables -t nat -A POSTROUTING -p tcp --dport 443 -j MASQUERADE iptables -t nat -A POSTROUTING -p tcp --dport 443 -j MASQUERADE
# PORT 25 # # PORT 25
iptables -t nat -A PREROUTING -p tcp --dport 25 -j DNAT --to-destination 10.100.0.2 # iptables -t nat -A PREROUTING -p tcp --dport 25 -j DNAT --to-destination 10.100.0.2
iptables -t nat -A POSTROUTING -p tcp --dport 25 -j MASQUERADE # iptables -t nat -A POSTROUTING -p tcp --dport 25 -j MASQUERADE
#
# PORT 465 # # PORT 465
iptables -t nat -A PREROUTING -p tcp --dport 465 -j DNAT --to-destination 10.100.0.2 # iptables -t nat -A PREROUTING -p tcp --dport 465 -j DNAT --to-destination 10.100.0.2
iptables -t nat -A POSTROUTING -p tcp --dport 465 -j MASQUERADE # iptables -t nat -A POSTROUTING -p tcp --dport 465 -j MASQUERADE
#
# PORT 587 # # PORT 587
iptables -t nat -A PREROUTING -p tcp --dport 587 -j DNAT --to-destination 10.100.0.2 # iptables -t nat -A PREROUTING -p tcp --dport 587 -j DNAT --to-destination 10.100.0.2
iptables -t nat -A POSTROUTING -p tcp --dport 587 -j MASQUERADE # iptables -t nat -A POSTROUTING -p tcp --dport 587 -j MASQUERADE
#
# PORT 143 # # PORT 143
iptables -t nat -A PREROUTING -p tcp --dport 143 -j DNAT --to-destination 10.100.0.2 # iptables -t nat -A PREROUTING -p tcp --dport 143 -j DNAT --to-destination 10.100.0.2
iptables -t nat -A POSTROUTING -p tcp --dport 143 -j MASQUERADE # iptables -t nat -A POSTROUTING -p tcp --dport 143 -j MASQUERADE
#
# PORT 993 # # PORT 993
iptables -t nat -A PREROUTING -p tcp --dport 993 -j DNAT --to-destination 10.100.0.2 # iptables -t nat -A PREROUTING -p tcp --dport 993 -j DNAT --to-destination 10.100.0.2
iptables -t nat -A POSTROUTING -p tcp --dport 993 -j MASQUERADE # iptables -t nat -A POSTROUTING -p tcp --dport 993 -j MASQUERADE
#
# PORT 4190 # # PORT 4190
iptables -t nat -A PREROUTING -p tcp --dport 4190 -j DNAT --to-destination 10.100.0.2 # iptables -t nat -A PREROUTING -p tcp --dport 4190 -j DNAT --to-destination 10.100.0.2
iptables -t nat -A POSTROUTING -p tcp --dport 4190 -j MASQUERADE # iptables -t nat -A POSTROUTING -p tcp --dport 4190 -j MASQUERADE
# PORT 42420 # PORT 42420
iptables -t nat -A PREROUTING -p tcp --dport 42420 -j DNAT --to-destination 10.100.0.2 iptables -t nat -A PREROUTING -p tcp --dport 42420 -j DNAT --to-destination 10.100.0.2