- Navigate to **VPN > OpenVPN**, **Servers** tab
- Click  **Add** to create a new server
- Fill in the fields as described below, with everything else left at defaults.
Use values appropriate for this network, or the defaults if unsure.
See also
See [
Server Configuration Options](https://docs.netgate.com/pfsense/en/latest/vpn/openvpn/configure-server.html) for details on each of these options.
- Description
- Enter text to describe the connection, e.g. `Site-to-Site VPN`.
- Server Mode
- *Peer to Peer (SSL/TLS)*
- DCO (Plus Only)
- Check this box to activate the [OpenVPN Data Channel Offload (DCO)](https://docs.netgate.com/pfsense/en/latest/vpn/openvpn/dco.html#openvpn-dco) feature for the server if desired.
See also
See [OpenVPN Data Channel Offload (DCO)](https://docs.netgate.com/pfsense/en/latest/vpn/openvpn/dco.html#openvpn-dco) for additional information.
- Device Mode
- *tun*
- Protocol
- *UDP on IPv4 only*
- Interface
- *WAN*
- Local Port
- `1194`
- TLS Configuration
- Check the **Use a TLS Key** box to enable TLS authentication which provides protection for the tunnel control channel.
Leave **Automatically generate a TLS Key** checked so the firewall will generate a new key automatically the first time this entry is saved.
- Peer Certificate Authority
- Select the CA created at the beginning of this process (`S2SCA`)
- Peer Certificate Revocation List
- Select a CRL for the CA, if one exists.
- Server Certificate
- Select the server certificate created at the beginning of this process (`serverA`)
- IPv4 Tunnel Network
- Enter the chosen tunnel network, `10.3.101.0/24`
- IPv4 Local Network(s)
- Enter the LAN subnets for all sites including the server: `10.3.0.0/24, 10.5.0.0/24, 10.7.0.0/24`
Note
If there are more networks on the server side that clients need to reach, such as networks reachable via static routes, other VPNs, and so on, add them as additional entries in the **IPv4 Local Network** box.
- IPv4 Remote Network(s)
- Enter **only** the client LAN subnets: `10.5.0.0/24, 10.7.0.0/24`
- Inactive
- `0` to disable disconnecting idle clients, so that site-to-site connections can stay up indefinitely.
- Click Save.
- Click  to edit the new server instance
- Find the **TLS Authentication** box
- Select all of the text inside
- Copy the text to the clipboard
- Save this to a file or paste it into a text editor such as Notepad temporarily