Establish a VPN connection in cmd

后端 未结 3 1812
渐次进展
渐次进展 2020-12-13 13:10

How can I create a VPN connection with an arbitrary server using an arbitrary protocol in Windows cmd?

3条回答
  •  误落风尘
    2020-12-13 13:35

    Have you looked into rasdial?

    Just incase anyone wanted to do this and finds this in the future, you can use rasdial.exe from command prompt to connect to a VPN network

    ie rasdial "VPN NETWORK NAME" "Username" *

    it will then prompt for a password, else you can use "username" "password", this is however less secure

    http://www.msfn.org/board/topic/113128-connect-to-vpn-from-cmdexe-vista/?p=747265

提交回复
热议问题