OPNSense Site to Site configuration

Configuring a VPN Appliance for Site to Site Connections

The VPN Appliance is powered by OPNsense, a leading open source network security platform based on FreeBSD. See https://www.opnsense.org
This is a powerful vpn platform with security built in protocols that will allow you to easily create a site to site VPN tunnel between one or more of your servers and external peers. The configuration of the VPN Appliance is done using the OPNsense user interface. Some configuration settings on your server must be performed via the command line. This guide explains how to set up your site to site VPN. If you would like to have GSS perform the setup and configuration for you, contact office@gss-portal.com


This is a step by step instruction on how to configure a Site to Site vpn with opnsense.

  1. Step 1 > Access your vpn management interface > go to VPN > select IPSEC > Tunnel Settings and
    configure a new phase 1 details > Connection Method, Key Exchange, Interface, Description:


    ipsec site to site

  2. Continue setting up the phase 1 connection details with: 
    Authentication methods, Connection Identifier, Pre shared key, Encryption Algorithm, dh key group
    ipsec site to site

  3. Make sure to check tunnel isolation box.
  4. Click the + sign to start a new phase 2 setup.


  5. Add a new tunnel (phase 2 details)
    Local Network, Remote Network, Encryption Protocol, Encryption Algorithm, Hash Algorithm, pf
  6. Enable IPSEC for the connection.

  7. Check status of the connection.

 

 

  • vpn, site-to-site, opnsense
  • 7 Users Found This Useful
Was this answer helpful?

Related Articles

 Openvpn needs a gateway parameter for a route option and no default was specified

When this error is received you may need to do one of the following: enable tunnel isolation...

 Configuring a VPN Appliance for Remote Access

VPN Server Appliance Powered by OPNsense The VPN Appliance is powered by OPNsense, a...

 Shadowsocks socks proxy configuration and installation

How to install and configure Shadowsocks libev SOCKS5 proxy server on Centos and Ubunu...

 VPN Types

Planning ahead is required before choosing a VPN solution to make sure that the VPN solution...

 VPN Encryption and Security Protocols

VPN Encryption and Security Protocols Whenever you are planning and then deploying a VPN...