[DLL] - A dll to create L2TP VPN connection

Discuss other useful utilities, general computing tips & tricks, Internet resources, etc.
tmplinshi
Posts: 1604
Joined: 01 Oct 2013, 14:57

[DLL] - A dll to create L2TP VPN connection

19 Oct 2013, 13:19

Found this dll from: http://www.autoitx.com/redirect.php?got ... id=7662608

Example:

Code: Select all

DllCall("Create_L2TP_VPN\createConn", "Astr", "vpn1", "Astr", "1.2.3.4")
This will create a L2TP VPN connection, named vpn1, and IP is 1.2.3.4.

Then you can connect to this vpn through command line, for example:

Code: Select all

rasdial.exe "vpn1" VPN_Username VPN_password /phone:VPN_IP
Downloads:
Dll: https://drive.google.com/open?id=1M3_UJ ... d5hPOjQDId
Src: https://drive.google.com/open?id=1FP3K9 ... sWltA8XExM

BTW, you can open the "Network Connections" by executing one of below commands:
  • ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
  • ::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
  • ncpa.cpl
  • shell:ConnectionsFolder

Return to “Other Utilities & Resources”

Who is online

Users browsing this forum: No registered users and 39 guests