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


Groups > linux.debian.user > #191513

Re: Iptables at boot

From Alessandro Vesely <vesely@tana.it>
Newsgroups linux.debian.user
Subject Re: Iptables at boot
Date 2018-01-25 10:20 +0100
Message-ID <vbLRn-3WS-3@gated-at.bofh.it> (permalink)
References <vaa7v-6Lo-5@gated-at.bofh.it> <vaciZ-8in-3@gated-at.bofh.it> <vaekN-18N-1@gated-at.bofh.it> <vatWy-2Nr-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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]
> Description=iptables rules
> After=network.target

Shouldn't that be /network-pre.target/?  I'm not familiar with systemd (I use
sysvinit) but I read "It's primary purpose is for usage with firewall services
that want to establish a firewall before any network interface is up" in:
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/

Best
Ale

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Iptables at boot Jacques Rodary <rodaryj@free.fr> - 2018-01-20 23:50 +0100
  Re: Iptables at boot Dejan Jocic <jodejka@gmail.com> - 2018-01-21 02:10 +0100
    Re: Iptables at boot Mark Fletcher <mark27q1@gmail.com> - 2018-01-21 04:20 +0100
      Re: Iptables at boot Dejan Jocic <jodejka@gmail.com> - 2018-01-21 10:10 +0100
      Re: Iptables at boot Ben Caradoc-Davies <ben@transient.nz> - 2018-01-21 21:00 +0100
        Re: Iptables at boot Alessandro Vesely <vesely@tana.it> - 2018-01-25 10:20 +0100
    Re: Iptables at boot Karol Augustin <karol@augustin.pl> - 2018-01-22 17:00 +0100

csiph-web