feat(vpn): improve tailscale config
This commit is contained in:
parent
bdbb43b09d
commit
6ca1656297
3 changed files with 19 additions and 5 deletions
|
@ -40,6 +40,8 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.tailscale.extraUpFlags = [ "--advertise-routes=192.168.1.0/24" ];
|
||||
|
||||
networking.firewall.allowedUDPPorts = [
|
||||
24727 # AusweisApp2
|
||||
];
|
||||
|
|
|
@ -113,6 +113,12 @@ in {
|
|||
inherit hostKeys;
|
||||
};
|
||||
|
||||
services.tailscale.extraUpFlags = [
|
||||
"--advertise-routes=192.168.1.0/24"
|
||||
"--advertise-tags=tag:felschr-com"
|
||||
"--advertise-connector"
|
||||
];
|
||||
|
||||
# ssh root@hostname "echo "$(read -s pass; echo \'"$pass"\')" > /crypt-ramfs/passphrase"
|
||||
boot.initrd.availableKernelModules = [ "igb" ];
|
||||
boot.initrd.network = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue