Skip to content
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

Using tailscale VPN within UserLand Ubuntu terminal session #1923

Open
zradai opened this issue Mar 2, 2024 · 2 comments
Open

Using tailscale VPN within UserLand Ubuntu terminal session #1923

zradai opened this issue Mar 2, 2024 · 2 comments

Comments

@zradai
Copy link

zradai commented Mar 2, 2024

Heyo,

I'm using v23.09.13 within Android 13 (TKQ1.221114.001) for a while now, and so far I really like it. Recently I tried to install and set up tailscale VPN within a terminal session of Ubuntu (22.04.4 aarch64), which I'd like to use to access my other devices within my tailscale network. For the installation, I used the one-liner provided by tailscale (https://tailscale.com/download):

curl -fsSL https://tailscale.com/install.sh | sh

which seemingly worked fine. Next, however, when I try to get it up and running with the following command:

sudo tailscale up

I get the error message: "failed to connect to local tailscaled; it doesn't appear to be running (sudo systemctl start tailscaled ?)". Based on what information I could gather (e.g. see https://tailscale.com/kb/1130/lxc-unprivileged), this is likely due to that tailscale needs root privileges to access things within /dev, but UserLand by default does not povide access even with sudo.

There is a suggested work-around (https://tailscale.com/kb/1112/userspace-networking) setting up a proxy in a way that it's not supposed to rely directly on the device drivers (/dev/tun, /dev/net/tun), and the suggested command for that is:

tailscaled --tun=userspace-networking --socks5-server=localhost:1055 & tailscale up

but it doesn't work either, giving the following error: "netmon.New: route ip+net: netlinkrib: permission denied"

Is there any way to resolve these permission issues, or to configure UserLand either to improve on the user's privileges, and/or a work-around for tailscale?

Notably, both cisco VPN and OpenVPN work fine from the same within-UserLand linux shell.

Cheers

@Yasin1366
Copy link

Hello, where can we copy the codes from?

@Yasin1366
Copy link

I can't find cods

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants