Web Hosting Talk







View Full Version : How do I setup a Web/FTP Server like this?


ckevin
05-24-2001, 09:31 PM
I'm using Calbe modem and I wish to setup the servers as follows:

Diagram:

Cable Modem
|
|
|
1st Computer
Win2000
1 Real IP from Cable modem
|
|
|
Switch Hubs
|
|------------------------------------------------------------
|.................................................................................. |
Computer B.................................................................. Computer C
Web/FTP Server............................................................ Web/FTP Server
RedHat 7.1 .................................................................. RedHat 7.1
No Real IP.................................................................. No Real IP


Do you think I can setup like this with only 1 real IP? What software do I need? If can't setup with both Computer B & C, then how about only Computer B (Just need to forward the real IP to Computer B? Using Router Software can do this?)

(Also, are there any guides I can read?)

Thanks your help.


Kevin

The Prohacker
05-24-2001, 10:01 PM
You could just vhost the sites on one machine, as for doing all that with one IP, it would be a pain in the a**. And running a server on a cable modem really isn't a good idea, because many cable providers prohibit running servers on there lines and most don't have the redundancy for server usage. Not including that some cable's are capped upload...

ckevin
05-24-2001, 10:11 PM
thanks your help, The Prohacker. Actually, the Web/FTP servers are for my personal use, so I don't mind if the cable modem connection is not stable etc.

However, as you said only 1 server can be setup for vhost, I can setup in 1st Computer without problems. Is it possible to bring the real IP from 1st Computer to Server B, so that those FTP/Web can setup in the Linux OS? (Using Router Software?) :confused:

cperciva
05-24-2001, 10:15 PM
If it's only for your own personal use I'd use different ports. ie, REALIP:8080 -> B:80, REALIP:8081 -> C:80, REALIP:8121 -> B:21, REALIP:8221 -> C:21.

That has the added advantage of hiding you from people who only scan "standard" ports for vulnerable servers.

Kevin_calinux
05-25-2001, 10:18 AM
You can use a single IP and do NAT and port forwarding.

if you need specific help email me and I will provide you with step by step...


if you want to try to do this yourself, you need to learn about

ipchains or iptables

ckevin
05-25-2001, 09:25 PM
Kevin, thanks for your help. I wish to email you but you disable to send email thru this board and haven't left the email address for me...

I really need your help and you can send your instructions thru i227@hotmail.com. I think there should be 2 parts, 1 is config the Win 2000 in 1st Computer and the other 1 is config the Linux in Computer B & C for ipchains and iptables.

P.S.
I think the best way to learn is follow some "step by step working guide" Yeah, I learn Linux thru this way! :cool:

Kevin_calinux
05-27-2001, 10:47 AM
I am away on holidays untill monday, I will post the step by steps for you when I get home, it is too hard to "type" on my palm :)

Kevin_calinux
05-27-2001, 10:48 AM
kdruet@calinuxsystems.com