The Linux client authenticates with the Mikrotik server.
Both Mikrotik and Linux can ping the Linux (client) endpoint of the tunnel, but neither can ping the Mikrotik (server) endpoint of the tunnel.
The Mikrotik had no "ip addr" for the tunnel, it allowed me to add one but it shows as invalid.
The Linux OpenVPN log looks like everything is fine, except it disconnects periodically for inactivity. The Mikrotik log shows events "duplicate packet, dropping" with topics ovpn,debug,error,l2tp,info,debug, and a number of others as far as I can see "unknown".
Linux end (client):
Code: Select all
dev tun2
# 10.20.0.165 is our local VPN endpoint (client).
ifconfig 10.20.0.165 10.20.0.166
proto tcp-client
local 10.1.15.254
remote 10.1.15.1
port 1194
topology p2p
ca /etc/openvpn/keys2048/ca.crt
cert /etc/openvpn/keys2048/cem05sim06-client.crt
key /etc/openvpn/keys2048/cem05sim06-client.key
ns-cert-type server
cipher AES-256-CBC
auth none
tls-client
comp-noadapt
passtos
ping 15
ping-restart 45
persist-tun
persist-key
resolv-retry infinite
Code: Select all
/ppp profile add local-address=10.20.0.166 name=cem05sim06 remote-address=10.20.0.165 use-comp=no use-encryp=required change-tcp-mss=yes bridge=bridge-local
/int ovpn-server server pr
enabled: yes
port: 1194
mode: ip
netmask: 30
mac-address: FE:E7:A9:68:04:C8
max-mtu: 1500
keepalive-timeout: 60
default-profile: cem05sim06
certificate: cem05sim06-server.crt_0
require-client-certificate: yes
auth: null
cipher: aes256
/int ovpn-sever add name=cem05sim06 disabled=no user=
/ip addr add int=cem05sim06 address=10.20.0.166/30
Code: Select all
/ip addr pr
In the Web GUI, cem05sim06 shows up in PPP-Interface and in Interfaces.
I tried
Code: Select all
/ip route add dst-address=10.20.0.164/30 gateway=cem05sim06
Help Please!