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"; useRoutingFeatures = "both";
authKeyFile = sec."tailscale_authkey".path; authKeyFile = sec."tailscale_authkey".path;
extraSetFlags = [ 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-routes=false" # true is equilivant to useRoutingFeatures = "client" (breaks shit)
"--accept-dns=true" # explicitly allow resolved "--accept-dns=true" # explicitly allow resolved
]; ];
@@ -88,7 +88,7 @@ in {
# open firewall # open firewall
networking.firewall.allowedTCPPorts = [cfg.port 8123 21063]; networking.firewall.allowedTCPPorts = [cfg.port 8123 21063];
networking.firewall.allowedUDPPorts = [21063]; networking.firewall.allowedUDPPorts = [5353];
# add to caddy for reverse proxy # add to caddy for reverse proxy
services.caddy.virtualHosts."${cfg.url}" = { services.caddy.virtualHosts."${cfg.url}" = {
+1 -1
View File
@@ -40,7 +40,7 @@ in {
user = "gitea"; user = "gitea";
port = 7567; port = 7567;
}; };
"bebe" = { "shauna" = {
hostname = "10.10.0.1"; hostname = "10.10.0.1";
user = "root"; user = "root";
}; };
+1 -1
View File
@@ -37,7 +37,7 @@ in {
identityFile = "${home_dir}/.ssh/id_snowbelle"; identityFile = "${home_dir}/.ssh/id_snowbelle";
port = 7567; port = 7567;
}; };
"bebe" = { "shauna" = {
hostname = "10.10.0.1"; hostname = "10.10.0.1";
user = "root"; user = "root";
identityFile = "${home_dir}/.ssh/id_snowbelle"; identityFile = "${home_dir}/.ssh/id_snowbelle";
+1 -1
View File
@@ -37,7 +37,7 @@ in {
identityFile = "${home_dir}/.ssh/id_snowbelle"; identityFile = "${home_dir}/.ssh/id_snowbelle";
port = 7567; port = 7567;
}; };
"bebe" = { "shauna" = {
hostname = "10.10.0.1"; hostname = "10.10.0.1";
user = "root"; user = "root";
identityFile = "${home_dir}/.ssh/id_snowbelle"; identityFile = "${home_dir}/.ssh/id_snowbelle";
+1 -1
View File
@@ -37,7 +37,7 @@ in {
identityFile = "${home_dir}/.ssh/id_vaniville"; identityFile = "${home_dir}/.ssh/id_vaniville";
port = 7567; port = 7567;
}; };
"bebe" = { "shauna" = {
hostname = "10.10.0.1"; hostname = "10.10.0.1";
user = "root"; user = "root";
identityFile = "${home_dir}/.ssh/id_vaniville"; identityFile = "${home_dir}/.ssh/id_vaniville";