Skip to content

Commit

Permalink
Configure tailscale exit node
Browse files Browse the repository at this point in the history
  • Loading branch information
wagdav committed Jun 1, 2024
1 parent 26394b7 commit e9c7b57
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 5 additions & 0 deletions host-nuc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,10 @@
./modules/webhook.nix
];

services.tailscale = {
useRoutingFeatures = "server";
extraUpFlags = "--advertise-exit-node";
};

system.stateVersion = "22.05";
}
4 changes: 0 additions & 4 deletions modules/vpn.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@

{
services.tailscale.enable = true;

# Strict reverse path filtering breaks Tailscale exit node use and some
# subnet routing setups.
networking.firewall.checkReversePath = "loose";
}

2 changes: 2 additions & 0 deletions x230.nix
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@

printing.enable = true;

tailscale.useRoutingFeatures = "client";

greetd = {
enable = true;
settings = {
Expand Down

0 comments on commit e9c7b57

Please sign in to comment.