

A place to post privacy-related content and discuss privacy, censorship, surveillance, cyber security, encryption, VPN's & more, brought to you by Private Internet Access VPN.
Is PIA+Wireguard possible on OpenWRT?
OpenWRT has first-class support for Wireguard, but I can't find the necessary configs (i.e. the PIA wg IP) to set it up.
I notice there are official bash scripts for setting up WG in linux, but these aren't compatible with OpenWRT.
Does anyone have any insight here?
Sort by:
Best
Open comment sort options
Best
Top
New
Controversial
Old
Q&A
My scripts have a flag that can spit out a config suitable for other devices incl WireGuard's phone apps.
Note however that the config will get flushed from PIA's servers if it's unused for a few hours, so be prepared to reconfigure everything if you have a powercut or your router crashes or something.
I guess it should be possible to run the script directly on the router if you can install the required tools in the router's userspace…
I'm a little unclear on what you mean by "reconfigure everything". Does that just mean running the script again? I'm very interested in getting this to work on my router, but there isn't an official solution yet, so this is about as close as I've seen anybody come to making it work.
Comment deleted by user
But does that mean you got WG to work? Can you explain how? My first stumbling block is in evening finding out the IP of the PIA WG server...
Like the other person said, I’ve also been looking for this for a while. I’ve tried a number of things but still no cigar. If you figure it out, please share your solution. I’ll do the same. I’m still looking into it.
Any update?
Here's one you could try https://github.com/pia-foss/manual-connections/issues/5#issuecomment-870018725
I was able to generate config, with the help of https://github.com/hsand/pia-wg script.
My struggle is documented under the following thread :P
https://forum.openwrt.org/t/wireguard-on-dumb-ap/144011/29
Thanks for the link, this is a really promising thread. I'm planning on buying an openwrt compatible router just to try this soon, can I ask how successful you were in the end, and if it's still working today?