Talk:Configure a Wireguard interface (wg): Difference between revisions

From Alpine Linux
(Created page with "== Bringing up an interface using wg-tools == ''Then load the module'' modprobe wireguard ''Add it to <code>/etc/modules</code> to automatically load it on boot.'' This d...")
 
Line 10: Line 10:


[[User:Anianz|Anianz]] ([[User talk:Anianz|talk]])
[[User:Anianz|Anianz]] ([[User talk:Anianz|talk]])
== Bringing up an interface using ifupdown-ng ==
The netifrc package is perfect for mounting the wg0 interface at boot in the specific case of using the plain wg command ( https://wiki.gentoo.org/wiki/Wireguard#netifrc ), but only available for the edge branch.
What is the right approach for loading the configuration and mount the wg0 network interface, at startup in the stable branch?

Revision as of 10:39, 11 June 2022

Bringing up an interface using wg-tools

Then load the module

modprobe wireguard

Add it to /etc/modules to automatically load it on boot.

This does not seem to be necessary (any more)?

Anianz (talk)

Bringing up an interface using ifupdown-ng

The netifrc package is perfect for mounting the wg0 interface at boot in the specific case of using the plain wg command ( https://wiki.gentoo.org/wiki/Wireguard#netifrc ), but only available for the edge branch.

What is the right approach for loading the configuration and mount the wg0 network interface, at startup in the stable branch?