added the ipv4 and ipv6 passthrough, I hope this works now

This commit is contained in:
Lillian Violet 2024-12-07 01:30:03 +01:00
parent a8f1fd4bc7
commit c147ee631e

View file

@ -237,6 +237,11 @@
};
};
boot.kernel.sysctl = {
"net.ipv4.ip_forward" = 1;
"net.ipv6.conf.all.forwarding" = 1;
};
# enable NAT
networking.nat.enable = true;
networking.nat.externalInterface = "end0";