Создаём новый блокнот > Открываем > Вписываем туда >

@echo off
if -%1==- goto info

ping %1 -n 2|find "TTL"
if errorlevel 1 goto bad_gateway

ping 10.2.0.1 -n 2|find "TTL"
if errorlevel 1 goto check_connection
ping 10.3.0.1 -n 2|find "TTL"
if errorlevel 1 goto check_connection
ping ya.ru -n 2|find "TTL"
if errorlevel 1 goto resume
echo Disconnect your VPN
goto exit

:resume
route add 10.0.0.0 mask 255.0.0.0 %1
ping 10.2.0.1 -n 2|find "TTL"
if errorlevel 1 goto bad_gateway
ping 10.3.0.1 -n 2|find "TTL"
if errorlevel 1 goto bad_gateway

route add 10.0.0.0 mask 255.0.0.0 %1 -p
route add 83.167.65.128 mask 255.255.255.128 %1 -p
route add 83.167.65.64 mask 255.255.255.192 %1 -p
route add 83.167.65.32 mask 255.255.255.224 %1 -p
route add 83.167.65.16 mask 255.255.255.240 %1 -p
route add 83.167.65.8 mask 255.255.255.248 %1 -p
route add 83.167.65.4 mask 255.255.255.252 %1 -p
route add 83.167.65.3 mask 255.255.255.255 %1 -p
route add 83.167.65.1 mask 255.255.255.255 %1 -p
route add 83.167.72.0 mask 255.255.248.0 %1 -p
route add 83.167.80.0 mask 255.255.254.0 %1 -p
route add 83.167.82.0 mask 255.255.254.0 %1 -p
goto exit

:info
echo Usage: %0 [Default gateway]
goto exit

:check_connection
echo Check your connection 2 campus
goto exit

:bad_gateway
echo Invalid Gateway
route delete 10.0.0.0 mask 255.0.0.0 %1

:exit

Всё выбираем сахронит как > пишим любое имя допустим Internet.bat бат запомните в конце подпишите обязательно!!!
Всё запускайте и потом проверяйте!