Linux - Security This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-10-2001, 06:30 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2001
Location: Sydney
Distribution: red hat 7.1
Posts: 6
Rep:
|
Shell script to configure IP Tables ???
G'Day all,
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
Thanks all
John
|
|
|
|
12-11-2001, 01:09 AM
|
#2
|
|
Moderator
Registered: May 2001
Posts: 24,824
|
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...
|
|
|
|
12-11-2001, 04:44 AM
|
#3
|
|
Member
Registered: Apr 2001
Location: London
Posts: 408
Rep:
|
John,
unSpawn's right, your firewall should be designed in such a way that users shouldn't have access to modify it.
Now on the other hand if you have an admin that needs access then the best solution for you is to use this:
http://www.astaro.com/products/index.html
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.
/Raz
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:27 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|