i want to route private subnets when connect to openvpn
Posted: Mon Nov 26, 2012 5:51 am
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
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