LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-18-2008, 06:26 AM   #1
gw1500se
Member
 
Registered: Mar 2004
Distribution: Mandriva 2010.0
Posts: 250

Rep: Reputation: 31
Turning Off All Firewall Checks


My server (Free 2007) is behind a firewall so I do not need any firewall protection on the LAN. The problem is that I cannot seem to find a way to completely turn off firewall. I used the 'shorewall clear' command and the output from 'iptables -nL' is:

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

I believe that means it is off but yet I cannot connect to any port on the server from any LAN machine. However, all outgoing connections work. Although I can connect to 'webmin' and my web server using 'localhost' I cannot open any other ports (ping, ssh, etc.). I have to believe this is a firewall issue but I'm stuck. Can someone suggest a course of action? TIA.
 
Old 10-19-2008, 11:53 AM   #2
mazhar_theone
LQ Newbie
 
Registered: Mar 2008
Posts: 14

Rep: Reputation: 0
Quote:
Originally Posted by gw1500se View Post
My server (Free 2007) is behind a firewall so I do not need any firewall protection on the LAN. The problem is that I cannot seem to find a way to completely turn off firewall. I used the 'shorewall clear' command and the output from 'iptables -nL' is:

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

I believe that means it is off but yet I cannot connect to any port on the server from any LAN machine. However, all outgoing connections work. Although I can connect to 'webmin' and my web server using 'localhost' I cannot open any other ports (ping, ssh, etc.). I have to believe this is a firewall issue but I'm stuck. Can someone suggest a course of action? TIA.
as per the output of 'iptables -nL' firewall seems to be off.
It is difficult to figure out exact cause for this issue.

1) The IP's could be block in kernel routing table. Try route -n on your server / local machine.

2) Is there any firewall on router of your LAN ?
The firewall on your Server, Servers gateway, your local machine and gateway of your local machine can cause this probelm.
So you have to check all these.
 
Old 10-19-2008, 12:49 PM   #3
gw1500se
Member
 
Registered: Mar 2004
Distribution: Mandriva 2010.0
Posts: 250

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by mazhar_theone View Post
as per the output of 'iptables -nL' firewall seems to be off.
It is difficult to figure out exact cause for this issue.

1) The IP's could be block in kernel routing table. Try route -n on your server / local machine.

2) Is there any firewall on router of your LAN ?
The firewall on your Server, Servers gateway, your local machine and gateway of your local machine can cause this probelm.
So you have to check all these.
Thanks for the reply. Everything looks correct. However, on the way to doing other things I rebooted the server for the umpteenth time and that somehow magically cured the problem. I have no explanation as I changed nothing with respect to networking or firewall. I simply installed a torrent client.
 
  


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
Checks during bootup?? halo14 Slackware 1 09-23-2004 09:52 AM
firewall needs turning off berrance Linux - Security 2 08-21-2004 10:07 AM
Turning off Firewall for Port 110? coffee9876 Linux - Security 1 10-14-2003 04:37 PM
Turning firewall off mrpjwilson Linux - Security 9 07-12-2003 07:19 AM
Integrity checks on RH 6.1 munyard Linux - Security 1 12-11-2002 07:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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