LinuxQuestions.org
Visit Jeremy's Blog.
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-17-2004, 01:29 AM   #16
mindfestival
Member
 
Registered: Mar 2004
Posts: 47

Original Poster
Rep: Reputation: 15

Thanks heaps Demonbane for sticking with my post this far!
This is quite odd indeed...I have httpd running on my linux box (10.0.0.2). I have configured my router to foward port 80 from all sources to 10.0.0.2, i have the correct ip assigned to the hostname pointer, and as far as configuring apache goes, i havent touched it....
 
Old 08-17-2004, 01:38 AM   #17
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
make you don't have a firewall running blocking the port
 
Old 08-17-2004, 01:46 AM   #18
mindfestival
Member
 
Registered: Mar 2004
Posts: 47

Original Poster
Rep: Reputation: 15
Ok, firewalls are kind of configured using IPTables right? What i do know is that i have never installed a commercial firewall product on the linux system. What exaclty am i looking for, should i look in and around /etc/sysconfig/iptables ? I have not tampered with iptables since i did the install, so i can guarantee that the defaults are still in place.
Not sure if all this assists you or not...
 
Old 08-17-2004, 01:50 AM   #19
mindfestival
Member
 
Registered: Mar 2004
Posts: 47

Original Poster
Rep: Reputation: 15
The only line of any relevance to port 80 in my iptables script is this:

-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 80 --syn -j ACCEPT
 
Old 08-17-2004, 08:30 AM   #20
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
stop iptables to make sure its not a firewall problem first
Code:
/sbin/service iptables stop
 
Old 08-17-2004, 09:59 PM   #21
mindfestival
Member
 
Registered: Mar 2004
Posts: 47

Original Poster
Rep: Reputation: 15
Sorry DemonBane, got another friend to try it, same error with iptables turned off. He couldnt ping my domain or my router. heres how i have it overall.

linux server = 10.0.0.2
router = 10.0.0.138

10.0.0.2
----------
Interesting ports on (10.0.0.2):
(The 1595 ports scanned but not shown below are in state: closed)
Port State Service
21/tcp open ftp
22/tcp open ssh
80/tcp open http
111/tcp open sunrpc
443/tcp open https
1024/tcp open kdm

10.0.0.138
-------
Interesting ports on (10.0.0.138):
(The 1597 ports scanned but not shown below are in state: closed)
Port State Service
21/tcp open ftp
23/tcp open telnet
80/tcp open http
1723/tcp open pptp

(they were shown as 'filtered' before) ?

-
 
Old 08-18-2004, 12:54 AM   #22
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
sounds more like a port forwarding problem, if there's a firewall configured on the router make sure it allows incoming port 80.
 
Old 08-18-2004, 01:07 AM   #23
mindfestival
Member
 
Registered: Mar 2004
Posts: 47

Original Poster
Rep: Reputation: 15
hrmmm been at this for a while now, i think that the problem is with the linux box.
I have told my router where to send port requests, and have assure that the hostname points to the correct IP. I think the connection breaks when it hits the linux server. Doing some googling on iptables... One question though, since it also didnt work with iptable stopped, does not confirm that the problem is actuallly not with iptables??

-mindfestival
 
  


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
Web interface for Apache (CMS) jriis Linux - Networking 1 12-17-2004 07:41 AM
Apache 2 web server behind NAT router rober Fedora 4 12-15-2004 07:07 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM
cups web interface j-me Linux - Software 3 03-24-2003 01:01 PM
Web browsing prob dcm1878 Linux - Networking 1 06-20-2002 04:58 AM

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

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