Community discussions

MikroTik App
 
lechat75
just joined
Topic Author
Posts: 24
Joined: Sun Jun 21, 2020 12:24 pm

ROS 7.8 (CHR@Vmware)) :: OVPN NOK :: 2.4.9 to 2.6.3

Wed May 10, 2023 7:09 pm

Hello,
OVPN does not work.
Config file seems OK.
Client too.
I did not reach authentication stage (wich is radius (ppp))
Firewall is OK





Logs from server said :
IP xxx disconnected <wrong OVPN data>

Logs from client said :
Connection reset, restarting [0]

Client Config :

client
dev tun
proto tcp-client
persist-key
persist-tun
tls-client
remote-cert-tls server
verb 10
auth-nocache
mute 10
remote x.x.x.x
port 1194
auth SHA1
cipher AES-256-CBC
data-ciphers AES-256-CBC
data-ciphers-fallback AES-256-CBC
redirect-gateway def1
ca [inline]
cert [inline]
key [inline]

<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>

<cert>
-----BEGIN CERTIFICATE-----
-----END RSA PRIVATE KEY-----
</cert>

<key>
</key>

Server config :
add name=ovpn-pool ranges=192.168.137.2-192.168.137.254

interface/ovpn-server> server/ print
enabled: yes
port: 1194
mode: ip
protocol: tcp
netmask: 24
mac-address: FE:BD:D8:4A:38:63
max-mtu: 1500
keepalive-timeout: 60
default-profile: ovpn
certificate: server
require-client-certificate: no
tls-version: any
auth: sha1
cipher: aes256-cbc
reneg-sec: 3600
redirect-gateway: disabled
enable-tun-ipv6: no
tun-server-ipv6: ::
ipv6-prefix-len: 64

name="ovpn" local-address=192.168.137.1 remote-address=ovpn-pool bridge-learning=no use-ipv6=no use-mpls=no use-compression=default use-encryption=yes only-one=default change-tcp-mss=default use-upnp=default
address-list="" dns-server=8.8.8.8,8.8.8.4 on-up="" on-down=""

Any idea ?
7.9 ?
Many thanks

Who is online

Users browsing this forum: Amazon [Bot], GoogleOther [Bot], Kanzler, limsonbros and 44 guests