Windows 7/8/10
  • Initial page
  • 2.EWF
  • 9.改變桌布
  • 10.goto
  • 1.變數
  • 1.FBWF (File Based Write Filter)
  • 1.About Clonezilla
  • 2.Connect to VPN server on Windows 7
  • 3.UWF
  • 1.Create VPN server on Windows 7
  • 1.turn on firewall
  • 3.Dial to VPN by Windows command
Powered by GitBook
On this page

Was this helpful?

3.Dial to VPN by Windows command

  • 1.Create a vpn.txt in "c:\Windows\System32\ras\" folder:

[CONNECTION NAME] MEDIA=rastapi Port=VPN2-0 Device=WAN Miniport (IKEv2) DEVICE=vpn PhoneNumber=192.168.31.21

  • 2.Copy vpn.txt's content to type "c:\Windows\System32\ras\rasphone.pbk"

type vpnConfig.txt>>rasphone.pbk

  • 3.Dial it

    rasdial "CONNECTION NAME"

Previous1.turn on firewall

Last updated 5 years ago

Was this helpful?