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

[FEATURE] - Turn up when call specific IP #205

Closed
evazzoler opened this issue May 9, 2024 · 7 comments
Closed

[FEATURE] - Turn up when call specific IP #205

evazzoler opened this issue May 9, 2024 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@evazzoler
Copy link

evazzoler commented May 9, 2024

Hi,
don't know if it is possible, but I'd like the tunnel goes up when I try to reach a certain IP or Class.
In example when I open a VoIP app and it try to connect the SIP server, or when I open Chrome and try to reach a device at home but want the rest of the connections normally goes to Internet via mobile network without triggering the VPN.
Hope is it useful and possible...

@evazzoler evazzoler added the enhancement New feature or request label May 9, 2024
@FingerlessGlov3s
Copy link

Would the app specific tunneling option not work? Just add the SIP and browser to the list? Then use the auto wifi tunnel, whitelist your Home SSID and then your golden?

@evazzoler
Copy link
Author

I don't want the tunnel up everytime l'm out of home (useless battery drain) but only when I really want to reach an IP on the other side of the tunnel.

@FingerlessGlov3s
Copy link

So you would like it to detect you want to browse to say 10.0.0.1 and then bring up the VPN?

@evazzoler
Copy link
Author

Exactly! Better if only authorized app can do that.

@FingerlessGlov3s
Copy link

Would be a cool feature indeed, but not sure Android has APIs for that kind of detection 🤔. Shall see what Zane says.

@zaneschepke
Copy link
Owner

Practically speaking, I would say there is not a way to trigger a tunnel by detecting an request to a certain IP address. I definitely don't think this is something that could be done without root.

If I understand your use case correctly, I think what would fit the use cases you described would be a combination of allowedIps and split tunneling.

When configured correctly, allowedIps should route only traffic to specific Ip addresses through the tunnel and let the rest of the traffic outside of the tunnel. For the VoIP app this could also be an app you enable for the tunnel with split tunneling.

Check out this tool for configuring this feature: https://www.procustodibus.com/blog/2021/03/wireguard-allowedips-calculator/

This could be something that would be cool to have built into the app one day.

@zaneschepke
Copy link
Owner

This issue seems stale. I'm going to mark it as closed for now as I think my comment above provides a solution to the problem.

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

No branches or pull requests

3 participants