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


Groups > linux.debian.user > #275051

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 21:20 +0100
Message-ID <JOC6B-cPPe-3@gated-at.bofh.it> (permalink)
References <JOBNf-cPtg-1@gated-at.bofh.it> <JOBWV-cPM6-7@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: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.



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

Back to linux.debian.user | Previous | Next — Previous 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