Solved

setting up a linux webserver

Posted on 2004-08-02
4
194 Views
Last Modified: 2013-11-30
Hello,

I would like to set up a webserver and a FTP-server in our compagny network.  We have a fixed IP arriving on a DSL-modem, then the Internet traffic goes trough the firewall into the network.
I would like to redirect all requests on port 80(HTTP) to our web and FTP server inside the network.  Can anybody tell me how would be the best way to do that?

Thanx
greg
0
Comment
Question by:gregorydeceuninck
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 1

Accepted Solution

by:
louisloona earned 125 total points
ID: 11701293
hi ,

Some of the DSL-modem/router, it should have "port- forward" function u can use .
You can do the port-forwarding to forward the 80 port and 21 port to your web server .

if your DSL-modem/router do not have port-forwarding function ,
you can use the other option to do the forwarding

Step
1. conenct your DSL- modem/router to one of the pc ( can be linux or windows)
2. you can use the NAT in the iptables to do the port forward if you going linux option
    or
    you can connect your DSL- modem/router to your windows web server and use your web server
    to do the gateway as well

* i think this is the easier way to do it, of course you can use the other "harder way" to make sure your
   security

more about the port-forwarding concept:
http://www.homenethelp.com/web/explain/port-forwarding-dmz.asp

more about NAT in iptables:
http://www.netfilter.org/documentation/HOWTO/NAT-HOWTO-6.html#ss6.2


0
 
LVL 8

Expert Comment

by:Marakush
ID: 11703680
gregorydeceuninck,

louisloona, is 100% on the port forwarding of the router you are going to use. Most have a web based interface.

Now to the webserver and FTP server, What linux distro are you planning to use? You might want to consider something like Knoppix, whic will boot off of CD then you can install it to your HDD with a few simple command lines. It has apache webserver installed and should have no problem with FTP

http://www.knoppix.org/

Marakush
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question