Solved

setting up a linux webserver

Posted on 2004-08-02
4
191 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
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

828 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