Create VPN Auto Connect with Windows Logon

Here is the configuration when Auto Connect VPN Logon Windows, where the VPN connection will be activated immediately once we log into our Windows. Whether you access your PC / Laptop Stand Alone or Client PC connected to the network even as a member of the Domain. Step - steps are as follows:

1. We have already set up a VPN Server and VPN User Accounts set up that we have set. For the VPN server does not have to use Mikrotik, but whatever product we can do a VPN server with the same settings.



 2. Next we make / our VPN Client configuration settings. You can follow this guide,





 3. Here is the name that MUST BE VPN Connection .. for example I demonstrated with the name of the XPS-VPN.



 4. Furthermore, the VPN Connection which we have made, we then we have to make script that we can make with BATCH FILE nor can we Coding and Compile as a separate EXE application. On Windows, we utilize the function of RASDIAL.EXE.

The structure of the command is:

rasdial.exe 'vpn-connection-name' 'name-vpn-username' 'password-vpn'




5. Next we create a Shortcut from BATCH FILE script that we created earlier. Shortcut and should we put STARTUP folder in the Start Menu -> ProgramFiles.

6. We can then put through testing with a PC or Laptop Restart us ... And the result of success as we want ...

 Not so easy? Good luck and hopefully this tutorial useful ...

Greetings ....




 
Labels: VPN
0 Komentar untuk "Create VPN Auto Connect with Windows Logon"

Back To Top