Community discussions

MikroTik App
 
seenms
just joined
Topic Author
Posts: 1
Joined: Sat Mar 25, 2023 2:09 pm

OpenVPN Server configuration problem

Sat Mar 25, 2023 2:22 pm

Hello.
I have a problem with configuring and connecting to the OpenVPN server on mikrotik RB5009UG+S+IN. The router has an external address: 200.156.34.2 (but dynamic, I use dyndns (xxx.dyndns.org)). I would like to have access to the entire subnet with the router (192.168.88.1-192.168.88.254).
I made the configuration according to this description: https://help.mikrotik.com/docs/display/ ... OVPNServer
Unfortunately, when I try to connect from the outside, I get the message: server pool time out.
How should the subnet access configuration look like in this case?

/interface ovpn-client
add name=ovpn-client1 connect-to=200.156.34.2 user=client1 password=123 disabled=no
/ip route
add dst-address=192.168.88.0/24 gateway=ovpn-client1
/ip firewall nat add chain=srcnat action=masquerade out-interface=ovpn-client1

What should the configuration file for the OpenVPN client look like?

Who is online

Users browsing this forum: almdandi, DeltaCreek, Fasder, Google [Bot], korg, ptoump, TeWe and 81 guests