Hi guys,

commit 71ee40a..6bc4007 changes the default behavior of the nixos modules

  nixos/modules/services/networking/minidlna.nix
  nixos/modules/services/x11/terminal-server.nix
  nixos/modules/services/printing/cupsd.nix

so that they *don't* open up the firewall by default anymore. If you use these
modules and you want other hosts to connect to your machine, please configure
an appropriate firewall rule in your /etc/nixos/configuration.nix file. The
easiest way to do that is to add these rules:

  # CUPS
  networking.firewall.allowedUDPPorts = [ 631 ];

  # minidlna
  networking.firewall.allowedTCPPorts = [ 8200 ];
  networking.firewall.allowedUDPPorts = [ 1900 ];

  # terminal-server, x11vnc
  networking.firewall.allowedTCPPorts = [ 5900 ];

Take care,
Peter

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to