let's try wg-quick
This commit is contained in:
parent
09dffb5d93
commit
93b63910bb
|
@ -60,9 +60,10 @@
|
||||||
sops.secrets."protonvpn-priv-key".mode = "0440";
|
sops.secrets."protonvpn-priv-key".mode = "0440";
|
||||||
sops.secrets."protonvpn-priv-key".owner = config.users.users.wireguard.name;
|
sops.secrets."protonvpn-priv-key".owner = config.users.users.wireguard.name;
|
||||||
|
|
||||||
networking.wireguard.interfaces = {
|
networking.wg-quick.interfaces = {
|
||||||
# "wg0" is the network interface name. You can name the interface arbitrarily.
|
# "wg0" is the network interface name. You can name the interface arbitrarily.
|
||||||
wg0 = {
|
wg0 = {
|
||||||
|
autostart = true;
|
||||||
# Determines the IP address and subnet of the server's end of the tunnel interface.
|
# Determines the IP address and subnet of the server's end of the tunnel interface.
|
||||||
ips = ["10.2.0.2/32"];
|
ips = ["10.2.0.2/32"];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue