Создание L2TP/SSTP/PPTP Tunnel Powershell

Быстрое создание SSTP подключение через PS с созданием маршрутов через данный туннель.

Профессиональная настройка MikroTik


Telegram: @Engineer_MikroTik
WhatsApp: +7(903)556-73-37

Все сертификаты
10 лет опыта
Гарантия
ЭДО

Создаем SSTP:

Add-VpnConnection -Name "SSTP" -ServerAddress "sstp.1side.ru" -TunnelType "SSTP" -EncryptionLevel "Required" -AuthenticationMethod MSChapv2 -RememberCredential -SplitTunneling -PassThru

Создаем маршрут:

Add-VpnConnectionRoute -ConnectionName "SSTP" -DestinationPrefix 192.168.0.0/24 –PassThru
Add-VpnConnectionRoute -ConnectionName "SSTP" -DestinationPrefix 172.16.12.0/12 –PassThru
Add-VpnConnectionRoute -ConnectionName "SSTP" -DestinationPrefix 10.0.0.0/8 –PassThru