44Net Connect/Quick Start/OPNsense: Difference between revisions
Changed section title |
Wrote section on copying tunnel details into OPNsense |
||
| Line 11: | Line 11: | ||
== Generate a keypair in OPNsense == | == Generate a keypair in OPNsense == | ||
Navigate to <code>VPN > WireGuard > Instances</code> in your OPNsense web GUI and create a new instance. Click the gear button to generate a public key/private key keypair. | Navigate to <code>VPN > WireGuard > Instances</code> in your OPNsense web GUI and create a new instance. Click the gear button to generate a public key/private key keypair. | ||
== Create a tunnel in 44Net Connect == | |||
Open your [https://connect.44net.cloud/tunnels tunnels page in 44Net Connect] and click <code>Request a Tunnel</code>. Select your preferred server. In the <code>Public Key</code> field, paste the public key generated in OPNsense, then <code>Create Tunnel</code>. Save the wg-quick WireGuard config for use in later steps. | |||
== Copy the tunnel details into OPNsense == | |||
=== Fill out instance === | |||
Go back to your OPNsense Web UI. Give your instance a name, and fill out the <code>Tunnel address</code> field with the addresses from the <code>[Interface]</code> section of the config. Check the <code>Disable routes</code> checkbox, then save your instance. | |||
=== Fill out peer === | |||
Go to <code>VPN > WireGuard > Peers</code> in your OPNsense Web UI, and click the orange <code>+</code> button in the bottom right to create a new peer. Give it a name, and paste the <code>PublicKey</code> value from the <code>[Peer]</code> section of your config file into the peer's <code>Public key</code> field. If you configured a pre-shared key when creating your tunnel, enter it in | |||
the <code>Pre-shared key</code> field. Also copy in <code>Allowed IPs</code>, <code>Endpoint address</code>, <code>Endpoint port</code>, and <code>Keepalive interval</code> from the <code>[Peer]</code> section of your config file. | |||
In the <code>Instances</code> field, use the drop-down menu to select the instance you created earlier in this tutorial. | |||
Finally, save your peer, go back to the configuration for your instance, and add the peer you just created. | |||
Revision as of 00:50, 3 July 2026
What you need
- A 44Net Portal account
- A verified amateur radio callsign
- A machine running OPNsense
- Some sort of Internet access
If you haven't set up your Portal account or verified your callsign yet, see 44Net: Get Started for instructions. If you haven't obtained a WireGuard tunnel configuration file from 44Net Connect, get one using the the 44Net Connect quick start guide
Unlike the other Quick Start guides, we aren't starting with a configuration file from 44Net Connect. Instead, we will be creating one during the course of this tutorial.
Generate a keypair in OPNsense
Navigate to VPN > WireGuard > Instances in your OPNsense web GUI and create a new instance. Click the gear button to generate a public key/private key keypair.
Create a tunnel in 44Net Connect
Open your tunnels page in 44Net Connect and click Request a Tunnel. Select your preferred server. In the Public Key field, paste the public key generated in OPNsense, then Create Tunnel. Save the wg-quick WireGuard config for use in later steps.
Copy the tunnel details into OPNsense
Fill out instance
Go back to your OPNsense Web UI. Give your instance a name, and fill out the Tunnel address field with the addresses from the [Interface] section of the config. Check the Disable routes checkbox, then save your instance.
Fill out peer
Go to VPN > WireGuard > Peers in your OPNsense Web UI, and click the orange + button in the bottom right to create a new peer. Give it a name, and paste the PublicKey value from the [Peer] section of your config file into the peer's Public key field. If you configured a pre-shared key when creating your tunnel, enter it in
the Pre-shared key field. Also copy in Allowed IPs, Endpoint address, Endpoint port, and Keepalive interval from the [Peer] section of your config file.
In the Instances field, use the drop-down menu to select the instance you created earlier in this tutorial.
Finally, save your peer, go back to the configuration for your instance, and add the peer you just created.