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

Want to clarify about WG persistent connection #12

Open
fakemanhk opened this issue Feb 9, 2024 · 1 comment
Open

Want to clarify about WG persistent connection #12

fakemanhk opened this issue Feb 9, 2024 · 1 comment

Comments

@fakemanhk
Copy link

From your note you mentioned that PIA servers reboot occasionally, so it means that if I am running a 24x7 connections it will drop and won't come back due to config change? I am considering to place it on the network with IoTs that really needs to have outgoing internet, but if it will reboot and connections can't come back this will be an issue.

@triffid
Copy link
Owner

triffid commented Feb 13, 2024

Yeah, the setup on PIA's end is ephemeral and will vanish if unused for several hours or if they reboot their server ("every few months" according to PIA support), leaving your end casting packets into the void to be ignored.

Best workaround I can think of is to run the script's reconnect if you detect outage or just periodically from cron or whatever - some router firmwares allow this sort of thing.

Alternatively, set up your own VPS so the remote wireguard config doesn't have to be ephemeral, they're pretty cheap these days

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