OpenVPN client connection to server network

Hi guys,

hope someone can help me.

I’m trying to configure an OpenVPN server on my RB5009UG but I’m struggling with a strange behaviour.
Everytime I try to connect with a client, I get the connection refused, even if I’ve explicitly allowed TCP packets on port 1194 (configured as OpenVPN server port) and I can see the packets coming from my client being accepted correctly.

After a lot of trials, I discovered a really strange behaviour.
I can connect successfully only once after I’ve made a modification to the OpenVPN Server configuration on my RB5009.

I’ve tried a lot of times, and I can confirm that this is a recursive behaviour.

Any suggestion on how to fix it?

Thanks

hello

have you follow this guide,

https://wiki.mikrotik.com/wiki/Manual:Interface/OVPN

try post your config - so that forum members can help you.

I solved the problem swicthing from TCP to UDP.

But now I’ve problems on reaching my LAN.

My lan network is 10.0.0.0/16 where the RB5009UG is 10.0.0.1 .

I’ve tried setting the VPN Profile with Local Address = 10.10.0.1 and Remote Address = VPN_Pool (10.10.0.2-10.10.0.10).
OVPN Server Network set to 16.
Changed the bridge ARP to proxy-arp.
Configured the route on the client .ovpn (route 10.0.0.0 255.255.0.0).

What I’m doing wrong?