bolemo / pia_wg

OpenWrt PIA WireGuard Script
GNU General Public License v3.0
8 stars 2 forks source link

How to change server #10

Closed gitsheikhgit closed 5 months ago

gitsheikhgit commented 5 months ago

Thank you for this script, it worked as expected. If I want to change server from New York to toronto, how can I do it? Do I need to run the script again and select the server or there is any short cut?

bolemo commented 5 months ago

Hello @gitsheikhgit. Thank you for your interest and feedback.

Just run this command: pia_wg.sh configure region Then follow the instructions to pick your region, here Toronto, then run this command: pia_wg.sh restart

gitsheikhgit commented 5 months ago

Thanks

gitsheikhgit commented 5 months ago

Thanks it worked. Maybe if you can do an implementation of selecting 5-6 servers of choice when selecting servers during initial running the script and that will create 5-6 peers in the configuration. This way it will be easier to just enable or disable servers from Luci instead of running the script from cmd.