diff options
author | tv <tv@krebsco.de> | 2017-08-24 17:39:53 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-08-24 17:39:53 +0200 |
commit | fd69096a27575b9d4d87a10af1492b273dad167c (patch) | |
tree | aa3e7dc121d3188a16a37a6751ec774abcc0df81 /makefu/1systems/x/config.nix | |
parent | b9a4e834c06bc32fa38389e13c0ec42467c0fc46 (diff) | |
parent | fd6b42355907de5313ea3576e5d1bfa549433099 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu/1systems/x/config.nix')
-rw-r--r-- | makefu/1systems/x/config.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/makefu/1systems/x/config.nix b/makefu/1systems/x/config.nix index 368655575..8e8c8a736 100644 --- a/makefu/1systems/x/config.nix +++ b/makefu/1systems/x/config.nix @@ -42,6 +42,14 @@ with import <stockholm/lib>; <stockholm/makefu/2configs/virtualisation/libvirt.nix> <stockholm/makefu/2configs/virtualisation/docker.nix> <stockholm/makefu/2configs/virtualisation/virtualbox.nix> + { + networking.firewall.allowedTCPPorts = [ 8080 ]; + networking.nat = { + enable = true; + externalInterface = "wlp3s0"; + internalInterfaces = [ "vboxnet0" ]; + }; + } # Services <stockholm/makefu/2configs/git/brain-retiolum.nix> @@ -81,6 +89,7 @@ with import <stockholm/lib>; networking.firewall.enable = true; networking.firewall.allowedTCPPorts = [ 80 24800 26061 8000 3000 ]; networking.firewall.allowedUDPPorts = [ 665 26061 ]; + networking.firewall.trustedInterfaces = [ "vboxnet0" ]; krebs.build.host = config.krebs.hosts.x; |