OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: wfx3 on September 29, 2018, 06:59:10 pm

Title: openvpn client disconnects
Post by: wfx3 on September 29, 2018, 06:59:10 pm
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/ (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:
Code: [Select]
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;

Code: [Select]
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


 
Title: Re: openvpn client disconnects
Post by: jkemp on November 25, 2018, 05:22:08 pm
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.
Title: Re: openvpn client disconnects
Post by: jds on November 25, 2018, 07:19:21 pm
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.