LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-11-2003, 11:02 PM   #1
Heaven_Hell
LQ Newbie
 
Registered: Jun 2003
Location: Northern California
Distribution: Mandrake 9.1
Posts: 3

Rep: Reputation: 0
Exclamation internal web server wants out


Hi all. Im just learning linux. Been using it for about 3 months, and ran into a problem.... Can Anyone Help??
I am running a web server that is inside a LAN and want to make it accessible to the Internet. The web/ftp/mail server is behind another linux box which also is the one that shares the Internet connection. Everyone in the LAN can access the web/ftp/mail server pages. But it can not be seen from the outside world.

example setup I have

192.168.0.1 = Main PC/Internet Connection Sharing
ppp0/Dynamic IP/DYNDNS.org for dynamic service
eth0 NC to hub
OS = Mandrake 9.1

192.168.0.3 = web/ftp/mail server "Sambar 6.3"
ports: web = 80, SMTP = 26, nntp = 119, pop3 = 110
eth0 NC to hub
gateway = 192.168.0.1
OS = Mandrake 9.1

192.168.0.4 - 192.168.0.12 = other PC's
gateway = 192.168.0.1
NC to hub
OS = Windows ME, 98, XP

Any,ANY Help would be greatly appreciated. Been working with this for over a month
Thanks In Advance
 
Old 06-12-2003, 01:04 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You will need to use either iptables or ipchains (depends on your kernel) rules on the machine with the net connection to forward requests based on ports to your server.
 
  


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
Samba help, internal web server Caloris Linux - Networking 2 09-14-2004 07:35 PM
Access internal web server by name LoRd Of XAoS Linux - Software 2 07-02-2004 03:56 PM
Can't browse internal web server using iptables iel Linux - Networking 7 03-25-2004 12:56 AM
iptables does not allow me to access internal web server. JawjLindo Linux - Security 2 11-10-2003 02:23 PM
internal IP based web server. tusher Linux - Newbie 3 11-04-2003 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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