Lock down services to LAN
This commit is contained in:
@ -4,7 +4,10 @@
|
||||
address = "0.0.0.0";
|
||||
port = 35893;
|
||||
settings = {
|
||||
dns.base_domain = "vpn.matri.cx";
|
||||
dns = {
|
||||
base_domain = "vpn.matri.cx";
|
||||
nameservers.global = ["192.168.0.130" "1.1.1.1"];
|
||||
};
|
||||
logtail.enabled = false;
|
||||
noise.private_key_path = "/var/lib/headscale/noise_private.key";
|
||||
server_url = "https://vpn.matri.cx:443";
|
||||
@ -12,11 +15,8 @@
|
||||
};
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
extraSetFlags = [
|
||||
"--advertise-exit-node"
|
||||
];
|
||||
extraUpFlags = [
|
||||
"--advertise-tags=tag:home-server"
|
||||
"--accept-routes" "--advertise-exit-node" "--advertise-routes=192.168.0.0/24" "--login-server=https://vpn.matri.cx"
|
||||
];
|
||||
useRoutingFeatures = "both";
|
||||
};
|
||||
|
Reference in New Issue
Block a user