FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old October 8th, 2003, 11:38 PM
chizuoka chizuoka is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 7 chizuoka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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!

Reply With Quote
  #2  
Old October 8th, 2003, 11:42 PM
chizuoka chizuoka is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 7 chizuoka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Oh yes.. and by the way.. all my computers use WinXP Pro.

Reply With Quote
  #3  
Old October 9th, 2003, 05:31 AM
dilinator dilinator is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: UK
Posts: 101 dilinator User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 53 m 22 sec
Reputation Power: 5
Send a message via AIM to dilinator
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

Reply With Quote
  #4  
Old October 9th, 2003, 09:21 AM
chizuoka chizuoka is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 7 chizuoka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #5  
Old October 9th, 2003, 10:45 AM
damonbrinkley damonbrinkley is offline
Modz
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: NC, USA
Posts: 364 damonbrinkley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 18 sec
Reputation Power: 6
Send a message via AIM to damonbrinkley
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.

Reply With Quote
  #6  
Old October 9th, 2003, 10:50 AM
chizuoka chizuoka is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 7 chizuoka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #7  
Old October 9th, 2003, 10:59 AM
damonbrinkley damonbrinkley is offline
Modz
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: NC, USA
Posts: 364 damonbrinkley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 18 sec
Reputation Power: 6
Send a message via AIM to damonbrinkley
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.

Reply With Quote
  #8  
Old October 9th, 2003, 11:06 AM
chizuoka chizuoka is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 7 chizuoka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #9  
Old October 9th, 2003, 11:23 AM
damonbrinkley damonbrinkley is offline
Modz
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: NC, USA
Posts: 364 damonbrinkley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 18 sec
Reputation Power: 6
Send a message via AIM to damonbrinkley
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.

Reply With Quote
  #10  
Old October 9th, 2003, 11:50 AM
chizuoka chizuoka is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 7 chizuoka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #11  
Old October 9th, 2003, 12:00 PM
damonbrinkley damonbrinkley is offline
Modz
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: NC, USA
Posts: 364 damonbrinkley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 18 sec
Reputation Power: 6
Send a message via AIM to damonbrinkley
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.

Reply With Quote
  #12  
Old October 10th, 2003, 10:58 AM
chizuoka chizuoka is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 7 chizuoka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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??

Reply With Quote
  #13  
Old October 10th, 2003, 02:41 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,703 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 21 h 33 m 53 sec
Reputation Power: 688
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Setting up a Apache server and FTP on a private LAN to be accessed by WWW


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |