Community discussions

MikroTik App
 
vladoboss
just joined
Topic Author
Posts: 23
Joined: Mon Feb 01, 2010 12:05 am

Full funcionality of openvpn server on RouterOS

Thu Dec 26, 2013 11:56 pm

I want to use openvpn server on Mikrotik with multiple Mikrotik routers as clients. How can I propagate and receive routes automatically on openvpn server? I don't want to use Linux machine as a server because my company have bought large quantity on Mikrotik routers and I want to use unified solution for our clients.
Now, on Linux machine I can create ccd folder in which I can place files based on names of clients certificate in which I can place route for each client, eg:
in file client1 i have
ifconfig-push 10.24.10.24 10.24.10.25 # ip address pair for tunnel
iroute 192.168.2.0 255.255.255.0 # internal network on remote client
in file client2 I have
ifconfig-push 10.24.10.27 10.24.10.28
iroute 192.168.3.0 255.255.255.0

and in server config file
client-config-dir ccd
route 192.168.2.0 255.255.255.0 #internal network on openvpn client1
route 192.168.3.0 255.255.255.0 #internal network on openvpn client2
push "route 192.168.1.0 255.255.255.0" #internal network on openvpn server which is propagated to all connected clients

On all manuals I've read I didn't find solution for this, only basic vpn solution for clients on laptop/computers without internal networks to propagate.
 
chk
just joined
Posts: 3
Joined: Fri Oct 11, 2013 7:05 pm

Re: Full funcionality of openvpn server on RouterOS

Mon Dec 30, 2013 1:01 am

Sorry but current OpenVPN implementation in RouterOS doesn't support push routes.
Is currently listed on Feature Requests