add additional wireguard interface without pihole
install traceroute and units
This commit is contained in:
parent
9e639175fd
commit
adf2f1e7cb
2 changed files with 28 additions and 10 deletions
|
@ -36,6 +36,8 @@
|
||||||
silicon
|
silicon
|
||||||
dbeaver
|
dbeaver
|
||||||
wireshark
|
wireshark
|
||||||
|
traceroute
|
||||||
|
units
|
||||||
];
|
];
|
||||||
|
|
||||||
file.k3s-pim-privkey = {
|
file.k3s-pim-privkey = {
|
||||||
|
|
|
@ -121,16 +121,32 @@
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "x260";
|
hostName = "x260";
|
||||||
|
|
||||||
wg-quick.interfaces.home = {
|
wg-quick.interfaces = {
|
||||||
privateKeyFile = config.age.secrets.wg-quick-home-privkey.path;
|
home = {
|
||||||
address = [ "10.225.191.4/24" ];
|
privateKeyFile = config.age.secrets.wg-quick-home-privkey.path;
|
||||||
dns = [ "192.168.30.8" ];
|
address = [ "10.225.191.4/24" ];
|
||||||
peers = [{
|
dns = [ "192.168.30.8" ];
|
||||||
presharedKeyFile = config.age.secrets.wg-quick-home-preshared-key.path;
|
autostart = false;
|
||||||
endpoint = "wg.geokunis2.nl:51820";
|
peers = [{
|
||||||
publicKey = "fa3mQ7ximJbH7cu2ZbWidto5xBGxEEfWvCCiUDk00Hg=";
|
presharedKeyFile = config.age.secrets.wg-quick-home-preshared-key.path;
|
||||||
allowedIPs = [ "0.0.0.0/0" "::0/0" ];
|
endpoint = "wg4.geokunis2.nl:51820";
|
||||||
}];
|
publicKey = "fa3mQ7ximJbH7cu2ZbWidto5xBGxEEfWvCCiUDk00Hg=";
|
||||||
|
allowedIPs = [ "0.0.0.0/0" "::0/0" ];
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
|
||||||
|
home-no-pihole = {
|
||||||
|
privateKeyFile = config.age.secrets.wg-quick-home-privkey.path;
|
||||||
|
address = [ "10.225.191.4/24" ];
|
||||||
|
dns = [ "192.168.30.1" ];
|
||||||
|
autostart = false;
|
||||||
|
peers = [{
|
||||||
|
presharedKeyFile = config.age.secrets.wg-quick-home-preshared-key.path;
|
||||||
|
endpoint = "wg4.geokunis2.nl:51820";
|
||||||
|
publicKey = "fa3mQ7ximJbH7cu2ZbWidto5xBGxEEfWvCCiUDk00Hg=";
|
||||||
|
allowedIPs = [ "0.0.0.0/0" "::0/0" ];
|
||||||
|
}];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue