openvpn client disconnects

Started by wfx3, September 29, 2018, 06:59:10 PM

Previous topic - Next topic
hello i am trying to replace a ddwrt/atheros router with opnsense/esxi/x86.   to provide openvpn client to nordvpn.  i followed these pfsense configuration instructions (https://nordvpn.com/tutorials/pfsense/pfsense-openvpn/) as closely as possible.  the openvpn client connects but then disconnects .. any advice what i can try?


compression: enabled without adaptive

advanced options:

vtls-client;
remote-random;
tun-mtu 1500;
tun-mtu-extra 32;
mssfix 1450;
persist-key;
persist-tun;
reneg-sec 0;
remote-cert-tls server;
auth-retry nointeract;


Sep 29 12:44:41 openvpn[49048]: MANAGEMENT: Client disconnected
Sep 29 12:44:41 openvpn[49048]: MANAGEMENT: CMD 'status 2'
Sep 29 12:44:41 openvpn[49048]: MANAGEMENT: CMD 'state all'
Sep 29 12:44:41 openvpn[49048]: MANAGEMENT: Client connected from /var/etc/openvpn/client1.sock
Sep 29 12:44:31 openvpn[49048]: Initialization Sequence Completed




Did you get your client to stay connected? I'm having the exact same issue. I hope someone who were successful at getting this to work post a HOWTO using OPNSense as a guide. There are differences in the pfSense vs OPNsense menus.

I have it set up with PIA.  My advanced config is:

persist-key;
persist-tun;
remote-cert-tls server;
reneg-sec 0;
auth-retry interact

I can give you other details, if you wish.  I remember there being a couple of issues that were not obvious from the
pfsense setup.  For example, do not use hardware acceleration, and using an openvpn interface.