dn42: fix wireguard pointopoint route
This commit is contained in:
parent
b28eb471f8
commit
07779f2ff8
|
@ -80,7 +80,7 @@ in {
|
|||
inherit (conf.wireguard) listenPort privateKey;
|
||||
ips = [ "${address4}/32" "${address6}/64" ];
|
||||
postSetup = ''
|
||||
${pkgs.iproute}/bin/ip route add ${address4}/32 dev ${name}
|
||||
${pkgs.iproute}/bin/ip route add ${conf.address4}/32 dev ${name}
|
||||
'';
|
||||
peers = [ ({
|
||||
inherit (conf.wireguard) publicKey;
|
||||
|
|
Loading…
Reference in New Issue
Block a user