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

After selecting an exit node, it says selected but offline #22

Open
kartikbillimoria opened this issue May 5, 2024 · 9 comments
Open

Comments

@kartikbillimoria
Copy link

After selecting an exit node, it says selected but offline even though exit node is online and works fine from the app version.

I am trying to get certain apps to route traffic through this tailscale's exit node.

Is this possible?

@anasfanani
Copy link
Owner

You may check this #17 (comment)

Are you want use exit-node from another machine in tailnet ?

@kartikbillimoria
Copy link
Author

Yes I was trying to connect to an exit-node. While it does connect it says it is offline, the exit-node I connect to even though it is not offline.

@anasfanani
Copy link
Owner

Could you send me some logs or screenshoot about "says it is offline" ?

I test exit-node and connection success, but again this module tailscale is run in userspace mode, all traffict to tailnet must going to local socks5 on port 1099, you may check the connection using curl with proxy socks5

curl -v <tailnet-ip> -x 127.0.0.1:1099

While I'm test exit node on android, with executing tailscale up --exit-node=<exit-node-ip> then check the current connection is working with curl -v ipinfo.io -x 127.0.0.1:1099, the response show my IP is from exit-node-ip.

If you want all connection in android tunneled to local socks 127.0.0.1:1099, please modify https://github.com/anasfanani/Magisk-Tailscaled/blob/main/tailscale/scripts/tailscaled.tun.up and https://github.com/anasfanani/Magisk-Tailscaled/blob/main/tailscale/scripts/tailscaled.tun.down

I'm not pro at iptables route, I'm sorry :'( that is my best configuration for redirect all connection to 100.64.0.0/10 must going to the interface named as tailscale0.

tailscale0 is interface from hev-socks5-tunnel , you can look at here https://github.com/anasfanani/Magisk-Tailscaled/blob/main/tailscale/scripts/tailscaled.tun.config.yaml

I spent many days for configuring iptables but can only achieve that, willing other people giving PR about iptables.

@anasfanani
Copy link
Owner

New build should fix, I dont hear any update from you, so I will close this as unplanned.

@anasfanani anasfanani closed this as not planned Won't fix, can't repro, duplicate, stale Jun 6, 2024
@kartikbillimoria
Copy link
Author

Hi, so sorry, I haven't looked at it since I posted it.

I will try in new version and let you know.

Thanks again for your help.

@anasfanani
Copy link
Owner

No problem bro, Let me reopen this issue and please give feedback about new release.

@anasfanani anasfanani reopened this Jun 7, 2024
@kartikbillimoria
Copy link
Author

Just updated, I'll give it a go.

@kartikbillimoria
Copy link
Author

Is there an easier way to reach you? Maybe telegram?

@anasfanani
Copy link
Owner

Is there an easier way to reach you? Maybe telegram?

Yes, you can click on link in description

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