2023-07-04 12:59:44 +02:00

5 lines
472 B
PowerShell

Add-VpnConnection -Name "VPN_FICHORGA" -ServerAddress "vpn3.fichorga.com" -TunnelType IKEv2 -EncryptionLevel Required -AuthenticationMethod EAP -SplitTunneling -AllUserConnection
Add-VpnConnectionRoute -ConnectionName "VPN_FICHORGA" -DestinationPrefix 10.0.0.0/8 -PassThru
Add-VpnConnectionRoute -ConnectionName "VPN_FICHORGA" -DestinationPrefix 120.0.0.0/8 -PassThru
Add-VpnConnectionRoute -ConnectionName "VPN_FICHORGA" -DestinationPrefix 84.246.219.0/24 -PassThru
Pause