Configure Wireguard client for COACE
This commit is contained in:
parent
3566c001f6
commit
0aa80c3927
|
@ -31,6 +31,19 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
wg1 = {
|
||||||
|
address = [ "10.9.0.2/32" ];
|
||||||
|
privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
|
||||||
|
peers = [
|
||||||
|
# unit
|
||||||
|
{
|
||||||
|
publicKey = "SYfPEKJkO3HaCiQdV/iionsS6CEjLcLt9C0x0Ib3tEU=";
|
||||||
|
allowedIPs = [ "10.9.0.1/32" "10.0.1.0/24" ];
|
||||||
|
endpoint = "coace.ddns.net:1194";
|
||||||
|
persistentKeepalive = 25;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable localhost SSH
|
# Enable localhost SSH
|
||||||
|
|
Loading…
Reference in New Issue