|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Setting up a Apache server and FTP on a private LAN to be accessed by WWW
Hi.. wondering if this is possible....
I am using a broadband connection from which there is a main server connected to the internet for the entire building (I am living in a condo). It has a static public ip My home server is then connected to this server with a static ip of 10.100.x.x My personal computer is then connected to the home server with a static ip of 192.168.x.x I would like to host a webpage and ftp on my personal computer using apache and some FTP program like cute FTP. How would I go about doing it? I have read around alot.. and i heard about virtual ip's , tunnelling and stuff like that.. but no one actually instruction about how to configure something like above. Hope anyone can help me! THanks! |
|
#2
|
|||
|
|||
|
Oh yes.. and by the way.. all my computers use WinXP Pro.
|
|
#3
|
|||
|
|||
|
ok
ok, all you need to do is port forward the ports, 80 (as default www) and ftp, 21 (as default) make sure you put a firewall on as these are very vulnerable ports, and dont use windows inbuit, use zonealarm or something, and what is the server like? is it a server like a proxy or something else, but make sure you forward those ports
|
|
#4
|
|||
|
|||
|
Hi... my HOME SERVER is using XP's internet connection sharing to share the access with McAfee's firewall. How do i go about forwarding the ports? By the way.. I do not have access to the main server of the building.. is it still possible?
|
|
#5
|
|||
|
|||
|
I'm pretty sure that XP's Internet Connection Sharing can't do any advanced things such as port forwarding. You may need to get a broadband router or use a gateway with more advanced NAT capabilities.
|
|
#6
|
|||
|
|||
|
Any suggestions on a gateway or software that can do port forwarding? If I plan to run Apache ... anything to suggest.. i have a dedicated computer running as a server.
|
|
#7
|
|||
|
|||
|
You can do it for free with Linux using iptables as your firewall that will perform NAT and can also forward certain ports to your internal machines. If you don't know Linux then it may take some time to set it up. There may be some 3rd party software for Windows that will turn it into a gateway machine and perform NAT and port forwarding, I can't think of any right now though. You could buy Windows 2000 Server and it comes with these capabilities through it's NAT.
|
|
#8
|
|||
|
|||
|
Well.. i guess Win 2K server is a better choice... means... with Win 2K there is a NAT with it? So i just need to configure that? What should I configure?
|
|
#9
|
|||
|
|||
|
I was wrong. It turns out that you can forward ports with XP's ICS. Search for add a service definition in your XP Help and it will tell you how to forward certain ports.
|
|
#10
|
|||
|
|||
|
I found it.. and now on my personal computer I am running IIS on default port 80. On the home server it is also running IIS on port 80.
So.. under the add service def.. i put the service as my IP .. then external port 8080.. internal port 80. .. because i want it when they type homeserver:8080 it goes to personalpc:80. But i get a no page found error |
|
#11
|
|||
|
|||
|
If you have two webserver internally that you want to forward ports to to have access to those servers from the Internet you're going to have some choices to make. You can't forward port 80 to both computers. You need to set one of the webservers to run on a different port number and have that port number forwarded to that server.
|
|
#12
|
|||
|
|||
|
I only have one server running ... that is my personal server. On the Home Server, I set a service def with external port 8080 and internal port 80 on my personal computer iP. It is supposed to forward port 8080 requests to my personal computer on port 80 ritgh??
|
|
#13
|
|||
|
|||
|
10.x.x.x are private non-routable IP addresses, so apparently you are going to need some port forwarding through your condo's main server too.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > Setting up a Apache server and FTP on a private LAN to be accessed by WWW |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|