LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-23-2011, 10:53 AM   #1
jsaravana87
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
Iptables rules getting flushing when service started


Hi
i installed iptables but it gets disabling when i start up my service ..
can some one help me out wat wrong in my firewall rules
# Generated by iptables-save v1.3.5 on Wed Nov 23 22:20:25 2011
*filter
:INPUT ACCEPT [155:11954]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [79:9816]
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22-j ACCEPT -s xx.xx.xx.xx
COMMIT
# Completed on Wed Nov 23 22:20:25 2011
 
Old 11-23-2011, 12:36 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by arun5002 View Post
i installed iptables but it gets disabling when i start up my service ..
Which service exactly and what is the (error) message?


Quote:
Originally Posted by arun5002 View Post
can some one help me out wat wrong in my firewall rules
There's nothing wrong with it if you like it to be that way but this is not the default rule set the distribution comes with. Due to the standard chain ACCEPT policies it allows all inbound and outbound traffic. And in that state the one rule listed is unnecessary. What are you trying to accomplish? What services should be protected?
 
  


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
Restore iptables Rules that have been saved with iptables-save tiuz Linux - Security 4 08-14-2010 05:50 PM
iptables service not started karimasif Linux - Kernel 0 08-31-2007 07:42 AM
iptables 1.27a still loading rules after installing iptables 1.3.0 yawe_frek Linux - Software 1 06-07-2007 09:50 PM
LDAP service is not getting started dhanju Linux - Networking 0 01-06-2006 03:36 AM
Iptables listing and flushing stefaandk Linux - Security 2 07-27-2005 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:36 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
Open Source Consulting | Domain Registration