ipfw
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
let
|
let
|
||||||
cfg = config.syscfg.server;
|
cfg = config.syscfg.server;
|
||||||
in {
|
in {
|
||||||
config = mkIf (cfg.ipfw.enable) {
|
config = lib.mkIf (cfg.ipfw.enable) {
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
"net.ipv4.ip_forward" = 1;
|
"net.ipv4.ip_forward" = 1;
|
||||||
"net.ipv6.conf.all.forwarding" = 1;
|
"net.ipv6.conf.all.forwarding" = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user