Community discussions

MikroTik App
 
Magres
just joined
Topic Author
Posts: 7
Joined: Mon Dec 11, 2017 2:06 pm

OpenVPN client (ip mode) routing

Fri Apr 20, 2018 9:33 am

Hi everyone.

I set up OpenVPN server on my VPS and want to route some IP on my Mikrotik over it.
So, server config is
port 1234
proto tcp
dev tun
ca keys/ca.crt
cert keys/server.crt
key keys/server.key
dh keys/dh2048.pem
server 10.201.1.0 255.255.255.0
client-to-client
ifconfig-pool-persist ipp.txt
keepalive 10 120

user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn/server-status.log
verb 3
push "redirect-gateway def1"
My windows client is ok.
On my RouterOS client is up as well, but It's not able to route specific IP over gateway 10.201.1.1 with "unreachable" state. Ping server 10.201.1.1 is ok. How to fix it?
 
Magres
just joined
Topic Author
Posts: 7
Joined: Mon Dec 11, 2017 2:06 pm

Re: OpenVPN client (ip mode) routing

Fri Apr 20, 2018 9:08 pm

Solved. Just use "topology subnet" on server.

Who is online

Users browsing this forum: afuchs, altermeinhausbrennt, CoMMyz, Kindis and 73 guests