diff options
Diffstat (limited to 'etc/sysctl.d')
| -rw-r--r-- | etc/sysctl.d/99-sysctl.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/sysctl.d/99-sysctl.conf b/etc/sysctl.d/99-sysctl.conf index 3177c28..fc01611 100644 --- a/etc/sysctl.d/99-sysctl.conf +++ b/etc/sysctl.d/99-sysctl.conf @@ -30,3 +30,8 @@ net.ipv4.conf.default.send_redirects = 0 net.ipv4.conf.all.accept_source_route = 0 net.ipv6.conf.all.accept_source_route = 0 net.ipv4.conf.all.log_martians = 1 + +# IP forwarding for NAT bridges (libvirt's virbr0, waydroid's waydroid0). +# libvirtd and waydroid both rely on the host routing between their bridge +# and the upstream NIC; without this they get no internet. +net.ipv4.ip_forward = 1 |
