I am trying to connect my routerOS device to my Linux OpenVPN server. The problem is that when I enable the ovpn-client interface, I lose Internet connectivity (pppoe-client configured on the same routerOS device). And the vpn doesn't work.
If I try to ping anything on Internet after enabling my ovpn-client, I get a "no route to host" error message. But, looking at my routes, the default route is still there...
My configuration on routerOS:
Code: Select all
/interface ovpn-client add certificate=<certificate> connect-to=<OpenVPN server ip> mode=ip user=routeros password=<password> profile=default add-default-route=no
Code: Select all
port 1194
proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 192.168.3.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
max-clients 1
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 3