Odd Martin Baanrud wrote:

> I can of corse use wg-quick, but I don’t see how to run it via rc(8).
> 
> Regards, Martin.

You can install wireguard-tools from ports as you mentioned. Then use
!command syntax in your hostname.if to shell out to wg-quick. E.g. your
/etc/hostname.wg0 contents could be as simple as:

up
!/usr/local/bin/wg-quick <your arguments here>

Reply via email to