OpenVPN not working



  • Sometimes it connects and obtains ip address, but i stop it and try to restart it does not, but after few minutes or hours it starts on it own,

    Oct 14 16:33:56 openvpn 98052 I/O WAIT T?|T?|SR|Sw [1/157305]
    Oct 14 16:33:56 openvpn 98052 PO_CTL rwflags=0x0001 ev=4 arg=0x006a1578
    Oct 14 16:33:56 openvpn 98052 PO_CTL rwflags=0x0001 ev=5 arg=0x006a2710
    Oct 14 16:33:56 openvpn 98052 TLS: tls_multi_process: i=2 state=S_UNDEF, mysid=00000000 00000000, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:56 openvpn 98052 TLS: tls_multi_process: i=1 state=S_INITIAL, mysid=6a251c4f c4a61826, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:56 openvpn 98052 TLS: tls_process: timeout set to 54
    Oct 14 16:33:56 openvpn 98052 ACK reliable_send_timeout 604800 [4]
    Oct 14 16:33:56 openvpn 98052 ACK reliable_can_send active=0 current=0 : [4]
    Oct 14 16:33:56 openvpn 98052 TLS: tls_process: chg=0 ks=S_ACTIVE lame=S_UNDEF to_link->len=0 wakeup=604800
    Oct 14 16:33:56 openvpn 98052 TLS: tls_multi_process: i=0 state=S_ACTIVE, mysid=25d2887f 1a4b6725, stored-sid=dcfec650 503a08a2, stored-ip=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:56 openvpn 98052 TLS: received control channel packet s#=0 sid=dcfec650 503a08a2
    Oct 14 16:33:56 openvpn 98052 PID_TEST [0] [TLS_WRAP-0] [0555555] 1571085231:7 1571085231:8 t=1571085236[0] r=[0,64,15,0,1] sl=[57,7,64,528]
    Oct 14 16:33:56 openvpn 98052 DECRYPT FROM: 471dccb3 15b8cb5b bc446f46 bfb5d358 62693688 083da17e 5f32e8d4 340ac41[more...]
    Oct 14 16:33:56 openvpn 98052 TLS: found match, session[0], sid=dcfec650 503a08a2
    Oct 14 16:33:56 openvpn 98052 TLS: initial packet test, i=0 state=S_ACTIVE, mysid=25d2887f 1a4b6725, rec-sid=dcfec650 503a08a2, rec-ip=[AF_INET]23.236.224.213:4443, stored-sid=dcfec650 503a08a2, stored-ip=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:56 openvpn 98052 TLS: control channel, op=P_ACK_V1, IP=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:56 openvpn 98052 UDPv4 READ [62] from [AF_INET]23.236.224.213:4443: P_ACK_V1 kid=0 sid=dcfec650 503a08a2 tls_hmac=471dccb3 15b8cb5b bc446f46 bfb5d358 62693688 083da17e 5f32e8d4 340ac417 pid=[ #8 / time = (1571085231) Mon Oct 14 16:33:51 2019 ] [ 3 sid=25d2887f 1a4b6725 ]
    Oct 14 16:33:56 openvpn 98052 UDPv4 read returned 62
    Oct 14 16:33:56 openvpn 98052 I/O WAIT status=0x0001
    Oct 14 16:33:56 openvpn 98052 event_wait returned 1
    Oct 14 16:33:56 openvpn 98052 PO_WAIT[0,0] fd=5 rev=0x00000001 rwflags=0x0001 arg=0x006a2710
    Oct 14 16:33:56 openvpn 98052 I/O WAIT T?|T?|SR|Sw [1/157305]
    Oct 14 16:33:56 openvpn 98052 PO_CTL rwflags=0x0001 ev=4 arg=0x006a1578
    Oct 14 16:33:56 openvpn 98052 PO_CTL rwflags=0x0001 ev=5 arg=0x006a2710
    Oct 14 16:33:56 openvpn 98052 TLS: tls_multi_process: i=2 state=S_UNDEF, mysid=00000000 00000000, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:56 openvpn 98052 TLS: tls_multi_process: i=1 state=S_INITIAL, mysid=6a251c4f c4a61826, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:56 openvpn 98052 TLS: tls_process: timeout set to 54
    Oct 14 16:33:56 openvpn 98052 ACK reliable_send_timeout 604800 [4]
    Oct 14 16:33:56 openvpn 98052 ACK reliable_can_send active=0 current=0 : [4]
    Oct 14 16:33:56 openvpn 98052 TLS: tls_process: chg=1 ks=S_ACTIVE lame=S_UNDEF to_link->len=0 wakeup=604800
    Oct 14 16:33:56 openvpn 98052 ACK reliable_can_send active=0 current=0 : [4]
    Oct 14 16:33:56 openvpn 98052 [*.fastestvpn.co] Peer Connection Initiated with [AF_INET]23.236.224.213:4443
    Oct 14 16:33:56 openvpn 98052 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
    Oct 14 16:33:56 openvpn 98052 STATE S_ACTIVE
    Oct 14 16:33:56 openvpn 98052 TLS: tls_process: chg=0 ks=S_GOT_KEY lame=S_UNDEF to_link->len=0 wakeup=604800
    Oct 14 16:33:56 openvpn 98052 TLS: tls_multi_process: i=0 state=S_GOT_KEY, mysid=25d2887f 1a4b6725, stored-sid=dcfec650 503a08a2, stored-ip=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:56 openvpn 98052 UDPv4 write returned 62
    Oct 14 16:33:56 openvpn 98052 UDPv4 WRITE [62] to [AF_INET]23.236.224.213:4443: P_ACK_V1 kid=0 sid=25d2887f 1a4b6725 tls_hmac=d1e591b5 6193ea26 aabc8973 2b1749b8 17d0ab41 93fd376f 344c4061 0a96e191 pid=[ #10 / time = (1571085230) Mon Oct 14 16:33:50 2019 ] [ 6 sid=dcfec650 503a08a2 ]
    Oct 14 16:33:56 openvpn 98052 TLS: tls_multi_process: i=2 state=S_UNDEF, mysid=00000000 00000000, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:56 openvpn 98052 TLS: tls_multi_process: i=1 state=S_INITIAL, mysid=6a251c4f c4a61826, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:56 openvpn 98052 TLS: tls_process: timeout set to 1
    Oct 14 16:33:56 openvpn 98052 ACK reliable_send_timeout 604800 [4]
    Oct 14 16:33:56 openvpn 98052 Dedicated ACK -> TCP/UDP
    Oct 14 16:33:56 openvpn 98052 ENCRYPT TO: d1e591b5 6193ea26 aabc8973 2b1749b8 17d0ab41 93fd376f 344c4061 0a96e19[more...]
    Oct 14 16:33:56 openvpn 98052 ENCRYPT HMAC: d1e591b5 6193ea26 aabc8973 2b1749b8 17d0ab41 93fd376f 344c4061 0a96e191
    Oct 14 16:33:56 openvpn 98052 ACK write ID 6 (ack->len=1, n=1)
    Oct 14 16:33:56 openvpn 98052 ACK reliable_can_send active=0 current=0 : [4]
    Oct 14 16:33:56 openvpn 98052 TLS: tls_process: chg=1 ks=S_GOT_KEY lame=S_UNDEF to_link->len=0 wakeup=0
    Oct 14 16:33:56 openvpn 98052 STATE S_GOT_KEY
    Oct 14 16:33:56 openvpn 98052 TLS -> Incoming Plaintext
    Oct 14 16:33:56 openvpn 98052 BIO read tls_read_plaintext 226 bytes
    Oct 14 16:33:56 openvpn 98052 Incoming Ciphertext -> TLS
    Oct 14 16:33:56 openvpn 98052 BIO write tls_write_ciphertext 255 bytes
    Oct 14 16:33:56 openvpn 98052 ACK reliable_can_send active=0 current=0 : [4]
    Oct 14 16:33:56 openvpn 98052 TLS: tls_process: chg=0 ks=S_SENT_KEY lame=S_UNDEF to_link->len=0 wakeup=604800
    Oct 14 16:33:56 openvpn 98052 TLS: tls_multi_process: i=0 state=S_SENT_KEY, mysid=25d2887f 1a4b6725, stored-sid=dcfec650 503a08a2, stored-ip=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:56 openvpn 98052 ACK acknowledge ID 6 (ack->len=1)
    Oct 14 16:33:56 openvpn 98052 ACK mark active incoming ID 6
    Oct 14 16:33:56 openvpn 98052 ACK RWBS rel->size=8 rel->packet_id=00000006 id=00000006 ret=1
    Oct 14 16:33:56 openvpn 98052 ACK read ID 6 (buf->len=255)
    Oct 14 16:33:56 openvpn 98052 ACK received for pid 3, deleting from send buffer
    Oct 14 16:33:56 openvpn 98052 TLS: received control channel packet s#=0 sid=dcfec650 503a08a2
    Oct 14 16:33:56 openvpn 98052 PID_TEST [0] [TLS_WRAP-0] [555555] 1571085231:6 1571085231:7 t=1571085236[0] r=[0,64,15,0,1] sl=[58,6,64,528]
    Oct 14 16:33:56 openvpn 98052 DECRYPT FROM: ab145010 c72384d2 2b978d23 faf5a1bd 561ba7d2 ba5cd98e e68e7c12 f27bfe6[more...]
    Oct 14 16:33:56 openvpn 98052 TLS: found match, session[0], sid=dcfec650 503a08a2
    Oct 14 16:33:56 openvpn 98052 TLS: initial packet test, i=0 state=S_SENT_KEY, mysid=25d2887f 1a4b6725, rec-sid=dcfec650 503a08a2, rec-ip=[AF_INET]23.236.224.213:4443, stored-sid=dcfec650 503a08a2, stored-ip=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:56 openvpn 98052 TLS: control channel, op=P_CONTROL_V1, IP=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:56 openvpn 98052 UDPv4 READ [321] from [AF_INET]23.236.224.213:4443: P_CONTROL_V1 kid=0 sid=dcfec650 503a08a2 tls_hmac=ab145010 c72384d2 2b978d23 faf5a1bd 561ba7d2 ba5cd98e e68e7c12 f27bfe62 pid=[ #7 / time = (1571085231) Mon Oct 14 16:33:51 2019 ] [ 3 sid=25d2887f 1a4b6725 ] pid=6 DATA 17030300 fa8c7c90 fd1df54a 7d96c0f1
    Oct 14 16:33:56 openvpn 98052 UDPv4 read returned 321
    Oct 14 16:33:56 openvpn 98052 I/O WAIT status=0x0001
    Oct 14 16:33:56 openvpn 98052 event_wait returned 1
    Oct 14 16:33:56 openvpn 98052 PO_WAIT[0,0] fd=5 rev=0x00000001 rwflags=0x0001 arg=0x006a2710
    Oct 14 16:33:56 openvpn 98052 I/O WAIT T?|T?|SR|Sw [1/157305]
    Oct 14 16:33:56 openvpn 98052 PO_CTL rwflags=0x0001 ev=4 arg=0x006a1578
    Oct 14 16:33:56 openvpn 98052 PO_CTL rwflags=0x0001 ev=5 arg=0x006a2710
    Oct 14 16:33:56 openvpn 98052 TIMER: coarse timer wakeup 1 seconds
    Oct 14 16:33:56 openvpn 98052 I/O WAIT status=0x0020
    Oct 14 16:33:56 openvpn 98052 event_wait returned 0
    Oct 14 16:33:55 openvpn 98052 I/O WAIT T?|T?|SR|Sw [1/157305]
    Oct 14 16:33:55 openvpn 98052 PO_CTL rwflags=0x0001 ev=4 arg=0x006a1578
    Oct 14 16:33:55 openvpn 98052 PO_CTL rwflags=0x0001 ev=5 arg=0x006a2710
    Oct 14 16:33:55 openvpn 98052 TLS: tls_multi_process: i=2 state=S_UNDEF, mysid=00000000 00000000, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:55 openvpn 98052 TLS: tls_multi_process: i=1 state=S_INITIAL, mysid=6a251c4f c4a61826, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:55 openvpn 98052 TLS: tls_process: timeout set to 3
    Oct 14 16:33:55 openvpn 98052 ACK reliable_send_timeout 3 [4] 3
    Oct 14 16:33:55 openvpn 98052 ACK reliable_can_send active=1 current=0 : [4] 3
    Oct 14 16:33:55 openvpn 98052 TLS: tls_process: chg=0 ks=S_SENT_KEY lame=S_UNDEF to_link->len=0 wakeup=604800
    Oct 14 16:33:55 openvpn 98052 TLS: tls_multi_process: i=0 state=S_SENT_KEY, mysid=25d2887f 1a4b6725, stored-sid=dcfec650 503a08a2, stored-ip=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:55 openvpn 98052 TIMER: coarse timer wakeup 1 seconds
    Oct 14 16:33:55 openvpn 98052 I/O WAIT status=0x0020
    Oct 14 16:33:55 openvpn 98052 event_wait returned 0
    Oct 14 16:33:54 openvpn 98052 I/O WAIT T?|T?|SR|Sw [1/157305]
    Oct 14 16:33:54 openvpn 98052 PO_CTL rwflags=0x0001 ev=4 arg=0x006a1578
    Oct 14 16:33:54 openvpn 98052 PO_CTL rwflags=0x0001 ev=5 arg=0x006a2710
    Oct 14 16:33:54 openvpn 98052 TLS: tls_multi_process: i=2 state=S_UNDEF, mysid=00000000 00000000, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:54 openvpn 98052 TLS: tls_multi_process: i=1 state=S_INITIAL, mysid=6a251c4f c4a61826, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:54 openvpn 98052 TLS: tls_process: timeout set to 4
    Oct 14 16:33:54 openvpn 98052 ACK reliable_send_timeout 4 [4] 3
    Oct 14 16:33:54 openvpn 98052 ACK reliable_can_send active=1 current=0 : [4] 3
    Oct 14 16:33:54 openvpn 98052 TLS: tls_process: chg=0 ks=S_SENT_KEY lame=S_UNDEF to_link->len=0 wakeup=604800
    Oct 14 16:33:54 openvpn 98052 TLS: tls_multi_process: i=0 state=S_SENT_KEY, mysid=25d2887f 1a4b6725, stored-sid=dcfec650 503a08a2, stored-ip=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:54 openvpn 98052 UDPv4 write returned 498
    pid=3 DATA 17030301 b79f79ef 58adfff7 3a9aa676 92d60ef6 02d08e4e 84f6e6

    Oct 14 16:33:54 openvpn 98052 TLS: tls_multi_process: i=2 state=S_UNDEF, mysid=00000000 00000000, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:54 openvpn 98052 TLS: tls_multi_process: i=1 state=S_INITIAL, mysid=6a251c4f c4a61826, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:54 openvpn 98052 TLS: tls_process: timeout set to 4
    Oct 14 16:33:54 openvpn 98052 ACK reliable_send_timeout 4 [4] 3
    Oct 14 16:33:54 openvpn 98052 Reliable -> TCP/UDP
    Oct 14 16:33:54 openvpn 98052 ENCRYPT TO: 161e855f 0a7df2d0 e4ea5d4d 9b9e6776 28d89a49 4d4f2f8d 4b5416d3 15ca5ec[more...]
    Oct 14 16:33:54 openvpn 98052 ENCRYPT HMAC: 161e855f 0a7df2d0 e4ea5d4d 9b9e6776 28d89a49 4d4f2f8d 4b5416d3 15ca5ec3
    Oct 14 16:33:54 openvpn 98052 ACK reliable_send ID 3 (size=448 to=4)
    Oct 14 16:33:54 openvpn 98052 ACK reliable_can_send active=1 current=1 : [4] 3
    Oct 14 16:33:54 openvpn 98052 TLS: tls_process: chg=0 ks=S_SENT_KEY lame=S_UNDEF to_link->len=0 wakeup=604800
    Oct 14 16:33:54 openvpn 98052 TLS: tls_multi_process: i=0 state=S_SENT_KEY, mysid=25d2887f 1a4b6725, stored-sid=dcfec650 503a08a2, stored-ip=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:54 openvpn 98052 TIMER: coarse timer wakeup 1 seconds
    Oct 14 16:33:54 openvpn 98052 I/O WAIT status=0x0020
    Oct 14 16:33:54 openvpn 98052 event_wait returned 0
    Oct 14 16:33:52 openvpn 98052 I/O WAIT T?|T?|SR|Sw [1/157305]
    Oct 14 16:33:52 openvpn 98052 PO_CTL rwflags=0x0001 ev=4 arg=0x006a1578
    Oct 14 16:33:52 openvpn 98052 PO_CTL rwflags=0x0001 ev=5 arg=0x006a2710
    Oct 14 16:33:52 openvpn 98052 TLS: tls_multi_process: i=2 state=S_UNDEF, mysid=00000000 00000000, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:52 openvpn 98052 TLS: tls_multi_process: i=1 state=S_INITIAL, mysid=6a251c4f c4a61826, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:52 openvpn 98052 TLS: tls_process: timeout set to 1
    Oct 14 16:33:52 openvpn 98052 ACK reliable_send_timeout 1 [4] 3
    Oct 14 16:33:52 openvpn 98052 ACK reliable_can_send active=1 current=0 : [4] 3
    Oct 14 16:33:52 openvpn 98052 TLS: tls_process: chg=0 ks=S_SENT_KEY lame=S_UNDEF to_link->len=0 wakeup=604800
    Oct 14 16:33:52 openvpn 98052 TLS: tls_multi_process: i=0 state=S_SENT_KEY, mysid=25d2887f 1a4b6725, stored-sid=dcfec650 503a08a2, stored-ip=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:52 openvpn 98052 TIMER: coarse timer wakeup 1 seconds
    Oct 14 16:33:52 openvpn 98052 I/O WAIT status=0x0020
    Oct 14 16:33:52 openvpn 98052 event_wait returned 0
    Oct 14 16:33:51 openvpn 98052 I/O WAIT T?|T?|SR|Sw [1/157305]
    Oct 14 16:33:51 openvpn 98052 PO_CTL rwflags=0x0001 ev=4 arg=0x006a1578
    Oct 14 16:33:51 openvpn 98052 PO_CTL rwflags=0x0001 ev=5 arg=0x006a2710
    Oct 14 16:33:51 openvpn 98052 TLS: tls_multi_process: i=2 state=S_UNDEF, mysid=00000000 00000000, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:51 openvpn 98052 TLS: tls_multi_process: i=1 state=S_INITIAL, mysid=6a251c4f c4a61826, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:51 openvpn 98052 TLS: tls_process: timeout set to 2
    Oct 14 16:33:51 openvpn 98052 ACK reliable_send_timeout 2 [4] 3
    Oct 14 16:33:51 openvpn 98052 ACK reliable_can_send active=1 current=0 : [4] 3
    Oct 14 16:33:51 openvpn 98052 TLS: tls_process: chg=0 ks=S_SENT_KEY lame=S_UNDEF to_link->len=0 wakeup=604800
    Oct 14 16:33:51 openvpn 98052 TLS: tls_multi_process: i=0 state=S_SENT_KEY, mysid=25d2887f 1a4b6725, stored-sid=dcfec650 503a08a2, stored-ip=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:51 openvpn 98052 UDPv4 write returned 510
    Oct 14 16:33:51 openvpn 98052 UDPv4 WRITE [510] to [AF_INET]23.236.224.213:4443: P_CONTROL_V1 kid=0 sid=25d2887f 1a4b6725 tls_hmac=70d0dfd2 4cfdb729 4052f91e bcea90d4 274266e8 9a9034ce 3a4efa98 b6c98699 pid=[ #8 / time = (1571085230) Mon Oct 14 16:33:50 2019 ] [ 5 sid=dcfec650 503a08a2 ] pid=3 DATA 17030301 b79f79ef 58adfff7 3a9aa676
    Oct 14 16:33:51 openvpn 98052 TLS: tls_multi_process: i=2 state=S_UNDEF, mysid=00000000 00000000, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:51 openvpn 98052 TLS: tls_multi_process: i=1 state=S_INITIAL, mysid=6a251c4f c4a61826, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:51 openvpn 98052 TLS: tls_process: timeout set to 2
    Oct 14 16:33:51 openvpn 98052 ACK reliable_send_timeout 2 [4] 3
    Oct 14 16:33:51 openvpn 98052 Reliable -> TCP/UDP
    Oct 14 16:33:51 openvpn 98052 ENCRYPT TO: 70d0dfd2 4cfdb729 4052f91e bcea90d4 274266e8 9a9034ce 3a4efa98 b6c9869[more...]
    Oct 14 16:33:51 openvpn 98052 ENCRYPT HMAC: 70d0dfd2 4cfdb729 4052f91e bcea90d4 274266e8 9a9034ce 3a4efa98 b6c98699
    Oct 14 16:33:51 openvpn 98052 ACK write ID 5 (ack->len=1, n=1)
    Oct 14 16:33:51 openvpn 98052 ACK reliable_send ID 3 (size=448 to=2)
    Oct 14 16:33:51 openvpn 98052 ACK reliable_can_send active=1 current=1 : [4] 3
    Oct 14 16:33:51 openvpn 98052 TLS: tls_process: chg=1 ks=S_SENT_KEY lame=S_UNDEF to_link->len=0 wakeup=604800
    Oct 14 16:33:51 openvpn 98052 Outgoing Ciphertext -> Reliable
    Oct 14 16:33:51 openvpn 98052 ACK mark active outgoing ID 3
    Oct 14 16:33:51 openvpn 98052 BIO read tls_read_ciphertext 444 bytes
    Oct 14 16:33:51 openvpn 98052 Outgoing Plaintext -> TLS
    Oct 14 16:33:51 openvpn 98052 BIO write tls_write_plaintext 415 bytes
    Oct 14 16:33:51 openvpn 98052 SSL state (connect): SSLv3 read finished A
    Oct 14 16:33:51 openvpn 98052 Incoming Ciphertext -> TLS
    Oct 14 16:33:51 openvpn 98052 BIO write tls_write_ciphertext 51 bytes
    Oct 14 16:33:51 openvpn 98052 ACK reliable_can_send active=0 current=0 : [3]
    Oct 14 16:33:51 openvpn 98052 TLS: tls_process: chg=0 ks=S_SENT_KEY lame=S_UNDEF to_link->len=0 wakeup=604800
    Oct 14 16:33:51 openvpn 98052 TLS: tls_multi_process: i=0 state=S_SENT_KEY, mysid=25d2887f 1a4b6725, stored-sid=dcfec650 503a08a2, stored-ip=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:51 openvpn 98052 ACK acknowledge ID 5 (ack->len=1)
    Oct 14 16:33:51 openvpn 98052 ACK mark active incoming ID 5
    Oct 14 16:33:51 openvpn 98052 ACK RWBS rel->size=8 rel->packet_id=00000005 id=00000005 ret=1
    Oct 14 16:33:51 openvpn 98052 ACK read ID 5 (buf->len=51)
    Oct 14 16:33:51 openvpn 98052 ACK received for pid 2, deleting from send buffer
    Oct 14 16:33:51 openvpn 98052 TLS: received control channel packet s#=0 sid=dcfec650 503a08a2
    Oct 14 16:33:51 openvpn 98052 PID_TEST [0] [TLS_WRAP-0] [00000] 1571085231:5 1571085231:6 t=1571085231[0] r=[0,64,15,0,1] sl=[59,5,64,528]
    Oct 14 16:33:51 openvpn 98052 DECRYPT FROM: 5ddfe7e1 f063d62a eabfff86 533524bc dc63fcdd 5f665903 6c76af3d f671a53[more...]
    Oct 14 16:33:51 openvpn 98052 TLS: found match, session[0], sid=dcfec650 503a08a2
    Oct 14 16:33:51 openvpn 98052 TLS: initial packet test, i=0 state=S_SENT_KEY, mysid=25d2887f 1a4b6725, rec-sid=dcfec650 503a08a2, rec-ip=[AF_INET]23.236.224.213:4443, stored-sid=dcfec650 503a08a2, stored-ip=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:51 openvpn 98052 TLS: control channel, op=P_CONTROL_V1, IP=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:51 openvpn 98052 UDPv4 READ [117] from [AF_INET]23.236.224.213:4443: P_CONTROL_V1 kid=0 sid=dcfec650 503a08a2 tls_hmac=5ddfe7e1 f063d62a eabfff86 533524bc dc63fcdd 5f665903 6c76af3d f671a535 pid=[ #6 / time = (1571085231) Mon Oct 14 16:33:51 2019 ] [ 2 sid=25d2887f 1a4b6725 ] pid=5 DATA 14030300 01011603 0300288c 7c90fd1d
    Oct 14 16:33:51 openvpn 98052 UDPv4 read returned 117
    Oct 14 16:33:51 openvpn 98052 I/O WAIT status=0x0001
    Oct 14 16:33:51 openvpn 98052 event_wait returned 1
    Oct 14 16:33:51 openvpn 98052 PO_WAIT[0,0] fd=5 rev=0x00000001 rwflags=0x0001 arg=0x006a2710
    Oct 14 16:33:51 openvpn 98052 I/O WAIT T?|T?|SR|Sw [1/157305]
    Oct 14 16:33:51 openvpn 98052 PO_CTL rwflags=0x0001 ev=4 arg=0x006a1578
    Oct 14 16:33:51 openvpn 98052 PO_CTL rwflags=0x0001 ev=5 arg=0x006a2710
    Oct 14 16:33:51 openvpn 98052 TLS: tls_multi_process: i=2 state=S_UNDEF, mysid=00000000 00000000, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:51 openvpn 98052 TLS: tls_multi_process: i=1 state=S_INITIAL, mysid=6a251c4f c4a61826, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:51 openvpn 98052 TLS: tls_process: timeout set to 2
    Oct 14 16:33:51 openvpn 98052 ACK reliable_send_timeout 2 [3] 2
    Oct 14 16:33:51 openvpn 98052 ACK reliable_can_send active=1 current=0 : [3] 2
    Oct 14 16:33:51 openvpn 98052 TLS: tls_process: chg=0 ks=S_SENT_KEY lame=S_UNDEF to_link->len=0 wakeup=604800
    Oct 14 16:33:51 openvpn 98052 TLS: tls_multi_process: i=0 state=S_SENT_KEY, mysid=25d2887f 1a4b6725, stored-sid=dcfec650 503a08a2, stored-ip=[AF_INET]23.236.224.213:4443
    Oct 14 16:33:51 openvpn 98052 UDPv4 write returned 640
    Oct 14 16:33:51 openvpn 98052 UDPv4 WRITE [640] to [AF_INET]23.236.224.213:4443: P_CONTROL_V1 kid=0 sid=25d2887f 1a4b6725 tls_hmac=2c8c8680 527d088f 546abad6 9207fc02 84475272 0cad270c 03e358cd be11d6a2 pid=[ #7 / time = (1571085230) Mon Oct 14 16:33:50 2019 ] [ 4 sid=dcfec650 503a08a2 ] pid=2 DATA 16030302 06100002 02020097 8b833e7f
    Oct 14 16:33:51 openvpn 98052 TLS: tls_multi_process: i=2 state=S_UNDEF, mysid=00000000 00000000, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:51 openvpn 98052 TLS: tls_multi_process: i=1 state=S_INITIAL, mysid=6a251c4f c4a61826, stored-sid=00000000 00000000, stored-ip=[AF_UNSPEC]
    Oct 14 16:33:51 openvpn 98052 TLS: tls_process: timeout set to 2
    Oct 14 16:33:51 openvpn 98052 ACK reliable_send_timeout 2 [3] 2
    Oct 14 16:33:51 openvpn 98052 Reliable -> TCP/UDP
    Oct 14 16:33:51 openvpn 98052 ENCRYPT TO: 2c8c8680 527d088f 546abad6 9207fc02 84475272 0cad270c 03e358cd be11d6a[more...]
    Oct 14 16:33:51 openvpn 98052 ENCRYPT HMAC: 2c8c8680 527d088f 546abad6 9207fc02 84475272 0cad270c 03e358cd be11d6a2
    Oct 14 16:33:51 openvpn 98052 ACK write ID 4 (ack->len=1, n=1)



  • @manjotsc What are you trying to connect to, and how do you have it configured?



  • @KOM OpenVPN client to Canadian Server UDP, FastestVPN and PureVPN and trying route guest traffic thru it.



  • I've never heard of FastestVPN, but PureVPN seems to have a guide. Have you seen it?

    https://support.purevpn.com/pfsense-openvpn-configuration-guide

    Certs and CAs here:

    https://support.purevpn.com/openvpn-files

    Try to get one working and then move on to the next.



  • Yes, I have followed but still not luck, it connects randomly.



  • Maybe try increasing the verbosity of the logs to include more detail. Nothing really jumped out at me from your last log.



  • It's set to 11



  • Oct 14 21:27:45 openvpn 71849 Exiting due to fatal error
    Oct 14 21:27:45 openvpn 71849 neither stdin nor stderr are a tty device and you have neither a controlling tty nor systemd - can't ask for 'Enter Auth Username:'. If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache.
    Oct 14 21:27:45 openvpn 71849 library versions: OpenSSL 1.0.2o-freebsd 27 Mar 2018, LZO 2.10
    Oct 14 21:27:45 openvpn 71849 OpenVPN 2.4.6 amd64-portbld-freebsd11.2 [SSL (OpenSSL)] [LZO] [LZ4] [MH/RECVDA] [AEAD] built on Oct 3 2018
    Oct 14 21:27:45 openvpn 71849 auth_user_pass_file = 'stdin'
    Oct 14 21:27:45 openvpn 71849 pull = ENABLED
    Oct 14 21:27:45 openvpn 71849 client = ENABLED
    Oct 14 21:27:45 openvpn 71849 port_share_port = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 port_share_host = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 auth_token_lifetime = 0
    Oct 14 21:27:45 openvpn 71849 auth_token_generate = DISABLED
    Oct 14 21:27:45 openvpn 71849 auth_user_pass_verify_script_via_file = DISABLED
    Oct 14 21:27:45 openvpn 71849 auth_user_pass_verify_script = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 max_routes_per_client = 256
    Oct 14 21:27:45 openvpn 71849 max_clients = 1024
    Oct 14 21:27:45 openvpn 71849 cf_per = 0
    Oct 14 21:27:45 openvpn 71849 cf_max = 0
    Oct 14 21:27:45 openvpn 71849 duplicate_cn = DISABLED
    Oct 14 21:27:45 openvpn 71849 enable_c2c = DISABLED
    Oct 14 21:27:45 openvpn 71849 push_ifconfig_ipv6_remote = ::
    Oct 14 21:27:45 openvpn 71849 push_ifconfig_ipv6_local = ::/0
    Oct 14 21:27:45 openvpn 71849 push_ifconfig_ipv6_defined = DISABLED
    Oct 14 21:27:45 openvpn 71849 push_ifconfig_remote_netmask = 0.0.0.0
    Oct 14 21:27:45 openvpn 71849 push_ifconfig_local = 0.0.0.0
    Oct 14 21:27:45 openvpn 71849 push_ifconfig_defined = DISABLED
    Oct 14 21:27:45 openvpn 71849 tmp_dir = '/tmp'
    Oct 14 21:27:45 openvpn 71849 ccd_exclusive = DISABLED
    Oct 14 21:27:45 openvpn 71849 client_config_dir = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 client_disconnect_script = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 learn_address_script = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 client_connect_script = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 virtual_hash_size = 256
    Oct 14 21:27:45 openvpn 71849 real_hash_size = 256
    Oct 14 21:27:45 openvpn 71849 tcp_queue_limit = 64
    Oct 14 21:27:45 openvpn 71849 n_bcast_buf = 256
    Oct 14 21:27:45 openvpn 71849 ifconfig_ipv6_pool_netbits = 0
    Oct 14 21:27:45 openvpn 71849 ifconfig_ipv6_pool_base = ::
    Oct 14 21:27:45 openvpn 71849 ifconfig_ipv6_pool_defined = DISABLED
    Oct 14 21:27:45 openvpn 71849 ifconfig_pool_persist_refresh_freq = 600
    Oct 14 21:27:45 openvpn 71849 ifconfig_pool_persist_filename = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 ifconfig_pool_netmask = 0.0.0.0
    Oct 14 21:27:45 openvpn 71849 ifconfig_pool_end = 0.0.0.0
    Oct 14 21:27:45 openvpn 71849 ifconfig_pool_start = 0.0.0.0
    Oct 14 21:27:45 openvpn 71849 ifconfig_pool_defined = DISABLED
    Oct 14 21:27:45 openvpn 71849 server_bridge_pool_end = 0.0.0.0
    Oct 14 21:27:45 openvpn 71849 server_bridge_pool_start = 0.0.0.0
    Oct 14 21:27:45 openvpn 71849 server_bridge_netmask = 0.0.0.0
    Oct 14 21:27:45 openvpn 71849 server_bridge_ip = 0.0.0.0
    Oct 14 21:27:45 openvpn 71849 server_netbits_ipv6 = 0
    Oct 14 21:27:45 openvpn 71849 server_network_ipv6 = ::
    Oct 14 21:27:45 openvpn 71849 server_netmask = 0.0.0.0
    Oct 14 21:27:45 openvpn 71849 server_network = 0.0.0.0
    Oct 14 21:27:45 openvpn 71849 tls_crypt_file = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 tls_auth_file = '/var/etc/openvpn/client4.tls-auth'
    Oct 14 21:27:45 openvpn 71849 tls_exit = DISABLED
    Oct 14 21:27:45 openvpn 71849 push_peer_info = DISABLED
    Oct 14 21:27:45 openvpn 71849 single_session = DISABLED
    Oct 14 21:27:45 openvpn 71849 transition_window = 3600
    Oct 14 21:27:45 openvpn 71849 handshake_window = 60
    Oct 14 21:27:45 openvpn 71849 renegotiate_seconds = 3600
    Oct 14 21:27:45 openvpn 71849 renegotiate_packets = 0
    Oct 14 21:27:45 openvpn 71849 renegotiate_bytes = -1
    Oct 14 21:27:45 openvpn 71849 tls_timeout = 2
    Oct 14 21:27:45 openvpn 71849 ssl_flags = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_eku = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 remote_cert_ku[i] = 0
    Oct 14 21:27:45 openvpn 71849 ns_cert_type = 0
    Oct 14 21:27:45 openvpn 71849 crl_file = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 verify_x509_name = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 verify_x509_type = 0
    Oct 14 21:27:45 openvpn 71849 tls_export_cert = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 tls_verify = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 tls_cert_profile = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 cipher_list = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 pkcs12_file = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 priv_key_file = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 extra_certs_file = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 cert_file = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 dh_file = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 ca_path = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 ca_file = '/var/etc/openvpn/client4.ca'
    Oct 14 21:27:45 openvpn 71849 key_method = 2
    Oct 14 21:27:45 openvpn 71849 tls_client = ENABLED
    Oct 14 21:27:45 openvpn 71849 tls_server = DISABLED
    Oct 14 21:27:45 openvpn 71849 test_crypto = DISABLED
    Oct 14 21:27:45 openvpn 71849 use_iv = ENABLED
    Oct 14 21:27:45 openvpn 71849 packet_id_file = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 replay_time = 15
    Oct 14 21:27:45 openvpn 71849 replay_window = 64
    Oct 14 21:27:45 openvpn 71849 mute_replay_warnings = DISABLED
    Oct 14 21:27:45 openvpn 71849 replay = ENABLED
    Oct 14 21:27:45 openvpn 71849 engine = DISABLED
    Oct 14 21:27:45 openvpn 71849 keysize = 0
    Oct 14 21:27:45 openvpn 71849 prng_nonce_secret_len = 16
    Oct 14 21:27:45 openvpn 71849 prng_hash = 'SHA1'
    Oct 14 21:27:45 openvpn 71849 authname = 'SHA256'
    Oct 14 21:27:45 openvpn 71849 ncp_ciphers = 'AES-256-GCM:AES-128-GCM'
    Oct 14 21:27:45 openvpn 71849 ncp_enabled = DISABLED
    Oct 14 21:27:45 openvpn 71849 ciphername = 'AES-256-CBC'
    Oct 14 21:27:45 openvpn 71849 key_direction = 1
    Oct 14 21:27:45 openvpn 71849 shared_secret_file = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 management_flags = 256
    Oct 14 21:27:45 openvpn 71849 management_client_group = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 management_client_user = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 management_write_peer_info_file = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 management_echo_buffer_size = 100
    Oct 14 21:27:45 openvpn 71849 management_log_history_cache = 250
    Oct 14 21:27:45 openvpn 71849 management_user_pass = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 management_port = 'unix'
    Oct 14 21:27:45 openvpn 71849 management_addr = '/var/etc/openvpn/client4.sock'
    Oct 14 21:27:45 openvpn 71849 allow_pull_fqdn = DISABLED
    Oct 14 21:27:45 openvpn 71849 route_gateway_via_dhcp = DISABLED
    Oct 14 21:27:45 openvpn 71849 route_nopull = DISABLED
    Oct 14 21:27:45 openvpn 71849 route_delay_defined = DISABLED
    Oct 14 21:27:45 openvpn 71849 route_delay_window = 30
    Oct 14 21:27:45 openvpn 71849 route_delay = 0
    Oct 14 21:27:45 openvpn 71849 route_noexec = DISABLED
    Oct 14 21:27:45 openvpn 71849 route_default_metric = 0
    Oct 14 21:27:45 openvpn 71849 route_default_gateway = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 route_script = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 comp.flags = 1
    Oct 14 21:27:45 openvpn 71849 comp.alg = 2
    Oct 14 21:27:45 openvpn 71849 fast_io = ENABLED
    Oct 14 21:27:45 openvpn 71849 sockflags = 0
    Oct 14 21:27:45 openvpn 71849 sndbuf = 524288
    Oct 14 21:27:45 openvpn 71849 rcvbuf = 524288
    Oct 14 21:27:45 openvpn 71849 occ = ENABLED
    Oct 14 21:27:45 openvpn 71849 status_file_update_freq = 60
    Oct 14 21:27:45 openvpn 71849 status_file_version = 1
    Oct 14 21:27:45 openvpn 71849 status_file = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 gremlin = 0
    Oct 14 21:27:45 openvpn 71849 mute = 0
    Oct 14 21:27:45 openvpn 71849 verbosity = 11
    Oct 14 21:27:45 openvpn 71849 nice = 0
    Oct 14 21:27:45 openvpn 71849 machine_readable_output = DISABLED
    Oct 14 21:27:45 openvpn 71849 suppress_timestamps = DISABLED
    Oct 14 21:27:45 openvpn 71849 log = DISABLED
    Oct 14 21:27:45 openvpn 71849 inetd = 0
    Oct 14 21:27:45 openvpn 71849 daemon = ENABLED
    Oct 14 21:27:45 openvpn 71849 up_delay = DISABLED
    Oct 14 21:27:45 openvpn 71849 up_restart = DISABLED
    Oct 14 21:27:45 openvpn 71849 down_pre = DISABLED
    Oct 14 21:27:45 openvpn 71849 down_script = '/usr/local/sbin/ovpn-linkdown'
    Oct 14 21:27:45 openvpn 71849 up_script = '/usr/local/sbin/ovpn-linkup'
    Oct 14 21:27:45 openvpn 71849 writepid = '/var/run/openvpn_client4.pid'
    Oct 14 21:27:45 openvpn 71849 cd_dir = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 chroot_dir = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 groupname = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 username = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 resolve_in_advance = DISABLED
    Oct 14 21:27:45 openvpn 71849 resolve_retry_seconds = 1000000000
    Oct 14 21:27:45 openvpn 71849 passtos = DISABLED
    Oct 14 21:27:45 openvpn 71849 persist_key = ENABLED
    Oct 14 21:27:45 openvpn 71849 persist_remote_ip = DISABLED
    Oct 14 21:27:45 openvpn 71849 persist_local_ip = DISABLED
    Oct 14 21:27:45 openvpn 71849 persist_tun = ENABLED
    Oct 14 21:27:45 openvpn 71849 remap_sigusr1 = 0
    Oct 14 21:27:45 openvpn 71849 ping_timer_remote = ENABLED
    Oct 14 21:27:45 openvpn 71849 ping_rec_timeout_action = 2
    Oct 14 21:27:45 openvpn 71849 ping_rec_timeout = 60
    Oct 14 21:27:45 openvpn 71849 ping_send_timeout = 10
    Oct 14 21:27:45 openvpn 71849 inactivity_timeout = 0
    Oct 14 21:27:45 openvpn 71849 keepalive_timeout = 60
    Oct 14 21:27:45 openvpn 71849 keepalive_ping = 10
    Oct 14 21:27:45 openvpn 71849 mlock = DISABLED
    Oct 14 21:27:45 openvpn 71849 mtu_test = 0
    Oct 14 21:27:45 openvpn 71849 shaper = 0
    Oct 14 21:27:45 openvpn 71849 ifconfig_ipv6_remote = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 ifconfig_ipv6_netbits = 0
    Oct 14 21:27:45 openvpn 71849 ifconfig_ipv6_local = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 ifconfig_nowarn = DISABLED
    Oct 14 21:27:45 openvpn 71849 ifconfig_noexec = DISABLED
    Oct 14 21:27:45 openvpn 71849 ifconfig_remote_netmask = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 ifconfig_local = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 topology = 1
    Oct 14 21:27:45 openvpn 71849 lladdr = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 dev_node = '/dev/tun4'
    Oct 14 21:27:45 openvpn 71849 dev_type = 'tun'
    Oct 14 21:27:45 openvpn 71849 dev = 'tun'
    Oct 14 21:27:45 openvpn 71849 ipchange = '[UNDEF]'
    Oct 14 21:27:45 openvpn 71849 remote_random = DISABLED
    Oct 14 21:27:45 openvpn 71849 Connection profiles END
    Oct 14 21:27:45 openvpn 71849 explicit_exit_notification = 0
    Oct 14 21:27:45 openvpn 71849 mssfix = 1450
    Oct 14 21:27:45 openvpn 71849 fragment = 0



  • But sometimes is up, but it doesn't obtain ip address.
    Annotation 2019-10-15 233721.png



  • Your image shows you have two servers and neither has any clients connected. Your client connection is down and ha ssent 0 bytes, which ctells me it didn't even try to connect.

    What happens when you click that little blue Start button?



  • Yes that's what happens, but just to clarify, I not trying to connect to the VPN server hosted on pfsense, I trying connect to PureVpn and Fastest VPN servers.

    Thanks



  • Yes, I get it. Post screens of your client config.



  • 20191016_103514.jpg Screenshot_20191016-102817_Chrome.jpg Screenshot_20191016-102842_Chrome.jpg Screenshot_20191016-102901_Chrome.jpg Screenshot_20191016-102906_Chrome.jpg Screenshot_20191016-102911_Chrome.jpg ![Screenshot_20191016-102801_Chrome.jpg](/assets/uploads/files/1571236212574-screenshot_20191016-102801_ch Screenshot_20191016-102916_Chrome.jpg rome.jpg)



  • Your settings closely match the FastestVPN pfSense guide:

    https://support.fastestvpn.com/tutorials/more-devices/pfsense

    Notable differences are you've added the Fast I/O to Custom Options when there is a checkbox for it, and they tell you to use a Send/Receive buffer of 512 while you left it at default. Fix those two issues and then try again.



  • Just did, but same error

    Screenshot_20191016-104838_Chrome.jpg


  • LAYER 8 Rebel Alliance

    The reason for the fatal error is clearly in the logs

    Oct 14 21:27:45 openvpn 71849 neither stdin nor stderr are a tty device and you have neither a controlling tty nor systemd - can't ask for 'Enter Auth Username:'. If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache.
    

    -Rico



  • Hmmm. Anything in your log file just before this line?

    Oct 14 21:27:45 openvpn 71849 Exiting due to fatal error
    

    @Rico That might just be a warning and not the actual cause of the fatal exit. His settings look good and I can't imagine how he would get into this situation.



  • @KOM so any solution?



  • I'm waiting for you to answer my question.



  • @KOM
    Oct 16 10:47:49 openvpn 86796 Exiting due to fatal error
    Oct 16 10:47:49 openvpn 86796 neither stdin nor stderr are a tty device and you have neither a controlling tty nor systemd - can't ask for 'Enter Auth Username:'. If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache.
    Oct 16 10:47:49 openvpn 86796 library versions: OpenSSL 1.0.2o-freebsd 27 Mar 2018, LZO 2.10
    Oct 16 10:47:49 openvpn 86796 OpenVPN 2.4.6 amd64-portbld-freebsd11.2 [SSL (OpenSSL)] [LZO] [LZ4] [MH/RECVDA] [AEAD] built on Oct 3 2018
    Oct 16 10:47:49 openvpn 86796 auth_user_pass_file = 'stdin'
    Oct 16 10:47:49 openvpn 86796 pull = ENABLED
    Oct 16 10:47:49 openvpn 86796 client = ENABLED
    Oct 16 10:47:49 openvpn 86796 port_share_port = '[UNDEF]'
    Oct 16 10:47:49 openvpn 86796 port_share_host = '[UNDEF]'
    Oct 16 10:47:49 openvpn 86796 auth_token_lifetime = 0
    Oct 16 10:47:49 openvpn 86796 auth_token_generate = DISABLED
    Oct 16 10:47:49 openvpn 86796 auth_user_pass_verify_script_via_file = DISABLED
    Oct 16 10:47:49 openvpn 86796 auth_user_pass_verify_script = '[UNDEF]'
    Oct 16 10:47:49 openvpn 86796 max_routes_per_client = 256
    Oct 16 10:47:49 openvpn 86796 max_clients = 1024
    Oct 16 10:47:49 openvpn 86796 cf_per = 0
    Oct 16 10:47:49 openvpn 86796 cf_max = 0
    Oct 16 10:47:49 openvpn 86796 duplicate_cn = DISABLED
    Oct 16 10:47:49 openvpn 86796 enable_c2c = DISABLED
    Oct 16 10:47:49 openvpn 86796 push_ifconfig_ipv6_remote = ::
    Oct 16 10:47:49 openvpn 86796 push_ifconfig_ipv6_local = ::/0
    Oct 16 10:47:49 openvpn 86796 push_ifconfig_ipv6_defined = DISABLED
    Oct 16 10:47:49 openvpn 86796 push_ifconfig_remote_netmask = 0.0.0.0
    Oct 16 10:47:49 openvpn 86796 push_ifconfig_local = 0.0.0.0
    Oct 16 10:47:49 openvpn 86796 push_ifconfig_defined = DISABLED
    Oct 16 10:47:49 openvpn 86796 tmp_dir = '/tmp'
    Oct 16 10:47:49 openvpn 86796 ccd_exclusive = DISABLED
    Oct 16 10:47:49 openvpn 86796 client_config_dir = '[UNDEF]'



  • That doesn't answer my question. Were there any events that happened BEFORE the fatal error message? I can't tell if that log shows old events first or new events since they're all at the same timestamp.



  • Ok let me check the order



  • It's newest entry on top, followed by old ones

    Screenshot_20191016-124249_Chrome.jpg



  • OK, so @Rico was bang on the money.

    Some Google-Fu shows that this error can happen if you give it a password-protected private key to use. The suggested fix is to run your key through openssl like this:

    openssl rsa -in YourPrivateKey.pem -out NewPrivateKey.pem
    


  • @KOM how do I do that?



  • Never mind. That advice only applies if you were making a private key with password-protection. It doesn't apply for a client-connection to a public VPN where you don't use a client cert.

    This is really weird. The error message is complaining as if either you need a user/pass and didn't supply one, or it doesn't want a user/pass and you did supply one.

    What version of pfSense is this?



  • @KOM 2.4.4-RELEASE-p3 (amd64)
    built on Wed May 15 18:53:44 EDT 2019
    FreeBSD 11.2-RELEASE-p10



  • Strange. And what happens when you delete all that and try with your other provider, PureVPN? Exact same symptoms and error?



  • @KOM ya same thing



  • It's suspicious that it fails the same way with a different config and provider.

    I don't have any other suggestions, sorry.



  • I found the problem and it's working now, my pfblocker has the same subnet ip as the purevpn was trying to obtain. Only issue now is when I am connect to openvpn, the dns stops working ex: youtube.com when typed, but if I type the ip of youtube "172.217.13.206" manually on address bar it works.



  • Funny you should mention that. I just got an SG-1100 and was configuring it last night. I have 3 VPN connections defined, and when I bring one up in particular, everything dies. I also have pfB loaded. I was about to spend time today researching the problem but you may have just solved it for me.



  • @KOM so did it solve the problem?



  • No, it turned out to be a DNS issue.



  • @KOM I am having same issue, DNS stops working, when connected to OpenVPN



  • I think I had to specify a gateway under General Settings - DNS Servers.



  • @KOM I tired that, same thing dns stops working.



  • DNS fails for all of pfSense (not just LAN clients) when you bring a tunnel up? You can't resolve via Diagnostics - DNS Lookup?



  • @KOM Is it a bug?



  • I doubt it. Config problem 99.9% of the time. What about my questions?


Log in to reply