diff options
author | Peter Simons <simons@cryp.to> | 2013-12-23 21:30:10 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2013-12-23 21:30:10 +0100 |
commit | 7bb7ea52e91fac2555dca9ccc1d99527da9fabb2 (patch) | |
tree | 2e9666283e409b7d2bc568ec849e85945e9e2fc5 /nixos/modules/services/x11/terminal-server.nix | |
parent | 19a79fc71dae59026738404b4f04ff273337b52d (diff) | |
download | nixlib-7bb7ea52e91fac2555dca9ccc1d99527da9fabb2.tar nixlib-7bb7ea52e91fac2555dca9ccc1d99527da9fabb2.tar.gz nixlib-7bb7ea52e91fac2555dca9ccc1d99527da9fabb2.tar.bz2 nixlib-7bb7ea52e91fac2555dca9ccc1d99527da9fabb2.tar.lz nixlib-7bb7ea52e91fac2555dca9ccc1d99527da9fabb2.tar.xz nixlib-7bb7ea52e91fac2555dca9ccc1d99527da9fabb2.tar.zst nixlib-7bb7ea52e91fac2555dca9ccc1d99527da9fabb2.zip |
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.
Diffstat (limited to 'nixos/modules/services/x11/terminal-server.nix')
-rw-r--r-- | nixos/modules/services/x11/terminal-server.nix | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/services/x11/terminal-server.nix b/nixos/modules/services/x11/terminal-server.nix index 72ecb8fe2fd7..bf9c3435503d 100644 --- a/nixos/modules/services/x11/terminal-server.nix +++ b/nixos/modules/services/x11/terminal-server.nix @@ -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" ]; |