Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! 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.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have IP-Tables working in my office of MS users which need access to the firewall config and modify as needed.
Was interested to know as a newbie, if I could create a shell script that contained all the rules I wish to have in our firewall, then run the script. USers could then amend the firewall as needed via the script which has numerous comments, then run the script. Of course the first lines in the script would flush the existing values
Is this method possible and practicle, and if so does any one have suggestions that I have not thought of
It's a std procedure to run those rules from a script, so there is nothing wrong there.
What *is* wrong IMO is having regular untrained users change firewall rules and access the fw box.
Maybe you could explain *why* they need to access the box and change the rules?
The other point is them accessing the fw box itself. No matter what, some day one of them users will have time on his/her hands, look some stuff up on the net, think they know enough and (insert scenario here)...
*If you can't bypass the fact they should be able to change rules, I would suggest having an interfacing script (preferably some ssl'ed web interface, but an commandline script that runs on login could do as well) where they could (only) choose options relevant to them. Build your script modular, make the base rules script, and add a separate script for each option they should be able choose (and test each combination beforehand). And even then I'm not convinced this couldn't be run with the usual script...
It's a GUI with SSL login for admins.
Basically it's a very comprehensive GUI that uses IPTABLES as it's firewall. "They don't tell you this but the output from the logs in the demo looks like iptables output"
I suggest your check out the online demo and decide for yourself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.