Re: [webmin-l] iptables not restore upon reboot on Ubuntu 20.04.LTS

Gábor Gyöngyösi <[email protected]> Thu, 25 Nov 2021 10:16:27 +0100
Newsgroups gmane.comp.web.webmin.general
Message-ID <CAOfuUHPYT3p2F4-rcadOtbhLk+NFZ9ZKsbn2_V-rmL9yY+p2jg@mail.gmail.com>
Thats why you need to save into those files your rules.

iptables-save > /etc/iptables/rules.v4

ip6tables-save > /etc/iptables/rules.v6

But maybe need to refresh your knowledge and read about nftables
<https://wiki.nftables.org/wiki-nftables/index.php/Moving_from_iptables_to_nftables>.

Iptables is replaced by nftables, but you can use it his commands





Joaquim Homrighausen <[email protected]> ezt írta (időpont: 2021. nov.
25., Cs, 9:10):

> On 2021-11-25 07:50, Jamie Cameron wrote:
> >
> > Ok, it looks like on Ubuntu 20, a separate package called
> "iptables-persistent"
> > has to be installed to get that bootup action.
>
>
> Thanks. I'll try that.
>
> Will Webmin support the /etc/iptables/rules.v4 and
> /etc/iptables/rules.v6 files? That's what the package creates and uses.
>
>
> -joho
>
>
>
>
> -
> Forwarded by the Webmin mailing list at
> [email protected]
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>

-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list