Example 1 – Site-to-site IPsec configuration

As mentioned earlier, a VPN tunnel can be peer-to-peer or client-server, and in this example, we will simulate a VPN tunnel that might be set up if we had to connect two facilities—likely run by the same company—that both have their own private networks, but are separated by a considerable distance. There are two pfSense firewalls at the boundary of each private network and the internet; therefore, the endpoint for each tunnel will be the firewall's WAN interface, and the configurations at either end will be identical. Setting up our site-to-site IPsec tunnel involves creating Phase 1 and Phase ...

Get Learn pfSense 2.4 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.