diff options
| author | Ahmed AbdelHalim <[email protected]> | 2026-06-14 01:02:17 +0200 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2026-06-14 01:02:17 +0200 |
| commit | e3d194e1b02b30a3bb4e7c048977982b4ab7d970 (patch) | |
| tree | 864708318e330446c2f1cff184e435827ec8f982 /roles/gateway/templates | |
| parent | b5ec8d77d24d7019ec2edbd03fad3559f1999e53 (diff) | |
Fix gateway role after rpi os update
Diffstat (limited to 'roles/gateway/templates')
| -rw-r--r-- | roles/gateway/templates/99-gateway.conf.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/gateway/templates/99-gateway.conf.j2 b/roles/gateway/templates/99-gateway.conf.j2 new file mode 100644 index 00000000..40ba5a72 --- /dev/null +++ b/roles/gateway/templates/99-gateway.conf.j2 @@ -0,0 +1,7 @@ +{% if gateway_enabled %} +net.ipv4.ip_forward=1 +net.ipv6.conf.all.forwarding=1 +{% else %} +net.ipv4.ip_forward=0 +net.ipv6.conf.all.forwarding=0 +{% endif %} |
