OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • openvpn client disconnects
« previous next »
  • Print
Pages: [1]

Author Topic: openvpn client disconnects  (Read 4745 times)

wfx3

  • Newbie
  • *
  • Posts: 31
  • Karma: 0
    • View Profile
openvpn client disconnects
« 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/) 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


 
Logged

jkemp

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 2
    • View Profile
Re: openvpn client disconnects
« Reply #1 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.
Logged

jds

  • Full Member
  • ***
  • Posts: 104
  • Karma: 1
    • View Profile
Re: openvpn client disconnects
« Reply #2 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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • openvpn client disconnects
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2