Page 2 of 2

Route add / route delete

Posted: Sat Feb 26, 2011 11:30 am
by Bzh7000
Any solution to automatic :

route add abc.def.ghi.klm MASK 255.255.255.252 192.168.159.1
enter
route delete abc.def.ghi.klm MASK 255.255.255.252 192.168.159.1
enter

and then obtain the share on server ?

Thanks

Re: Ping only at the opening of VPN

Posted: Mon Feb 28, 2011 8:24 am
by janjust
if you need to run such route commands on the client, use an 'up' script/batch file:

Code: Select all

script-security 2
up up.bat
where "up.bat" contains the route/net use commands you want

Instead of using "up up.bat" you can also use

Code: Select all

route-up up.bat

[Resolved] Re: Ping only at the opening of VPN

Posted: Tue Mar 01, 2011 9:54 am
by Bzh7000
I have only 8 IP but the diffused lan
Must be : 178.uvw.xyz.0/24
and NOT : 178.uvw.xyz.88/30

Now, everything is OK now :P