Configure Wireguard client for COACE
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user