🐛 fix wireguard forwarding
This commit is contained in:
parent
f721410bdd
commit
3aacad45f3
2 changed files with 4 additions and 1 deletions
machines/orbi
|
@ -56,8 +56,11 @@
|
|||
components.network.enable = true;
|
||||
components.network.nginx.landingpage.enable = false;
|
||||
components.network.wifi.enable = false;
|
||||
|
||||
components.virtualisation.enable = true; # we only enable this stuff where we need it explicitly
|
||||
components.virtualisation.podman.enable = false;
|
||||
components.virtualisation.virtualbox.enable = false;
|
||||
|
||||
virtualisation.oci-containers.backend = "docker";
|
||||
|
||||
features.network.fail2ban.enable = true;
|
||||
|
|
|
@ -31,7 +31,7 @@ in
|
|||
ping -c 1 -W 5 ${config.clan.core.facts.services.wireguard_ip.public."wireguard.wg0.ip".value}
|
||||
'';
|
||||
|
||||
boot.kernel.sysctl."net.ipv4.ip_forward" = true;
|
||||
boot.kernel.sysctl."net.ipv4.conf.wg0.forwarding" = true;
|
||||
|
||||
# Enable WireGuard
|
||||
networking.wg-quick.interfaces = {
|
||||
|
|
Loading…
Add table
Reference in a new issue