nixos: don't white-list port 5900 in the firewall when x11vnc is enabled

If you want x11vnc to receive TCP connections from the rest of the world,
please add

    networking.firewall.allowedTCPPorts = [ 5900 ];

to /etc/nixos/configuration.nix.

See <http://lists.science.uu.nl/pipermail/nix-dev/2013-November/011997.html>
for the discussion that lead to this.
This commit is contained in:
Peter Simons 2013-12-23 21:30:10 +01:00
parent 19a79fc71d
commit 7bb7ea52e9

View File

@ -42,8 +42,6 @@ in
Xaccess=${pkgs.writeText "Xaccess" "localhost"}
'';
networking.firewall.allowedTCPPorts = [ 5900 ];
systemd.sockets.terminal-server =
{ description = "Terminal Server Socket";
wantedBy = [ "sockets.target" ];