added the ipv4 and ipv6 passthrough, I hope this works now
This commit is contained in:
parent
a8f1fd4bc7
commit
c147ee631e
|
@ -237,6 +237,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
boot.kernel.sysctl = {
|
||||||
|
"net.ipv4.ip_forward" = 1;
|
||||||
|
"net.ipv6.conf.all.forwarding" = 1;
|
||||||
|
};
|
||||||
|
|
||||||
# enable NAT
|
# enable NAT
|
||||||
networking.nat.enable = true;
|
networking.nat.enable = true;
|
||||||
networking.nat.externalInterface = "end0";
|
networking.nat.externalInterface = "end0";
|
||||||
|
|
Loading…
Reference in a new issue