LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-19-2015, 07:56 AM   #1
Vidya Shetty
LQ Newbie
 
Registered: Dec 2013
Location: Bangalore
Posts: 10

Rep: Reputation: Disabled
iptables


Hi,

When I start the iptable, connectivity goes of in my server. I need to stop the iptables via console to get the connectivity back.

Please help me to solve this problem.

Thanks,
Vidya
 
Old 02-19-2015, 08:05 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,489

Rep: Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310
how did you start it?
 
Old 02-19-2015, 08:21 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,386

Rep: Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087
What distribution / version are you running?

What do you mean by connectivity? You need to allow the appropriate service in the firewall configuration tool or add a rule via iptables.
 
Old 02-24-2015, 07:23 AM   #4
Vidya Shetty
LQ Newbie
 
Registered: Dec 2013
Location: Bangalore
Posts: 10

Original Poster
Rep: Reputation: Disabled
Smile IP Tables

Quote:
Originally Posted by pan64 View Post
how did you start it?
/etc/init.d/iptables start
 
Old 02-24-2015, 07:25 AM   #5
Vidya Shetty
LQ Newbie
 
Registered: Dec 2013
Location: Bangalore
Posts: 10

Original Poster
Rep: Reputation: Disabled
Smile IP Tables

Quote:
Originally Posted by michaelk View Post
What distribution / version are you running?

What do you mean by connectivity? You need to allow the appropriate service in the firewall configuration tool or add a rule via iptables.

I am not able to logine to the server.RHEL 6.4.
 
Old 02-24-2015, 07:30 AM   #6
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,489

Rep: Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310Reputation: 4310
probably iptables by default blocks all the connections. You need to modify it before starting it again.
 
1 members found this post helpful.
Old 02-24-2015, 10:17 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,386

Rep: Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087
You could provide some information as to how you are trying to login i.e. ssh, telnet etc.
 
1 members found this post helpful.
Old 02-24-2015, 06:45 PM   #8
greeder
Member
 
Registered: Sep 2014
Posts: 31

Rep: Reputation: Disabled
Just a stab in the dark here. Iptables default input chain policy is DROP. You need to have at least one accept policy in the chain for anything to happen. I'm guessing that you don't have any tables initialized.
 
1 members found this post helpful.
Old 02-25-2015, 06:18 AM   #9
Vidya Shetty
LQ Newbie
 
Registered: Dec 2013
Location: Bangalore
Posts: 10

Original Poster
Rep: Reputation: Disabled
Smile IP Tables

Quote:
Originally Posted by pan64 View Post
probably iptables by default blocks all the connections. You need to modify it before starting it again.

Hi,

I have change the IP Tables rules,now it is working fine.

Thanks,
Vidya Shetty

---------- Post added 02-25-15 at 04:48 PM ----------

Quote:
Originally Posted by greeder View Post
Just a stab in the dark here. Iptables default input chain policy is DROP. You need to have at least one accept policy in the chain for anything to happen. I'm guessing that you don't have any tables initialized.

Hi,

I have change the IP Tables rules,now it is working fine.

Thanks,
Vidya Shetty
 
  


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
iptables can't initialize iptables table `filter': Bad file descriptor donalbane Linux - Networking 2 08-17-2011 09:36 AM
iptables error in android: iptables-save and iptables-restore not working preetb123 Linux - Mobile 5 04-11-2011 02:56 PM
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 09:20 PM
IPtables Log Analyzer from http://www.gege.org/iptables/ brainlego Linux - Software 0 08-11-2003 07:08 AM
My iptables script is /etc/sysconfig/iptables. How do i make this baby execute on boo ForumKid Linux - General 3 01-22-2002 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:45 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