mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
more to make it work?
This commit is contained in:
parent
57a2373d5d
commit
4309a3d147
1 changed files with 3 additions and 2 deletions
|
|
@ -84,9 +84,9 @@
|
||||||
# Youko WG
|
# Youko WG
|
||||||
networking.wireguard.interfaces.wg-youko = {
|
networking.wireguard.interfaces.wg-youko = {
|
||||||
ips = [
|
ips = [
|
||||||
"10.42.68.1/32"
|
"10.42.68.1/24"
|
||||||
];
|
];
|
||||||
listenPort = 51219;
|
listenPort = 51819;
|
||||||
peers = [
|
peers = [
|
||||||
{
|
{
|
||||||
allowedIPs = [
|
allowedIPs = [
|
||||||
|
|
@ -97,6 +97,7 @@
|
||||||
];
|
];
|
||||||
privateKeyFile = config.secrets.files.wg-youko-privkey.path;
|
privateKeyFile = config.secrets.files.wg-youko-privkey.path;
|
||||||
};
|
};
|
||||||
|
networking.firewall.allowedUDPPorts = [ 51819 ];
|
||||||
|
|
||||||
kw.secrets.variables.wg-youko-privkey = {
|
kw.secrets.variables.wg-youko-privkey = {
|
||||||
path = "secrets/wireguard";
|
path = "secrets/wireguard";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue