Re: Reload IPtables

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

 



On Sun, 27 Jun 2021 20:07:52 +0100
Kerin Millar <kfm@xxxxxxxxxxxxx> wrote:

Self-correction follows ...

> On Sun, 27 Jun 2021 14:32:39 -0400
> slow_speed@xxxxxxx wrote:
> 
> > Thank you for that very good explanation.
> > 
> > As it turns out, I am learning two ways at once.  One is my desktop 
> > computer running Debian 10 which used nftables (and I believe 
> > nftables-persistent is built-in to the nftables mechanism).  The other 
> > is a little Raspian server which is based on Debian 10, but does not use 
> > nftables.
> > 
> > In the second case, one must reload iptables when changes are made to 
> > it.  If I correctly understand, one must use sudo iptables -F, followed 
> > by sudo iptables-restore < /etc/iptables.up.rules (or wherever they 
> > are).  Doesn't it need the little left arrow/less-than sign?  Does that 
> > sound correct?
> 
> Concerning wherever they may be, they would be at "/etc/iptables.rules.v4" in the event that you are using iptables-persistent.

Of course, I meant to write "/etc/iptables/rules.v4" here.

-- 
Kerin Millar




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux