OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: mateusjua on February 02, 2018, 01:36:58 am

Title: OpenVPN site to client (Disconnect every moment)
Post by: mateusjua on February 02, 2018, 01:36:58 am
Hi!

I already followed the wiki, wizard but I can not maintain a stable connection, has anyone ever been through this? Strange that the same settings I use in OPNsense use in pfSense and do not see problems with pfSense.


Logs...

Thu Feb 01 20:29:34 2018 [SSL Certificate] Peer Connection Initiated with [AF_INET]201.xx.xx.xx:11200
Thu Feb 01 20:29:35 2018 open_tun
Thu Feb 01 20:29:35 2018 TAP-WIN32 device [Ethernet 2] opened: \\.\Global\{D9553517-EA5A-4083-B8DB-F0C3A9494D65}.tap
Thu Feb 01 20:29:35 2018 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.10.0.6/255.255.255.252 on interface {D9553517-EA5A-4083-B8DB-F0C3A9494D65} [DHCP-serv: 10.10.0.5, lease-time: 31536000]
Thu Feb 01 20:29:35 2018 Successful ARP Flush on interface [13] {D9553517-EA5A-4083-B8DB-F0C3A9494D65}
Thu Feb 01 20:29:35 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Thu Feb 01 20:29:40 2018 Initialization Sequence Completed
Thu Feb 01 20:30:56 2018 [SSL Certificate] Inactivity timeout (--ping-restart), restarting
Thu Feb 01 20:30:56 2018 SIGUSR1[soft,ping-restart] received, process restarting
Thu Feb 01 20:31:01 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]201.xx.xx.xx:11200
Thu Feb 01 20:31:01 2018 UDP link local (bound): [AF_INET][undef]:0
Thu Feb 01 20:31:01 2018 UDP link remote: [AF_INET]201.xx.xx.xx:11200
Thu Feb 01 20:31:07 2018 [SSL Certificate] Peer Connection Initiated with [AF_INET]201.xx.xx.xx:11200
Thu Feb 01 20:31:09 2018 Preserving previous TUN/TAP instance: Ethernet 2
Thu Feb 01 20:31:09 2018 Initialization Sequence Completed



Thank you so much!!!

Title: Re: OpenVPN site to client (Disconnect every moment)
Post by: Julien on February 02, 2018, 02:24:55 am
Only one connection per cert (with unique CN) is allowed by default if you use the cert based auth:
i would check if you are already logged in with the same profile else where.
Title: Re: OpenVPN site to client (Disconnect every moment)
Post by: mateusjua on February 02, 2018, 02:44:49 am
Only in a single location...

OPNsense to my notebook


thanks...