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

Use external URL when vpn active #4780

Open
I-hate-2FA opened this issue Nov 1, 2024 · 3 comments
Open

Use external URL when vpn active #4780

I-hate-2FA opened this issue Nov 1, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@I-hate-2FA
Copy link

Is your feature request related to a problem? Please describe.
When vpn is on, internal url is obviously not reachable, external URL should be used

Describe the solution you'd like
Detect if vpn is on, even if network SSID match one in database, use external URL anyways

Describe alternatives you've considered, if any
Wait 60 second until it time out and refresh external url

Additional context

@I-hate-2FA I-hate-2FA added the enhancement New feature or request label Nov 1, 2024
@pixeye33
Copy link

"When vpn is on, internal url is obviously not reachable"

The original goal of a VPN is to access a private network.

The default behaviour should not change, but a checkbox optionally changing the behaviour could be implemented.

@I-hate-2FA
Copy link
Author

never the less, vpn state is more important then wifi, to use external or internal url should be tggleable, but wifi state should always be ignored

@decimoseptimo
Copy link

decimoseptimo commented Dec 29, 2024

I have a wireguard server on a 3rd party VPS. When connected to it from a windows client, It can access the HA instance on the LAN just fine, I think it's because windows bypasses local traffic from the wireguard netwok interface. But on an android client, HA was unreachable.

At first I port forwarded the local-ip:8123 to the public-ip:8123 at the VPN level. But ultimately it makes more sense to bypass LAN traffic entirely from wireguard with the allow disallow options.

Actually the android wireguard app has an option for this: select your vpn connection, edit, 'exclude private IPs' which will automatically handle that for you.

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