OPNsense Local Configuration

To get started with WireGuard in OPNsense, download & install the plug-in available by naviagting through the Web GUI @ System ---> Firmware ---> Plugins:

image.png

 

Instance/Peer

Next, find Wireguard under the VPN tab in the menu and select WireGuard. Navigate to "Instances" to create and set up an instance. Select the "+" icon and edit your instance:

instance config.png

Next, navigate to the "Peer" tab next to Instances, and select the "+" icon to add a new peer. Keep in mind, you'll need to be configuring your WireGuard Client simultaneously as you configure your peer, as you'll need you public key from your WireGuard client:

peer config.png

Client 

On your laptop or WireGuard client that will be connecting to this network, you'll need to set up a config file. 

Install the WireGuard client by downloading it from their website - WireGuard

Launch the client on your laptop, and select add tunnel:

add tunnel.png

Next, you be able to configure your tunnel

Tunnel config.png

With OPNsense configured and your client configured, you'll just need to configure some firewall rules to let your computer access local devices. Check out the next page to see how!


Revision #2
Created 31 March 2024 23:27:33 by Austin
Updated 1 April 2024 19:48:12 by Austin