LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-16-2002, 06:47 PM   #1
68javelin
LQ Newbie
 
Registered: Nov 2002
Location: US of A
Posts: 2

Rep: Reputation: 0
how to port forward - correctly


Hi everyone. I have a webserver behind a linux firewall. I can't get to it from the internet. When I enter my URL, say www.foo.com, it returns an error "The page cannot be displayed"

Following is a simple diagram(might not display correctly) of what I'm trying to do:
............
.Internet.
............
|
| 24.111.111.111
_____|__________
| firewall | 80 |
|-----------------------|
| HTTP | 8099 |
----------|-------------
| 192.168.1.1
|
--------|-------|-------
|
| 192.168.1.2
------|-----
| WWW |
------------

Following is my port forwarding rule:
Proto: TCP
Source Port: 80
Destination IP: 192.168.1.2
Destination Port: 80

If I run an ipchains -C (to test rules), with corresponding IP source/destination and port 80, it says "accepted". This means that my network is open for incoming(internet) request through port 80.

From my firewall, I'm able to ping say, yahoo.com, and to my 24.111.111.111 from the internet.

From my 192.168.1.1 network, I'm able to get to my webserver either through its IP address or FQDN. But when I'm in the internet, I can't get to my webserver.

What am I doing wrong? Please advise. I'm kinda new with linux and setting up webservers. One more thing,

Any suggestion or comments are welcome.

Thanks,
Angel
 
  


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
Can forward port 80 but not others capbob Linux - Networking 4 05-20-2005 07:02 PM
Port Forward prbspfc Linux - Networking 9 03-24-2004 06:00 AM
A way to forward an IP/Port to another system's IP/Port astroboy5714 Linux - Networking 6 01-26-2004 05:45 PM
port forward help please indy317 Linux - Networking 2 07-18-2003 02:21 PM
Forward port port 80 to lan web server dulaus Linux - Networking 9 10-04-2002 03:45 AM

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

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