update ssh alias, add gateway to advertise for now

This commit is contained in:
2026-06-22 10:52:14 -05:00
parent b4201cfeb4
commit 279340f744
6 changed files with 6 additions and 6 deletions
@@ -23,7 +23,7 @@ in {
useRoutingFeatures = "both";
authKeyFile = sec."tailscale_authkey".path;
extraSetFlags = [
"--advertise-routes=${config.homelab.host_ip}/32" # advertise self
"--advertise-routes=${config.homelab.host_ip}/32,10.10.0.1/32" # advertise self
"--accept-routes=false" # true is equilivant to useRoutingFeatures = "client" (breaks shit)
"--accept-dns=true" # explicitly allow resolved
];
@@ -88,7 +88,7 @@ in {
# open firewall
networking.firewall.allowedTCPPorts = [cfg.port 8123 21063];
networking.firewall.allowedUDPPorts = [21063];
networking.firewall.allowedUDPPorts = [5353];
# add to caddy for reverse proxy
services.caddy.virtualHosts."${cfg.url}" = {