fix(vpn): fix tailscale config
This commit is contained in:
parent
e592a58e5a
commit
dba8a2064b
|
@ -15,10 +15,14 @@ in {
|
||||||
extraUpFlags = [
|
extraUpFlags = [
|
||||||
"--reset"
|
"--reset"
|
||||||
"--accept-routes"
|
"--accept-routes"
|
||||||
|
"--exit-node-allow-lan-access"
|
||||||
"--exit-node=de-ber-wg-004.mullvad.ts.net"
|
"--exit-node=de-ber-wg-004.mullvad.ts.net"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.tailscaled.serviceConfig.Environment =
|
||||||
|
[ "TS_DEBUG_FIREWALL_MODE=auto" ];
|
||||||
|
|
||||||
# call taiscale up without --auth-key
|
# call taiscale up without --auth-key
|
||||||
systemd.services.tailscaled-autoconnect.script = ''
|
systemd.services.tailscaled-autoconnect.script = ''
|
||||||
status=$(${config.systemd.package}/bin/systemctl show -P StatusText tailscaled.service)
|
status=$(${config.systemd.package}/bin/systemctl show -P StatusText tailscaled.service)
|
||||||
|
|
Loading…
Reference in a new issue