qdm12 / gluetun-wiki

Home to the Markdown Wiki page for Gluetun
MIT License
269 stars 31 forks source link

Adding pia wireguard to wiki #35

Open Kieros opened 5 months ago

Kieros commented 5 months ago

Not sure where to post this. But I found a rather easy way to setup PIA wireguard with help of the github below by kilegrantlucas. Via the link below I was able to easely pull off a PIA-wg.conf file. https://pkg.go.dev/github.com/kylegrantlucas/pia-wg-config#section-readme

Perhaps there can be a writeup for PIA wireguard in the wiki for those interested?

It can either be done by entering the enviromental variables from the conf fill required by following the link above. Or... you can also bind mount this wireguard configuration file (ini format) to /gluetun/wireguard/wg0.conf.

Srijal97 commented 1 month ago

Thank you! Is it possible to setup port forwarding with this?

xtinct101 commented 1 week ago

seconded. is there a way to add port forwarding with this?

Kieros commented 1 week ago

Haven't tried it but perhaps with PIA_PF=true

xtinct101 commented 1 week ago

doesnt seem to do anything...

Kieros commented 1 week ago

Remove the PIA_PF=TRUE

You should look in the link below and add the environment variables.

https://github.com/qdm12/gluetun-wiki/blob/main/setup/options/port-forwarding.md

xtinct101 commented 1 week ago

yeah I've tried those. when using VPN_PORT_FORWARDING=on, gluetun states that it cannot be used with "custom" service provider.