I also use PrivateVPN with the OpenVPN client GUI. I only set this all up last week. I had a few issues to begin with, but soon realised that the Firewall Protection (in the OpenVPN client GUI) needs to be set to 'disable' for your VPN to connect.
I'm using Brainslayers latest build (R35681) on an R8500, and it's all working great...
OpenVPN GUI.png
Description:
Filesize:
41.33 KB
Viewed:
3254 Time(s)
Last edited by buffalo0207 on Wed Apr 18, 2018 3:18; edited 4 times in total
I also had an issue with the OpenVPN Client not starting up after a reboot. I originally had to keep clicking 'Apply Settings' on the GUI page every time after a reboot. However, Eibgrad (a Guru on here) suggested an OpenVPN Startup script to get the VPN to restart properly...
# OpenVPN Restart Script
(
if [ "$(nvram get openvpncl_enable)" == "1" ]; then
while ! ping -qc1 -w3 8.8.8.8 > /dev/null 2>&1; do sleep 10; done
killall openvpn && sleep 5
while ! openvpn --config /tmp/openvpncl/openvpn.conf \
--route-up /tmp/openvpncl/route-up.sh \
--route-pre-down /tmp/openvpncl/route-down.sh \
--daemon; do sleep 10; done
fi
) &
Just copy and paste this into the Administration > Commands window and click on 'Save Startup'
Also, make sure you have your PrivateVPN username and password saved as a 'Startup' too. Just put this above the 'OpenVPN Restart Script'.
I'm assuming you have put the CA Cert file and TLS Auth Key in their relevant windows, and auth-user-pass /tmp/openvpncl/user.conf path location in the Additional Config of the OpenVPN GUI. This is all on the PrivateVPN instructions page...
I also use PrivateVPN with the OpenVPN client GUI. I only set this all up last week. I had a few issues to begin with, but soon realised that the Firewall Protection (in the OpenVPN client GUI) needs to be set to 'disable' for your VPN to connect.
I'm using Brainslayers latest build (R35681) on an R8500, and it's all working great...
Thanks for the tip.
I disabled the firewall and am using the latest Kong version and now the VPN connects again.
I will add and check the script you posted when I have some time.
Sorry to throw a fly into the ointment, but I have firewall protection enabled (latest Kong) and OpenVPN connects without any issues. This may be strictly a 7000 issue.
Sorry to throw a fly into the ointment, but I have firewall protection enabled (latest Kong) and OpenVPN connects without any issues. This may be strictly a 7000 issue.
Sorry to throw a fly into the ointment, but I have firewall protection enabled (latest Kong) and OpenVPN connects without any issues. This may be strictly a 7000 issue.
P
How do you draw that conclusion?
buffalo0207 posted he has R8500 and it required Firewall Protection to be Disable too. The common denominator is they are both using OpenVPN Services from PrivateVPN. _________________ Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9
Off Site 1
R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4
Off Site 2
R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531
I used to do a scheduled weekly reboot until I realized my VPN kept disconnecting on start up and I would have to do as posted above. Disable OpenVPN client, save, then enable, save and apply setting and then it works. A real PITA.
I currently have firewall protection enabled.
Thanks Eibgrad for the fix and buffalo for posting that script! Going to try that.
edit: just tried out the fix and success! _________________ ASUS RT-AX88U
- OEM firmware
Netgear R7000 (secondary VPN router)
- DD-WRT v3.0-r47596 std (10/25/21)
- NordVPN