summaryrefslogtreecommitdiff
path: root/openstack
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2015-04-15 05:02:24 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2015-04-16 04:09:41 +0000
commit061190d01d51635f9b24cedefeeb64dc97ee5fd4 (patch)
treea343557a3b0f57c01da01aa53615edc2f13bf8dd /openstack
parentfd224e57eff6511f2c37b27f20accbeb04612b32 (diff)
downloaddefinitions-061190d01d51635f9b24cedefeeb64dc97ee5fd4.tar.gz
OpenStack: Disable rp filtering
This drop-in file will be processed by systemd on boot. Change-Id: I055d22dd481cc5084f6dbacbb787c3015d75461e
Diffstat (limited to 'openstack')
-rw-r--r--openstack/manifest2
-rw-r--r--openstack/usr/lib/sysctl.d/neutron.conf3
2 files changed, 5 insertions, 0 deletions
diff --git a/openstack/manifest b/openstack/manifest
index 3b32f813..072c647b 100644
--- a/openstack/manifest
+++ b/openstack/manifest
@@ -112,6 +112,8 @@
0040755 0 0 /usr/share/openstack/rabbitmq
0100644 0 0 /usr/share/openstack/rabbitmq/rabbitmq-env.conf
0100644 0 0 /usr/share/openstack/rabbitmq/rabbitmq.config
+0040755 0 0 /usr/lib/sysctl.d
+0100644 0 0 /usr/lib/sysctl.d/neutron.conf
0100644 0 0 /usr/lib/systemd/system/apache-httpd.service
0100644 0 0 /usr/lib/systemd/system/openstack-keystone.service
0100644 0 0 /usr/lib/systemd/system/openstack-keystone-setup.service
diff --git a/openstack/usr/lib/sysctl.d/neutron.conf b/openstack/usr/lib/sysctl.d/neutron.conf
new file mode 100644
index 00000000..644ca116
--- /dev/null
+++ b/openstack/usr/lib/sysctl.d/neutron.conf
@@ -0,0 +1,3 @@
+# Disable rp filtering, enabling forwarding is handled by networkd
+net.ipv4.conf.all.rp_filter=0
+net.ipv4.conf.default.rp_filter=0