aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/darkstar/services.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/darkstar/services.nix')
-rw-r--r--hosts/darkstar/services.nix15
1 files changed, 11 insertions, 4 deletions
diff --git a/hosts/darkstar/services.nix b/hosts/darkstar/services.nix
index 97d1750..ac033c9 100644
--- a/hosts/darkstar/services.nix
+++ b/hosts/darkstar/services.nix
@@ -7,10 +7,15 @@
allowedUDPPorts = [
53 # domain
];
- interfaces.enp116s0.allowedUDPPorts = [
- 69 # xinetd/tftpd
- 123 # ntp
- ];
+ interfaces.enp116s0 = {
+ allowedTCPPorts = [
+ 80 # http
+ ];
+ allowedUDPPorts = [
+ 69 # xinetd/tftpd
+ 123 # ntp
+ ];
+ };
};
};
@@ -41,6 +46,7 @@
];
local-data = [
"\"darkstar.bitgnome.net. IN A 192.168.1.1\""
+ "\"hackerswithstyle.se. IN A 192.168.1.1\""
"\"arrakis.bitgnome.net. IN A 192.168.1.2\""
"\"caladan.bitgnome.net. IN A 192.168.1.4\""
"\"jupiter.bitgnome.net. IN A 192.168.1.11\""
@@ -65,6 +71,7 @@
];
local-zone = [
"\"bitgnome.net.\" transparent"
+ "\"hackerswithstyle.se.\" transparent"
"\"1.168.192.in-addr.arpa.\" static"
];
verbosity = 2;