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

>
>
> On Sat, Nov 30, 2024 at 3:16 PM Greg Wooledge <g...@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 <g...@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/
⠈⠳⣄⠀⠀

Reply via email to