Set up an L2TP VPN Server on Windows Server 2012

Set up an L2TP VPN Server on Windows Server 2012

Remote Access Logging

Remote Access Logging

This is not required in order to have a working VPN but I suggest you to have a look as logs are also important.

  1. Open Routing and Remote Access.
  2. Right click on Remote Access Logging & Policies and click Launch NPS.
    • remote-access-logging-policies-properties
  3. Now here you can even use the setup Wizard in order to set up logging against an SQL server for instance. I don’t want to do that as I only want to change the log file location and the behavior should the logging fail.
  4. Under Accounting click Change Log File Properties.
    • remote-access-logging-policies-accounting-change-log-file-properties
  5. I will keep If logging fails, discard connection requests checked as it’s important to prevent new connections should the logging fail as a) it’ll help me noticing right away when I try connecting and b) I will have the latest logs available should the VPN server fail for any reason.
    • remote-access-logging-policies-log-file-properties
  6. Under Log File tab instead, I changed the log file location to match a subfolder so that the VPN logs will not be mixed with others. Since this is a test and I won’t have much logging going on as it’s not a production box, I also want to create a new log every 5MB and start deleting them should the disk get full.
    • remote-access-logging-policies-log-file-properties-log-file

This is how to set up an L2TP VPN Server on Windows Server 2012 R2 from start to finish, enjoy!

IT Droplets

IT Droplets