Re: Iptables at boot, was fail2ban for apache2

2019-12-02 Thread Gene Heskett
On Monday 02 December 2019 07:46:22 Alessandro Vesely wrote: > On Mon 02/Dec/2019 10:35:26 +0100 Andrei POPESCU wrote: > > You might want to install iptables-persistent, otherwise you'll have > > to roll-out your own solution. > > I'm not using iptables-persistent, but just looked at it out of > c

Re: Iptables at boot, was fail2ban for apache2

2019-12-02 Thread Greg Wooledge
On Mon, Dec 02, 2019 at 01:46:22PM +0100, Alessandro Vesely wrote: > ### BEGIN INIT INFO > # Provides: netfilter-persistent > # Required-Start:mountkernfs $remote_fs > # Required-Stop: $remote_fs > # Default-Start: S > # Default-Stop: 0 1 6 > # Short-Description: Load boot

Re: Iptables at boot, was fail2ban for apache2

2019-12-02 Thread Reco
On Mon, Dec 02, 2019 at 01:46:22PM +0100, Alessandro Vesely wrote: > On Mon 02/Dec/2019 10:35:26 +0100 Andrei POPESCU wrote: > > > > You might want to install iptables-persistent, otherwise you'll have to > > roll-out your own solution. > > I'm not using iptables-persistent, but just looked at i

Re: Iptables at boot

2018-02-14 Thread Bob Weber
On 2/14/18 4:51 PM, Rodary Jacques wrote: I was just going to give up , and I even installed shorewall, when my last attempt with my very old iptables config (from redhat 7.2) did work. I of course to still get rid of stupid systemd config, but I don't really care since my server is allways up

Re: Iptables at boot

2018-02-14 Thread Rodary Jacques
I was just going to give up , and I even installed shorewall, when my last attempt with my very old iptables config (from redhat 7.2) did work. I of course to still get rid of stupid systemd config, but I don't really care since my server is allways up!. Thank you anyway for your hints. Jacques

Re: Re: Iptables at boot

2018-02-07 Thread rodaryj
Thank you.As soon as I can I will try it

Re: Iptables at boot

2018-01-31 Thread Bob Weber
On 1/31/18 12:28 PM, Jacques Rodary wrote: Hi Many things happened since my first message: I first had to get rid of connman (connection manager), which insisted to preset iptables rules without any notice. My Debian box is uset as a DNS chrooted server (also I had to modify bind9.service be

Re: Re: Iptables at boot

2018-01-31 Thread Jacques Rodary
Hi Many things happened since my first message: I first had to get rid of connman (connection manager), which insisted to preset iptables rules without any notice. My Debian box is uset as a DNS chrooted server (also I had to modify bind9.service behaviour), and I use iptabl

Re: Iptables at boot

2018-01-25 Thread Alessandro Vesely
On Sun 21/Jan/2018 20:53:43 +0100 Ben Caradoc-Davies wrote: > On 21/01/18 16:05, Mark Fletcher wrote: >> To get you started [addressing the OP], here is the service file I use: > > Mine is slightly different and has the commands inline: > > > $ cat /etc/iptables/iptables.service > [Unit] > Descr

Re: Iptables at boot

2018-01-22 Thread Karol Augustin
On 2018-01-21 1:02, Dejan Jocic wrote: > On 20-01-18, Jacques Rodary wrote: >> Hi >> How can I start iptables at boot. I don't find  an equivalent to  " service >> iptables start" with systemd and does'nt know how to create a new >> iptables.service. The manpages aren't quite clear for me. Thanks f

Re: Iptables at boot

2018-01-21 Thread Ben Caradoc-Davies
On 21/01/18 16:05, Mark Fletcher wrote: To get you started [addressing the OP], here is the service file I use: Mine is slightly different and has the commands inline: $ cat /etc/iptables/iptables.service [Unit] Description=iptables rules After=network.target [Service] Type=oneshot ExecStart

Re: Iptables at boot

2018-01-21 Thread Dejan Jocic
On 21-01-18, Mark Fletcher wrote: > On Sun, Jan 21, 2018 at 02:02:07AM +0100, Dejan Jocic wrote: > > On 20-01-18, Jacques Rodary wrote: > > > Hi > > > How can I start iptables at boot. I don't find  an equivalent to  " > > > service > > > iptables start" with systemd and does'nt know how to create

Re: Iptables at boot

2018-01-20 Thread Mark Fletcher
On Sun, Jan 21, 2018 at 02:02:07AM +0100, Dejan Jocic wrote: > On 20-01-18, Jacques Rodary wrote: > > Hi > > How can I start iptables at boot. I don't find  an equivalent to  " service > > iptables start" with systemd and does'nt know how to create a new > > iptables.service. The manpages aren't qu

Re: Iptables at boot

2018-01-20 Thread Dejan Jocic
On 20-01-18, Jacques Rodary wrote: > Hi > How can I start iptables at boot. I don't find  an equivalent to  " service > iptables start" with systemd and does'nt know how to create a new > iptables.service. The manpages aren't quite clear for me. Thanks for any > help. >   Jacques > There are two

Re: iptables at boot

2006-04-02 Thread Gabriele Pongelli
From: Matthijs <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Subject: Re: iptables at boot Date: Sun, 02 Apr 2006 11:28:16 +0200 On Sun, 02 Apr 2006 03:30:15 +0200, BTP <[EMAIL PROTECTED]> wrote: > I was wondering if someone would be able to give me the correct way of

Re: iptables at boot

2006-04-02 Thread Matthijs
On Sun, 02 Apr 2006 03:30:15 +0200, BTP <[EMAIL PROTECTED]> wrote: > I was wondering if someone would be able to give me the correct way of > disabling all network activity (iptables commands/script) during the > boot process so that my network is inoperable during bootup until I > activate it man

Re: iptables at boot

2006-04-01 Thread Luis R Finotti
BTP wrote: Hi, I was wondering if someone would be able to give me the correct way of disabling all network activity (iptables commands/script) during the boot process so that my network is inoperable during bootup until I activate it manually. I'm unsure in which startup script I would place t