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

Feature request: Pure VPN Port Forwarding #2532

Open
iLostAllCTRL opened this issue Oct 20, 2024 · 4 comments
Open

Feature request: Pure VPN Port Forwarding #2532

iLostAllCTRL opened this issue Oct 20, 2024 · 4 comments

Comments

@iLostAllCTRL
Copy link

What's the feature 🧐

Pure VPN allows for static port forwarding. Can it get added to the list of port-forwarding-enabled VPN providers?

Extra information and references

https://www.purevpn.com/port-forwarding

Copy link
Contributor

@qdm12 is more or less the only maintainer of this project and works on it in his free time.
Please:

@tiberio87
Copy link

I believe you can use custom provider configuration!

@iLostAllCTRL
Copy link
Author

iLostAllCTRL commented Oct 20, 2024

I tried to do custom but I might have done it wrong. This is the config I am using but something is off about it. Was able to connect yesterday but today it is having issues.

EDIT: I was able to get the connection working again. Still not sure about getting the port forwarding working.

version: '3.7'
services:
gluetun:
image: qmcgaw/gluetun:latest
container_name: gluetun
cap_add:
- NET_ADMIN
environment:
- VPN_SERVICE_PROVIDER=custom
- VPN_TYPE=openvpn
- OPENVPN_CUSTOM_CONFIG=/gluetun/ded-ovpn-tcp-ip.ovpn # Replace with the actual name of your .ovpn file
- OPENVPN_USER=purevpn0d13948483 # OpenVPN AS username here (openvpn is the default user)
- OPENVPN_PASSWORD=xxxxxxx # Password associated with the username
- TZ=US/Mountain # Timezone in standard Linux format

- VPN_PORT_FORWARDING=on

volumes:
  - /volume2/docker/qmcgaw_gluetun/ded-ovpn-tcp-ip.ovpn:/gluetun/ded-ovpn-tcp-ip.ovpn:ro # Bind the directory/filename to /gluetun/xxx.ovpn here with ro option
  - /volume2/docker/qmcgaw_gluetun:/gluetun # /data/openvpnas will be used for servers.json
ports:

- 8888:8888/tcp #HTTP proxy

  - 32400:32401/tcp #Plex
  - 32400:32401/udp #Plex

- 80:80

@tiberio87
Copy link

For non-native integrations where you have a designated forwarded port from your VPN provider, you can allow it by adding it to the environment variable FIREWALL_VPN_INPUT_PORTS.

Enter the port you opened on the purevpn website as a variable.

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