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


Groups > linux.debian.user > #275054

Re: Persistent IP Forwarding

From Timothy M Butterworth <timothy.m.butterworth@gmail.com>
Newsgroups linux.debian.user
Subject Re: Persistent IP Forwarding
Date 2024-11-30 22:10 +0100
Message-ID <JOCSZ-cQk9-3@gated-at.bofh.it> (permalink)
References <JOBNf-cPtg-1@gated-at.bofh.it> <JOBWV-cPM6-7@gated-at.bofh.it> <JOC6B-cPPe-3@gated-at.bofh.it> <JOC6B-cPPe-1@gated-at.bofh.it> <JOCgh-cPSg-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Nov 30, 2024 at 3:28 PM Timothy M Butterworth <
timothy.m.butterworth@gmail.com> wrote:

>
>
> On Sat, Nov 30, 2024 at 3:16 PM Greg Wooledge <greg@wooledge.org> wrote:
>
>> On Sat, Nov 30, 2024 at 15:12:01 -0500, Timothy M Butterworth wrote:
>> > On Sat, Nov 30, 2024 at 3:05 PM Greg Wooledge <greg@wooledge.org>
>> wrote:
>> >
>> > > On Sat, Nov 30, 2024 at 14:55:01 -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?
>> > >
>> > > To make it permanent, either add a line to /etc/sysctl.conf or add a
>> > > new file in /etc/sysctl.d/ (check the README.sysctl file in there).
>> > >
>> > >
>> > sudo cat /etc/sysctl.conf
>> > cat: /etc/sysctl.conf: No such file or directory
>> >
>> > That is the old way of doing it sysctl.conf no longer exists.
>>
>> hobbit:~$ dpkg -S /etc/sysctl.conf
>> procps: /etc/sysctl.conf
>> hobbit:~$ cat /etc/debian_version
>> 12.8
>>
>> When you say it "no longer exists", are you running a future release
>> of Debian, or current stable, or a past release?
>>
>
> I am  running Trixie, so a future release.
>

It appears that systemd-sysctl is replacing sysctl. There is also a
replacement for sysctl called Systeroid but it is not currently in Trixie.

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀

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