LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-02-2012, 07:42 AM   #16
Iyyappan
Member
 
Registered: Dec 2008
Location: Chennai, India
Distribution: CentOS 5, SLES 11
Posts: 243

Original Poster
Rep: Reputation: 4

Sure, will update once i do it in my vbox. Actually i want to know whether is there any specific way to be followed, while writing iptables rules like,
1. Typing iptables straight from terminal and saving them
2. Or Adding rules in /etc/sysconfig/iptables file itself

Also, i would like to know which command should be used to save and restart iptables
iptables-save or /etc/init.d/iptables save or iptables-save > iptables // service iptables restart or /etc/init.d/iptables restart

Apart from that, can we edit firewall setting from gui also, while adding rules from terminal. Bcoz i found a strange issue, one of my colleague added an entry using gui firewall and all the settings in iptables got changed. Before doing that entry in GUI, the policy was set to DROP for input, but once after the firewall was edited using GUI, INPUT policy got set to ACCEPT.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem saving iptables rules in Ubuntu 8.10 anirvana Linux - Newbie 7 01-28-2012 03:50 PM
Power saving issue. Amdonim Linux - Software 1 01-20-2009 04:37 AM
IPTables not saving rules linuxmandrake SUSE / openSUSE 3 10-05-2007 01:43 PM
IPTables: config files, scripts, saving etc...confused tarballed Linux - Security 4 12-30-2004 06:41 PM
IPTABLES rules not saving on reboot blueplazma Linux - Security 1 01-02-2003 09:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration