From bf54fea9a148f530b2fbebbc56d97c8e6be8fcd4 Mon Sep 17 00:00:00 2001 From: Jip-Hop <2871973+Jip-Hop@users.noreply.github.com> Date: Fri, 26 Jan 2024 23:19:57 +0100 Subject: [PATCH] Add reference --- jlmkr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jlmkr.py b/jlmkr.py index 384b79f..51b14cd 100755 --- a/jlmkr.py +++ b/jlmkr.py @@ -329,7 +329,8 @@ def start_jail(jail_name, check_startup_enabled=False): # - privileged (to disable seccomp, set DevicePolicy=auto and add all capabilities) # - how to call the option to enable ip_forward and bridge-nf-call? # TODO: always add --bind-ro=/sys/module? Or only for privileged jails? - + # https://manpages.debian.org/bookworm/manpages/sysfs.5.en.html + if config.get("docker_compatible") == "1": # Enable ip forwarding on the host (docker needs it) print(1, file=open("/proc/sys/net/ipv4/ip_forward", "w"))