[Solved] iptables Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Deleted User 3943

[Solved] iptables

Post by Deleted User 3943 »

I've installed iptables on dietpi but I can't locate the iptables config file. It doesn't exist @/etc/iptables.

Any idea where the config file is stored?

Kind regards

fabo
User avatar
WarHawk
Posts: 610
Joined: Thu Jul 20, 2017 8:55 am

Re: iptables

Post by WarHawk »

etc/sysconfig/iptables-config ??

If there isn't one there...then you can make one I suppose
https://www.linuxquestions.org/question ... #post39811

Code: Select all

iptables-save > /etc/sysconfig/iptables
Deleted User 3943

Re: iptables

Post by Deleted User 3943 »

The folder doesn't exist there but I created the iptables folder @/etc/iptables

https://www.thomas-krenn.com/en/wiki/Sa ... ermanently

Thanks for your help.

Kind regards

fabo
User avatar
MichaIng
Site Admin
Posts: 2293
Joined: Sat Nov 18, 2017 6:21 pm

Re: iptables

Post by MichaIng »

By, by default iptables creates non-persistent rules, using netfilter kernel module. ifupdown or 3rd party extension packages can be used to workaround this by applying the rules on boot/interface load.
Post Reply