I set up OpenVPN server on my VPS and want to route some IP on my Mikrotik over it.
So, server config is
Code: Select all
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"
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?