chore: Switch NAT methods to rely more on Nix
This commit is contained in:
parent
a7de9aee6c
commit
e57ae68efb
1 changed files with 6 additions and 3 deletions
|
@ -93,9 +93,12 @@
|
|||
};
|
||||
|
||||
# Tailscale fixer-uppers
|
||||
boot.kernel.sysctl = {
|
||||
"net.ipv4.ip_forward" = 1;
|
||||
"net.ipv6.conf.all.forwarding" = 1;
|
||||
networking.nat = {
|
||||
enable = true;
|
||||
enableIPv6 = true;
|
||||
|
||||
internalInterface = "enp6s18";
|
||||
externalInterfaces = [ "wg0" ];
|
||||
};
|
||||
|
||||
# Volumes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue