-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't unset exit-node after setting it. #9
Comments
I'm adding more info on that :
The only way to reset exit-node is to run |
I did in fact use "tailscale up --exit-node=", but there was a bug that prevented it from being used properly. But thanks for the detailed comments! Update to the latest version to have the changes committed :) |
@maxgallup it works ! I didn't test it right now but since you used a --reset arg, would it conflict when disabling exit node, it'll also disable accept routes option ? |
@krptg0 You are exactly correct. I plan on finding a solution that doesn't use --reset, however this will require more digging around in the Tailscale docs, since at the moment I can't find a way to see if --accept-routes (for example) is turned on through the command line. |
Understood. |
It seems like you can use localapi - if you look in source code, you can find /localapi/v0/prefs curl --unix-socket /run/tailscale/tailscaled.sock --header 'Host: ' http://localhost/localapi/v0/prefs Output: {
"ControlURL": "https://controlplane.tailscale.com",
"RouteAll": false,
"AllowSingleHosts": true,
"ExitNodeID": "",
"ExitNodeIP": "",
"ExitNodeAllowLANAccess": false,
"CorpDNS": true,
"RunSSH": false,
"WantRunning": true,
"LoggedOut": false,
"ShieldsUp": false,
"AdvertiseTags": null,
"Hostname": "",
"NotepadURLs": false,
"AdvertiseRoutes": null,
"NoSNAT": false,
"NetfilterMode": 2,
"OperatorUser": "user name",
"Config": {
"PrivateMachineKey": "privkey:a lot of numbers",
"PrivateNodeKey": "privkey:a lot of numbers",
"OldPrivateNodeKey": "privkey:a lot of numbers",
"Provider": "some provider",
"LoginName": "email",
"UserProfile": {
"ID": "some number",
"LoginName": "email",
"DisplayName": "user name",
"ProfilePicURL": "url",
"Roles": []
},
"NetworkLockKey": "nlpriv:a lot of numbers",
"NodeID": "some node id"
}
}
(we must set host to empty string, else you will get |
Hi,
The extension allows me to select an exit node and proceeds to connect to it upon clicking, but when I want to get back to normal behavior, it asks for my password, but does nothing. Clicking on the tray icon still shows my exit node selected (and working).
The only logs i could find are in syslog :
Thank you :)
The text was updated successfully, but these errors were encountered: