forked from colin/nix-files
config/net: re-enable the firewall now that SMTP is operational
This commit is contained in:
parent
b67882f32d
commit
55b043c80d
@ -3,11 +3,19 @@
|
|||||||
{
|
{
|
||||||
networking.domain = "uninsane.org";
|
networking.domain = "uninsane.org";
|
||||||
|
|
||||||
networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
# networking.firewall.enable = true;
|
networking.firewall.enable = true;
|
||||||
# networking.firewall.allowedTCPPorts = [ 25 80 143 443 993 ];
|
networking.firewall.allowedTCPPorts = [
|
||||||
# # DLNA ports: https://jellyfin.org/docs/general/networking/index.html
|
25 # SMTP
|
||||||
# networking.firewall.allowedUDPPorts = [ 1900 7359 ];
|
80 # HTTP
|
||||||
|
143 # IMAP
|
||||||
|
443 # HTTPS
|
||||||
|
465 # SMTPS (maybe not required?)
|
||||||
|
587 # SMTPS/submission (maybe not required?)
|
||||||
|
993 # IMAPS
|
||||||
|
];
|
||||||
|
# DLNA ports: https://jellyfin.org/docs/general/networking/index.html
|
||||||
|
networking.firewall.allowedUDPPorts = [ 1900 7359 ];
|
||||||
|
|
||||||
# we need to use externally-visible nameservers in order for VPNs to be able to resolve hosts.
|
# we need to use externally-visible nameservers in order for VPNs to be able to resolve hosts.
|
||||||
networking.nameservers = [
|
networking.nameservers = [
|
||||||
|
Loading…
Reference in New Issue
Block a user