Where is iptables stored




















The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more.

Where are iptables's rulesets stored on Ubuntu Ask Question. Asked 7 years, 11 months ago. Active 7 years, 11 months ago. Viewed 50k times. Ubuntu This can be simplified by installing the iptables-persistent package. Saved rulesets: active, inactive There seem to be two rulesets i can load active and inactive Thanks for your help. With over 10 pre-installed distros to choose from, the worry-free installation life is here!

Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use. Click here for more info. Hi folks, Ubuntu 7.

There's no default. You can set your iptables config anywhere you want. Last edited by win32sux; at PM. Originally Posted by Wim Sturkenboom. Then, wherever that script expects to find the iptables config could be considered "the default config location". Ubuntu provides you with the three iptables binaries iptables , iptables-save , and iptables-restore to work with. They don't have a default location where they look for files don't confuse the binaries with the scripts they get called from.

If you want to keep things familiar to yourself just set the config file to be the same as it is in your most familiar distro. For the script, you could use one from another distro - you'll only need to do minor modifications. Whatever you choose, make sure the iptables rules get executed before the NIC s are loaded.

This is for security reasons, as if not then you are creating a window of opportunity while your firewall is activated. It's a common newbie mistake, just look at how may people have iptables scripts in their rc. Last edited by win32sux; at AM. Thread Tools. BB code is On. Find centralized, trusted content and collaborate around the technologies you use most.

Connect and share knowledge within a single location that is structured and easy to search. When i run iptables -L i get list of rules, but becouse i dont use any interfaces i can not see all of them becouse i can not scroll up and down. I had make research about is there any file where iptables store rules but i could not find any usefull information.

Becouse of that i am writing my question here:. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Where iptables store rules on Ubuntu server [closed] Ask Question. Asked 7 years, 11 months ago. Active 7 years, 11 months ago.



0コメント

  • 1000 / 1000