Page 1 of 1

i want to route private subnets when connect to openvpn

Posted: Mon Nov 26, 2012 5:51 am
by plasticMummy
i want to route private subnets when connect to openvpn
i want to route some subnet like 172.16.2.0 255.255.255.0 do not use openvpn.

i can do it run a bat on windows like

route add 172.16.2.0 mask 255.255.255.0 172.16.1.1

but when i use up parameter on client.ovpn ,
[
script-security 3
up my.bat
]
it is error said can not run it

how can i do it?
thanks

Re: i want to route private subnets when connect to openvpn

Posted: Mon Nov 26, 2012 6:19 pm
by maikcat
hi there,

please post your configs and more detailed info about your setup

Michael.