Fix wireguard configuration
This commit is contained in:
parent
3f716bc2c1
commit
b498876011
5 changed files with 33 additions and 30 deletions
|
@ -47,18 +47,21 @@
|
|||
};
|
||||
|
||||
virtual = {
|
||||
mgmt = {
|
||||
mgmt = rec {
|
||||
# TODO: Introduce virtual network type
|
||||
v4 = {
|
||||
id = "10.249.0.0";
|
||||
bitmask = 23;
|
||||
};
|
||||
server = { hostname = "montalin"; };
|
||||
server = {
|
||||
hostname = "montalin";
|
||||
port = 51820;
|
||||
};
|
||||
|
||||
hosts = {
|
||||
montalin = {
|
||||
v4.ip = "10.249.0.1";
|
||||
endpoint = "calanda.plessur.net.qo.is:12913";
|
||||
endpoint = "calanda.plessur.net.qo.is:${server.port}";
|
||||
publicKey = "76nV1jgexHJ898hTLbMRz1BjguFp6YCHpoV52GuNDzc=";
|
||||
persistentKeepalive = null;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue