Page 1 of 1

Route add in windows client

Posted: Fri Mar 31, 2017 11:07 pm
by sgtoartilleria
Hi, in client config the command "route-up" donĀ“t work.

route-up "C:\\Windows\\System32\\ROUTE.EXE ADD 10.166.0.0 MASK 255.255.0.0 192.168.77.1"
Options error: --route-up script fails with 'C:\Windows\System32\ROUTE.EXE ADD 10.166.0.0 MASK 255.255.0.0 192.168.77.1': No such file or directory

route-up "ROUTE add 10.166.0.0 mask 255.255.0.0 192.168.77.1"
Options error: --route-up script fails with 'ROUTE add 10.166.0.0 mask 255.255.0.0 192.168.77.1': No such file or directory

Any solution?

Best regards

Re: Route add in windows client

Posted: Sat Apr 01, 2017 11:58 am
by TinCanTech
Try like so:

Code: Select all

route-up "C:/Windows/System32/ROUTE.EXE ADD 10.166.0.0 MASK 255.255.0.0 192.168.77.1"

Re: Route add in windows client

Posted: Sat Apr 01, 2017 12:57 pm
by TinCanTech
A simpler way would be to add to your client config file:

Code: Select all

route 10.166.0.0 255.255.0.0 192.168.77.1