diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2019-11-25 00:03:01 +0000 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2019-11-27 22:58:58 +0000 |
commit | 7246b5cbb87cc047c90bfcaeba28c0618fb33d9a (patch) | |
tree | ef53851d4ad18c1799382ac2edb24fec7407263b | |
parent | factory-default: Define accept_local sysctl (diff) | |
download | portage-7246b5cbb87cc047c90bfcaeba28c0618fb33d9a.tar.xz |
factory-default: Define route_localnet sysctl
-rw-r--r-- | factory-default/sys-apps/baselayout/etc/sysctl.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/factory-default/sys-apps/baselayout/etc/sysctl.conf b/factory-default/sys-apps/baselayout/etc/sysctl.conf index b73624d8..aefe227e 100644 --- a/factory-default/sys-apps/baselayout/etc/sysctl.conf +++ b/factory-default/sys-apps/baselayout/etc/sysctl.conf @@ -137,6 +137,10 @@ net.ipv4.conf.default.rp_filter = 1 net.ipv4.conf.all.accept_local = 0 net.ipv4.conf.default.accept_local = 0 +# Disable 127/8 for local routing purposes +net.ipv4.conf.all.route_localnet = 0 +net.ipv4.conf.default.route_localnet = 0 + # Log bad packet net.ipv4.conf.all.log_martians = 1 net.ipv4.conf.default.log_martians = 1 |