Set up an L2TP VPN Server on Windows Server 2012

Set up an L2TP VPN Server on Windows Server 2012

Configure the local Windows Server 2012 R2 Firewall to accept incoming L2TP traffic

Configure the local Windows Server 2012 R2 Firewall to accept incoming L2TP traffic

This step will allow you to get traffic through the Windows firewall, all it’s required is a simple rule.

  1. Open Windows Firewall with Advanced Security (Run > wf.msc).
  2. Click New Inbound Rule. The Wizard will open.
  3. On Rule Type, select Port.
    • windows-firewall-new-incoming-rule-l2tp-port-rule-type
  4. Under Protocol and Ports, select UDP and specify the port to open. In order to allow L2TP traffic, type 1701.
    • windows-firewall-new-incoming-rule-l2tp-protocol-and-ports-1701
  5. On Action, select Allow the connection if it is secure.
    • windows-firewall-new-incoming-rule-allow-connection-if-secure
  6. Leave the rest of the steps as they are until you reach the Name step. Give it a name and a description.
    • windows-firewall-new-incoming-rule-l2tp-name

You will see the newly created rule in the list. You can always edit this rule afterwards. This is how it looks if, for instance, you want to allow an extra port.

windows-firewall-incoming-rule-properties-protocols-and-ports

IT Droplets

IT Droplets