I am so close to having this all working.
I am running openvpn server on a mikrotik routerboard, running routeros. I am configuring it as seen here and here:
http://itsavedmyass.cyprusmania.net/remote-access/mikrotik-openvpn-server-windows-7-client/
http://wiki.mikrotik.com/wiki/OpenVPN#Define_a_profile:
As you see both pages say that the default route will not be pushed to my windows PC and I will have to manually add it with route-up "route add ...
My VPN works fine when I remove the route-up line, and manually configure a route in windows. But when I add that line to the .ovpn file, I get this error:
Options error: --route-up script fails with 'route': No such file or directory
Options error: Please correct these errors.
Use --help for more information.
What is going on here? Is this not supported anymore? Any ideas? I am running "OpenVPN GUI" as administrator and have even tried manually running the openvpn.exe with my .ovpn file passed to it and the same error happens.
Here is my .ovpn file config:
dev tap
remote mydomain.com
proto tcp-client
tls-client
ca ca.crt
auth-user-pass
pull
nobind
persist-key
resolv-retry infinite
verb 3
script-security 2 system
route-up "route add 192.168.88.0 mask 255.255.255.0 172.21.0.1"
auth-nocache