O'Reilly logo

pfSense 2 Cookbook by Matt Williamson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring the L2TP VPN service

This recipe describes how to set up pfSense as a L2TP VPN server.

Getting ready

It’s important to understand that unlike the other VPN implementations, L2TP does not encrypt any data. L2TP is simply a method of encapsulation and should only be used over trusted networks, or in conjunction with IPsec. A major advantage of L2TP, however, is that it can be used with non-IP networks.

Note

Networks connected through VPN must use different subnets. For example, if both networks use the 192.168.1.0/24 subnet, then VPN will not work.

How to do it...

  1. Browse to VPN | L2TP.
  2. On the Configuration tab, check Enable L2TP Server.
  3. Specify an unused IP for the Server address.
  4. Specify an unused starting IP for the Remote address range. The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required