public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Stefan Hanreich <s.hanreich@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH pve-docs 1/1] sdn: update description for setting rp_filter
Date: Wed, 25 Mar 2026 11:32:41 +0100	[thread overview]
Message-ID: <20260325103243.216632-1-s.hanreich@proxmox.com> (raw)

Starting with trixie, systemd-sysctl no longer reads /etc/sysctl.conf
[1]. Update the documentation on how to set the rp_filter value to
reflect that change.

[1] https://www.debian.org/releases/trixie/release-notes/issues.en.html#etc-sysctl-conf-is-no-longer-honored

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
---
 pvesdn.adoc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pvesdn.adoc b/pvesdn.adoc
index d20a0eb..aa57be3 100644
--- a/pvesdn.adoc
+++ b/pvesdn.adoc
@@ -1408,7 +1408,9 @@ If you have multiple gateway nodes, you should disable the `rp_filter` (Strict
 Reverse Path Filter) option, because packets can arrive at one node but go out
 from another node.
 
-Add the following to `/etc/sysctl.conf`:
+Add the following to `/etc/sysctl.d/z-rp-filter.conf` (the z- prefix is
+important, because PVE ships a pve-firewall configuration file that sets
+rp_filter to 0):
 
 -----
 net.ipv4.conf.default.rp_filter=0
-- 
2.47.3





                 reply	other threads:[~2026-03-25 10:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260325103243.216632-1-s.hanreich@proxmox.com \
    --to=s.hanreich@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal