Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #275047

Re: Persistent IP Forwarding

From Andy Smith <andy@strugglers.net>
Newsgroups linux.debian.user
Subject Re: Persistent IP Forwarding
Date 2024-11-30 21:10 +0100
Message-ID <JOBWV-cPM6-1@gated-at.bofh.it> (permalink)
References <JOBNf-cPtg-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On Sat, Nov 30, 2024 at 02:55:01PM -0500, Timothy M Butterworth wrote:
> I'm trying to configure persistent IP Forwarding on Trixie. It used to be
> setup in /etc/sysctl but that file is no longer present.
> 
> I used the sudo sysctl -w net.ipv4.ip_forward=1 command and it seems to
> work but where is the setting stored at?

All you have to do is the same as you did in /etc/sysctl.conf but in a
file of your choosing under /etc/sysctl.d/. All explained quite clearly
in /etc/sysctl.d/README.sysctl and "man sysctl.d".

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Persistent IP Forwarding Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-11-30 21:00 +0100
  Re: Persistent IP Forwarding Andy Smith <andy@strugglers.net> - 2024-11-30 21:10 +0100
  Re: Persistent IP Forwarding Greg Wooledge <greg@wooledge.org> - 2024-11-30 21:10 +0100
    Re: Persistent IP Forwarding Greg Wooledge <greg@wooledge.org> - 2024-11-30 21:20 +0100
      Re: Persistent IP Forwarding Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-11-30 21:30 +0100
        Re: Persistent IP Forwarding Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-11-30 22:10 +0100
          Re: Persistent IP Forwarding Andy Smith <andy@strugglers.net> - 2024-11-30 22:30 +0100
    Re: Persistent IP Forwarding Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-11-30 21:20 +0100

csiph-web