Community discussions

MikroTik App
 
icedcoffee
just joined
Topic Author
Posts: 1
Joined: Wed Jun 17, 2020 10:47 pm

OpenVPN client - no IP received from pfSense server

Fri Jun 19, 2020 7:21 pm

I am trying to use a MicroTik hEX S as an OpenVPN client connecting to a pfSense server. On the pfSense server side, the logs look good and the IP address is presented to the MicroTik (this was after much authentication / compression experimentation), but I'm not receiving an IP from the tunnel scope. The PPP interface says 'link established', but I don't get the 'R' for the OpenVPN interface. It has transmitted / received 0 bps. I cannot create any firewall or NAT rules with the ovpn interface because the interface is 'not ready'. If anyone could help, it would much appreciated. I have four of the devices that I would like to have configured for clients behind NAT.

Here is the pfSense log:
Jun 19 19:48:09	openvpn	7059	test1/10.10.10.25:40713 [test1] Inactivity timeout (--ping-restart), restarting
Jun 19 19:46:10	openvpn	7059	test1/10.10.10.25:40713 MULTI_sva: pool returned IPv4=10.0.254.2, IPv6=(Not enabled)
Jun 19 19:46:09	openvpn		user 'test1' authenticated
Jun 19 19:46:09	openvpn	7059	10.10.10.25:40713 [test1] Peer Connection Initiated with [AF_INET]10.10.10.25:40713
Here is the RouterOS log:
Jun/19/2020 12:08:40 ovpn,info ovpn-microtik0: terminating... - peer disconnected
Jun/19/2020 12:08:40 ovpn,info ovpn-microtik0: disconnected
Jun/19/2020 12:08:50 ovpn,info ovpn-microtik0: initializing...
Jun/19/2020 12:08:50 ovpn,info ovpn-microtik0: connecting...
Jun/19/2020 12:08:50 ovpn,debug,packet sent P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 sid=d08ec6e79854e0a0 pid=0 DATA len=0
Jun/19/2020 12:08:50 ovpn,debug,packet rcvd P_CONTROL_HARD_RESET_SERVER_V2 kid=0 sid=9cf6aebed2bf4d90 [0 sid=d08ec6e79854e0a0] pid=0 DATA len=0
Jun/19/2020 12:08:50 ovpn,debug,packet sent P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 sid=d08ec6e79854e0a0 [0 sid=9cf6aebed2bf4d90] pid=1 DATA len=0
Jun/19/2020 12:08:50 ovpn,debug,packet sent P_CONTROL kid=0 sid=d08ec6e79854e0a0 pid=2 DATA len=295
Jun/19/2020 12:08:50 ovpn,debug,packet rcvd P_ACK kid=0 sid=9cf6aebed2bf4d90 [1 sid=d08ec6e79854e0a0] DATA len=0
Jun/19/2020 12:08:50 ovpn,debug,packet rcvd P_CONTROL kid=0 sid=9cf6aebed2bf4d90 [2 sid=d08ec6e79854e0a0] pid=1 DATA len=1170
Jun/19/2020 12:08:50 ovpn,debug,packet sent P_ACK kid=0 sid=d08ec6e79854e0a0 [1 sid=9cf6aebed2bf4d90] DATA len=0
Jun/19/2020 12:08:50 ovpn,debug,packet rcvd P_CONTROL kid=0 sid=9cf6aebed2bf4d90 pid=2 DATA len=1170
Jun/19/2020 12:08:50 ovpn,debug,packet sent P_ACK kid=0 sid=d08ec6e79854e0a0 [2 sid=9cf6aebed2bf4d90] DATA len=0
Jun/19/2020 12:08:50 ovpn,debug,packet rcvd P_CONTROL kid=0 sid=9cf6aebed2bf4d90 pid=3 DATA len=263
Jun/19/2020 12:08:50 ovpn,debug,packet sent P_ACK kid=0 sid=d08ec6e79854e0a0 [3 sid=9cf6aebed2bf4d90] DATA len=0
Jun/19/2020 12:08:50 ovpn,debug,packet sent P_CONTROL kid=0 sid=d08ec6e79854e0a0 pid=3 DATA len=126
Jun/19/2020 12:08:50 ovpn,debug,packet rcvd P_CONTROL kid=0 sid=9cf6aebed2bf4d90 [3 sid=d08ec6e79854e0a0] pid=4 DATA len=51
Jun/19/2020 12:08:50 ovpn,debug,packet sent P_ACK kid=0 sid=d08ec6e79854e0a0 [4 sid=9cf6aebed2bf4d90] DATA len=0
Jun/19/2020 12:08:50 ovpn,debug,packet sent P_CONTROL kid=0 sid=d08ec6e79854e0a0 pid=4 DATA len=295
Jun/19/2020 12:08:50 ovpn,debug,packet rcvd P_CONTROL kid=0 sid=9cf6aebed2bf4d90 [4 sid=d08ec6e79854e0a0] pid=5 DATA len=233
Jun/19/2020 12:08:50 ovpn,debug,packet sent P_ACK kid=0 sid=d08ec6e79854e0a0 [5 sid=9cf6aebed2bf4d90] DATA len=0
Jun/19/2020 12:08:50 ovpn,info ovpn-microtik0: using encoding - AES-128-CBC/SHA1
Jun/19/2020 12:08:50 ovpn,debug,packet sent P_ACK kid=0 sid=d08ec6e79854e0a0 DATA len=0
Jun/19/2020 12:08:50 ovpn,debug,packet sent P_CONTROL kid=0 sid=d08ec6e79854e0a0 pid=5 DATA len=42
Jun/19/2020 12:08:50 ovpn,debug,packet rcvd P_ACK kid=0 sid=9cf6aebed2bf4d90 [5 sid=d08ec6e79854e0a0] DATA len=0
Jun/19/2020 12:10:51 ovpn,debug ovpn-microtik0: disconnected <peer disconnected>
Jun/19/2020 12:10:51 ovpn,info ovpn-microtik0: terminating... - peer disconnected
Jun/19/2020 12:10:51 ovpn,info ovpn-microtik0: disconnected
Jun/19/2020 12:11:01 ovpn,info ovpn-microtik0: initializing...
Jun/19/2020 12:11:01 ovpn,info ovpn-microtik0: connecting...

Who is online

Users browsing this forum: eworm, jonah1810, ronal01, Sob and 72 guests