Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Networking > Setting up webserver on DSL

Setting up webserver on DSL
Thread Tools
indigoimac
Senior User
Join Date: Feb 2003
Location: Pittsburgh, PA
Status: Offline
Reply With Quote
Feb 6, 2006, 09:38 PM
 
I'm running all of this on a dedicated machine using OSX's Personal Web Sharing. OK so I've got the Dynamic IP situation w/ auto-updater(dyndns.com) set-up but I'm having some difficulties. Verizon seems to block port 80 inbound(who would have guessed) so I need to setup my router to send all traffic from a different port ie 8080 or 2400 or something to port 80 and the to a certain address(192.168.1.150?) this whole thing is really throwing me off and I apoligize if this doesn't make any sense but I'm sure someone can figure this out. Thanks alot and then I guess I have to configure apache to see web traffic coming in on a different port than prt 80, ah so confusing!!! Thanks again!! Whoops for got to mention I'm using a Linksys BEF11S4 router(the menus are very similar to the WRT54G)

ghporter, I'm calling, you've been very helpful in the past, thanks!
15" MacBook Pro 2.0GHz i7 4GB RAM 6490M 120GB OWC 6G SSD 500GB HD
15" MacBook Pro 2.4GHz C2D 2GB RAM 8600M GT 200GB HD
17" C2D iMac 2.0GHz 2GB RAM x1600 500GB HD
     
ghporter
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Feb 6, 2006, 10:26 PM
 
I think you have to solve this in two parts. First, configure your web server to listen on ports other than 80-I don't have any clue whether Personal Web Sharing makes this easy or not-though it should... Anyway, now all you have to do is to tell your router to forward those ports you now want your web server to use to your web server. This IS easy on the BEF11S4 under Port Forwarding. Port forwarding depends on the target machine having a fixed LAN IP, so you need to do that if you haven't already.

I think that's that...does it work now?

Glenn -----OTR/L, MOT, Tx
     
indigoimac  (op)
Senior User
Join Date: Feb 2003
Location: Pittsburgh, PA
Status: Offline
Reply With Quote
Feb 7, 2006, 07:13 PM
 
Thank You very much, once again, for making sense out of this for me. Changing the port in Apache/Personal Web Sharing was a bit of a pain and had to be done through Terminal but all is working well now on port 2400. As is the port forwarding, now all I need is a domain name to shorten up my rediculous dyndns address w/ the port change in it. And I have to add a log in prompt but everything in its time.
15" MacBook Pro 2.0GHz i7 4GB RAM 6490M 120GB OWC 6G SSD 500GB HD
15" MacBook Pro 2.4GHz C2D 2GB RAM 8600M GT 200GB HD
17" C2D iMac 2.0GHz 2GB RAM x1600 500GB HD
     
jamil5454
Mac Elite
Join Date: Oct 2004
Location: Downtown Austin, TX
Status: Offline
Reply With Quote
Feb 7, 2006, 08:36 PM
 
So your internet service provider block port 80 farther upstream than your modem? Or your DSL modem blocks port 80?
     
indigoimac  (op)
Senior User
Join Date: Feb 2003
Location: Pittsburgh, PA
Status: Offline
Reply With Quote
Feb 7, 2006, 09:58 PM
 
Originally Posted by jamil5454
So your internet service provider block port 80 farther upstream than your modem? Or your DSL modem blocks port 80?

I believe verizon blocks port 80, this seems to be pretty common, apparently there was some virus that took complete advanatge of this and took out M$'s site so they disable prt 80 inbound. Granted, I still have prt 80 outbound for the rest of the internet.
15" MacBook Pro 2.0GHz i7 4GB RAM 6490M 120GB OWC 6G SSD 500GB HD
15" MacBook Pro 2.4GHz C2D 2GB RAM 8600M GT 200GB HD
17" C2D iMac 2.0GHz 2GB RAM x1600 500GB HD
     
ghporter
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Feb 7, 2006, 10:21 PM
 
It would be much easier for Verizon to block the port than to configure each and every DSL modem their users have to do the blocking. It's almost guaranteed that it's the ISP, not the modem.

Glenn -----OTR/L, MOT, Tx
     
indigoimac  (op)
Senior User
Join Date: Feb 2003
Location: Pittsburgh, PA
Status: Offline
Reply With Quote
Feb 7, 2006, 11:10 PM
 
I just wanted to let everyone know that I found an excellent program/GUI for access control.
http://www.macupdate.com/info.php/id/9480

Also just for the sake of curiosity, I know I have the router going but should I bother w/ OSX's built in firewall and if so what should I block off if anything. Thanks! This thread has been surprisingly helpful as I feel my way in to new territory.
15" MacBook Pro 2.0GHz i7 4GB RAM 6490M 120GB OWC 6G SSD 500GB HD
15" MacBook Pro 2.4GHz C2D 2GB RAM 8600M GT 200GB HD
17" C2D iMac 2.0GHz 2GB RAM x1600 500GB HD
     
ghporter
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Feb 8, 2006, 09:50 AM
 
Yes, use the firewall. Your router hides what's behind it through Network Address Translation (NAT), but the firewall actually examines traffic and can manage a lot of it. The OS X firewall is great (and FREE!), and used with a NAT router makes you pretty safe.

Glenn -----OTR/L, MOT, Tx
     
apostacy
Junior Member
Join Date: Dec 2003
Location: New Jersey
Status: Offline
Reply With Quote
Feb 11, 2006, 09:40 AM
 
I am trying to do the same thing (as IndigoiMac), except when I enter the 3 IPs I want to use for the DHCP, my router doesn't seem to like that and I can no longer get on the internet or even access the config page (192.168.1.1/). And I've power cycled everything--including my PC.
MacBook 2.4 GHz
Mac OS X 10.5.8
     
jersey
Senior User
Join Date: Dec 2002
Status: Offline
Reply With Quote
Feb 11, 2006, 10:20 AM
 
another good tool for apache admin under osx is webmin gives you total control. easy access to apaches httpd.conf file, easy virtual server set up, and apache module control.

as well, take a look at all the nerdiness that is Ward Mundy's blog. i followed it and set up my server in about a day, with no past experience.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 06:15 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,