Creating an IPsec VPN tunnel
This recipe describes how to configure pfSense to establish a VPN link using an IPsec tunnel.
Getting ready
IPSec is often the preferred method for network-to-network (as opposed to client-to-network) connections. A typical scenario involves creating a permanent, secure connection between headquarters and a branch office.
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...
- Browse to VPN | Ipsec.
- Click the “plus” button to create an IPsec tunnel.
- Specify the Remote gateway.
- Add a Description:
- Enter a Pre-Shared Key
Get pfSense 2 Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.