LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2003, 05:49 PM   #1
lsgko
Member
 
Registered: Aug 2003
Location: USA
Distribution: Fedora Core 4
Posts: 48

Rep: Reputation: 15
RH9 Firewall blocking webserver???


Fresh install of RH9. When I open up mozilla on the machine and type 127.0.0.1 or the machine's ip address, I can see the apache page that cofirms that apache is up and running.

When use the machines ip address on an XP machine connected to the same hub as the linux machine, I get a cannot connect to server. I can ping the linux box successfully from the XP box.

Could this be caused by the firewall on the machine being set incorreclty? If so, where do I go to fix this?

Thanks in Advance.

Last edited by lsgko; 08-16-2003 at 05:51 PM.
 
Old 08-16-2003, 06:15 PM   #2
rahulsundaram
Member
 
Registered: May 2003
Location: India
Distribution: Knoppix, RedHat
Posts: 246

Rep: Reputation: 30
type iptables -L to list the firewalling rules

using --flush option to remove the firewall
or disable it completely and try again. if it works then obviously its a firewall issue.
 
Old 08-17-2003, 07:26 AM   #3
lsgko
Member
 
Registered: Aug 2003
Location: USA
Distribution: Fedora Core 4
Posts: 48

Original Poster
Rep: Reputation: 15
It was a firewall issue, I used the flush to get it to work. When I run the "setup" command, I can set the firewall settings, but when ever I go back in to the firewall section it is still set to High.

Where do I go / What command can I use to set the firewall? (Or even better is there a file I can edit to set the firewall settings)
 
Old 08-17-2003, 07:40 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try setting the input policy to drop:
iptables -P INPUT DROP

Then just allow access to certain ports - eg 80 for http:
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
 
  


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
Firewall blocking some POP3 requests Funky D Linux - Networking 5 09-23-2005 04:21 PM
firewall blocking internet k4zau Linux - Networking 1 09-24-2004 02:18 PM
Configure rh9 as a firewall and router for my windows webserver iel Linux - Networking 1 03-15-2004 02:07 AM
firewall traffic blocking help jaylee Linux - Security 8 06-30-2003 10:44 AM
Firewall not blocking ports... bfloeagle Linux - Security 9 05-20-2003 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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