vopono
vopono copied to clipboard
ProtonVPN Wireguard and OpenVPN Portforwarding Does Not Work
I'm using the vopono-git
AUR package, with a ProtonVPN Pro account.
Version is 0.10.8
.
To replicate WireGuard
- Go to https://account.proton.me > Wireguard
- Tick Linux, NAT-PMP (Port Forwarding), VPN Accelerator
- Download any Standard Server Config with P2P support
- Run
vopono -v exec --provider custom --custom wg-XX-XX.conf --protocol wireguard --port-forwarding qbittorrent
- Result:
Error: Port forwarding not supported for the selected provider
To replicate OpenVPN
- Follow instructions in User Guide to sync with ProtonVPN Server
- https://account.proton.me > OpenVPN
- Tick Linux, UDP
- Download any Standard Server Config with P2P support
- Run
vopono -v exec --provider ProtonVPN --custom XX-XX.protonvpn.udp.ovpn --port-forwarding qbitorrent
- Result: Hangs on
ip netns exec vo_c_HTCzRwv openvpn --config /home/user/Documents/XX-XX.protonvpn.udp.ovpn --machine-readable-output --log /home/user/.config/vopono/logs/vo_c_HTCzRwv_openvpn.log --connect-retry-max 1 --pull-filter ignore block-outside-dns
.Ctrl + C
does not cancel the operation.
Note
This is a regression, rolling back to 0.10.7
makes ProtonVPN port-forwarding work as expected.
Thanks, could you post the OpenVPN log please? I.e. in the above try to cat /home/user/.config/vopono/logs/vo_c_HTCzRwv_openvpn.log
The first one is a regression from #245 but now we have multiple providers with different port forwarding conventions we'll need a way to specify which one to use when using a custom Wireguard config.
I ran vopono -v exec --provider ProtonVPN --custom XX-XX.protonvpn.udp.ovpn --port-forwarding qbitorrent
, but nothing appears in the logs during execution and after killing the process. with pkill vopono
.
Wireguard part should be fixed on master now, I'll try to check OpenVPN tomorrow!
I've checked master and I can confirm protonvpn port forwarding with wireguard works :+1:
For OpenVPN the issue is you need to remove the DNS update scripts from their generated config:
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf
Remove those two lines and it should work - remember you need to append +pmp
to the OpenVPN username for ProtonVPN port forwarding too.
Then you can run:
$ vopono -v exec --provider custom --custom ~/Downloads/xx-yy-01.protonvpn.udp.ovpn --protocol openvpn --custom-port-forwarding protonvpn firefox-developer-edition
Also btw for OpenVPN you can generate the configs with vopono sync
for easier usage:
$ vopono sync
$ vopono -v exec --provider protonvpn --protocol openvpn --port-forwarding --server romania firefox-developer-edition
(remember to append +pmp
to the OpenVPN username to use port forwarding with ProtonVPN)