LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 06: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, 07:05 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
how did you start it?
 
Old 02-19-2015, 07:21 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897
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, 06: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, 06: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, 06:30 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
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, 09:17 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897
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, 05: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, 05: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



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 08:36 AM
iptables error in android: iptables-save and iptables-restore not working preetb123 Linux - Mobile 5 04-11-2011 01:56 PM
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 08:20 PM
IPtables Log Analyzer from http://www.gege.org/iptables/ brainlego Linux - Software 0 08-11-2003 06: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 07:36 AM

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

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