Hi,
If you are running 7.6, you should look at wg(4), and ifconfig (search for wireguard)
I have some sample hostname.wg files that have OpenBSD working as a Wireguars server with my Windows laptop.
No wireguard-tools required.
I did find this useful as well.
<https://dataswamp.org/~solene/2021-10-09-openbsd-wireguard-exit.html>
Additionally, I do a ifconfig wg0 down, then do an idconfig wg0 destroy to clean up.
But that's not using wireguard-tools.
Cheers,
Steve W
If you are running 7.6, you should look at wg(4), and ifconfig (search for wireguard)
I have some sample hostname.wg files that have OpenBSD working as a Wireguars server with my Windows laptop.
No wireguard-tools required.
I did find this useful as well.
<https://dataswamp.org/~solene/2021-10-09-openbsd-wireguard-exit.html>
Additionally, I do a ifconfig wg0 down, then do an idconfig wg0 destroy to clean up.
But that's not using wireguard-tools.
Cheers,
Steve W
On January 1, 2025 9:22:03 p.m. PST, Lloyd <ng2d68@proton.me> wrote:
Steve Williams wrote:What is your configuration that you have a wg process running?
Your /etc/hostname.wg0 file should contain a line such as the following at the end:
!/usr/local/bin/wg setconf wg0 /etc/wireguard/wg0.conf
The ! specifies a shell command - see hostname.if(5)
You will need to install the wireguard-tools package:
pkg_add -v wireguard-tools
No comments:
Post a Comment