Example:
Code: Select all
DllCall("Create_L2TP_VPN\createConn", "Astr", "vpn1", "Astr", "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
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