LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-28-2011, 04:38 AM   #1
mahi_nix
Member
 
Registered: Aug 2010
Distribution: CentOS, RHEL, Ubuntu,
Posts: 154

Rep: Reputation: 16
Problem with Iptbles in Centos


Hi Folks,

I am facing one straign problem in Centos. i have installed Urchin6 software in my centos server and it is working on 9999 port i have allowed 9999 port for outside network through iptalbes INPUT chain by adding the below rule in filter tables INPUT chain.

"/sbin/iptables -A INPUT -i ${PUB_IF} -p tcp --destination-port 9999 -j ACCEPT"

My problem is when i am saving this rule and restarting the iptables service, the rule is working fine. all can able to access archin6 web page from outside network (Publuc) but after one day, i am not able to access that Urchin6 web page.

after restating the iptables service its again work for one more day anf the next day its not working. i have checked /etc/sysconfig/iptables and /etc/sysconfig/iptables.save files, the rule is already there. i cant understand what happen with iptables why it is blocking the web page after one day evenif it has a rules under INPUT chain with ACCEPT permission.

Please help me in resolving this issue.

Thanks in Advanced
 
Old 04-29-2011, 01:36 AM   #2
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
You can check the log file to see what is happening to iptables..
 
  


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
Centos-64 and Solr problem yoachan Linux - Server 2 07-26-2010 11:02 PM
problem with vmware on CentOS avee137 Linux - Newbie 10 05-21-2010 04:01 PM
Problem with network and RAID on Centos 5.2 and Centos 5.4 thesirwolf Linux - Hardware 1 04-02-2010 11:47 AM
CentOS 5 problem Bller Linux - Newbie 10 09-24-2009 08:08 AM
centos problem khodeir Red Hat 9 03-01-2009 12:17 AM

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

All times are GMT -5. The time now is 10:56 AM.

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