more to make it work?

This commit is contained in:
Youko 2021-10-21 11:47:05 -06:00
parent 57a2373d5d
commit 4309a3d147

View file

@ -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";