[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: stretch vs iptables auto-start



On Sunday 23 August 2020 15:45:22 Joe wrote:

> On Sun, 23 Aug 2020 14:26:19 -0400
>
> Gene Heskett <gheskett@shentel.net> wrote:
> > Greetings all;
> >
> > Since the big conversion of file structs vs who owns what, which
> > apparently includes running rc.local as the logged in user and not
> > as root, that has hidden the iptables stuff from everybody but root
> > since its not now in the users $PATH.
> >
> > So what is the best way to assure this stuff gets started during a
> > reboot or restart of X? Stuff that s/b running regardless of any X
> > restarts until the next full reboot?  Stretch, uptodate plus tde
> > here.
>
> My server iptables is inherited from, I think, sarge, so it's probably
> not done optimally today. It's an init script run from /etc/rcS.d.

Ah,/etc/rcS.d/S18netfilter-persistent
but that does not mention iptables anyplace in it.  Whats the diff?

Or better yet, can this "netfilter" thingy import a set of rules saved 
from iptables?  Hey, I've got an idea, go RTFM.  Except there isn't one.

Next?

> My netbook was stretch until a few weeks ago, is now buster, therefore
> is somewhat broken. It has iptables-persistent installed, which I
> believe is all that is needed now.
>
> Or you can muck about with systemd...

Thanks.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: