Hi,
I got configuration files for my WireGuard that I simply import to my WG in Windows and Linux.
But I want to add it to my OPNSense and there is no import of the conf-files.
I read the guides but there are more fields in OPNSense than there are rows in my conf file.
Cant you add a simple import of such configuration files?
The conf file looks like this,
[Interface]
PrivateKey =
dns = 2001:xxx:xxx:, 2001:xxx:xxx, ipv4, ipv4
Address = 10.xx.xx.xx/24,fdab:1337:xxx:xxx::xxx/64
[Peer]
PublicKey =
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = wireguard.5july.net:port
You can simply put these fields in the UI and leave everything else empty.
"Address" in the "Interface" section is "Tunnel address" in the UI.
The "DNS servers" field appears when you enable advanced mode.