Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save maximishchenko/6a34c3bf8d0e0979de88 to your computer and use it in GitHub Desktop.
Save maximishchenko/6a34c3bf8d0e0979de88 to your computer and use it in GitHub Desktop.
Create VPN Connection in Windows 10 (PowerShell)
add-vpnconnection -name "<Name_of_VPN_connection>" -serveraddress "<hostname_or_ip_address>" -splittunneling -tunneltype "l2tp"
# Where:
# splittunneling - use Gateway at Remote Network
# tunneltype - type of VPN-connection (pptp or l2tp)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment