In this recipe, we left out any explanation of a number of options available for configuring IPsec connections in pfSense. Here are some of the more useful options:
- Phase 1 configuration:
- Key Exchange: We can choose between IKEv1 (V1), IKEv2 (V2), or Auto. If Auto is chosen, IPsec will use IKEv2 when initiating a connection, but will use either IKEv1 or IKEv2 when accepting a connection.
- Internet Protocol: pfSense currently supports both IPv4 and IPv6 for IPsec.
- Interface: Usually, the endpoint of our tunnel is the WAN interface, but we can set this parameter to any interface we choose.
- Remote Gateway: This is the IP address of the remote firewall, and is usually the same as the WAN IP address of that firewall.
- Authentication ...