HI,
I have configured an openvpn server on my mikrotik. Mikrotik is connected to ans ISP modem and gets an ip 192.168.24.107.
Each openvpn client when connected gets an ip in range 192.168.88.10-192.168.88.50 reserved pool.
I want that the openvpn client to connect by remote desktop on a server with ip 192.168.24.12(different range from the ip he gets from vpn connection) .
The vpn client might connect from desktop pc or from android or IOS device.
Can I do this by adding a route in .ovpn client file or there are better ways you can suggest?
Thanks
Does my question makes sense or I am trying to create sth that simply does not work. What I am trying to do is to access from VPN LAN range(192.168.88.0/24) , which is same as mikrotik dhcp range, the office LAN PC that have a different range(192.168.24.0/24).
Hi.
It’s a bit confusing for me, why the server has an IP in the (let’s call it) ISP modem range? Or maybe it’s just some misstyping?
In general you need:
- entry in Mikrotik pointing out route to 192.168.24.0/24.
- route in OpenVPN client config with that network.
- firewall accept rule on mikrotik from 192.168.88.0/24 to 192.168.24.0/24.
I assume here that openVPN connection is working.
When I say server , I don’t mean mikrotik, but just a workstation that is connected in the LAN of the of the ISP router in range 192.16.24.0/24. This was an existing network. I just added a mikrotik device and connected it to the existing network. I just wanted to make possible vpn connection to office LAN through RDP. But vpn clients get an ip in range 192.168.88.0/24 and this is how I need it.
I noticed that If I add route in openvpn config client file(as in point 2 you wrote above), then I can make rdp connection. I was wondering if it is possible not to add route in client config file and maybe add it through mikrotik for each vpn client.