I'm struggling with configuring the client part of a Site-2-Site OVPN.
For the same person i have already configured a Site-2-Client (same server) which works properly.
I have only one file available : The windows client .ovpn file
From that, i was able to extract the ca.crt, the client.crt, the client.key and one more key, the client_tls.key (the .ovpn has a "tls-crypt" parameter)
I was able to import the ca.crt, the client.crt, and the two keys succesfully,
- either by importing them one by one
- or by importing the .ovpn as it is (it detected and seperated the two certs automatically)
Now, as you can see from the .ovpn file below, the client uses udp and also compression
Code: Select all
client
dev tun
proto udp
remote xxxxxx.xxxxx.xxxx xxxx
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
remote-cert-tls server
compress
verb 3
cipher AES-256-GCM
auth SHA512
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384
tls-crypt new-test.key
tls-version-min 1.2
auth-retry nointeract
I also guess that i should be ok with compression because i have set a ppp profile with "Use Compression" = Yes (am i really ???)
The problem is that - as you saw above - the client config from the .ovpn file doesn't provide me with any username or password.
Without knowing what to do, I just used a random username and no password
My Ovpn link seemed to be established :
I was very happy at first.
But then i got this on my Logs :
So i think i got two problems, one with encryption and another with authentication.
Even if i figure out something about TLS, how can i implement this on Mikrotik without using credentials ?
The client keeps claiming that he have been told this is possible......