image
image

|


Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old February 21st, 2002, 12:54 PM
Registered User
 
Join Date: Nov 2001
Location: Fort Lauderdale Florida
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Anim8r is on a distinguished road
Web sharing through a DSL router

I am trying to set up personal web sharing running through a Linksys DSL router.

I have pointed people to my IP on the router... but of course it doesn't point to the mac. Any ideas or workarounds for this type of setup?

Thanks

Ian Eisenberg
Reply With Quote
  #2  
Old February 22nd, 2002, 01:20 AM
Registered User
 
Join Date: Jun 2001
Location: Philadelphia, PA
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
wstotler is on a distinguished road
Linksys Router pass-through of traffic to your Web site/FTP

Don't hold me to it, but I have a similar router (Linksys Etherfast) setup and I've attempted what you want to do successfully. (To use Apache to put a mini Web site, accessable only by the IP address and not by name, out on the Web. Ditto ftp)

(As I remember it. . . .)

You need to:

(1) Log in to your Router via your browser
(2) Click the orange "Advanced" tab
(3) Click on the "Forwarding" tab
(4) Change one of the "0" port entries to "80" (for http/Web)
(5) Designate the LAN IP address of your Mac on the corresponding "IP Address" line.
(6) Change another of the "0" port entries to "21" (for ftp)
(7) Designate the LAN IP address of your box on the corresponding "IP Address" line.

This assumes:

(1) Your box has a LAN IP on your internal network, one that you've assigned by: (a) disabling the "DHCP Server" option on the Router (go to the DHCP tab to do this) and (b) you've assigned a static LAN IP address (like 192.168.1.100) to your Mac in your TCP/IP (9.x) control panel or (X) System Preferences (Networking) panel.

(2) Your ISP will allow direct hits to your box.

OK--this is what I remember about getting it to work on my box with OS X (I seem to recall).

BUT I *do not* know the security ramifications. You REALLY should find out more about that before you proceed. I've seen posts about Apache scripts that need (I think) to be modified prior to "going live" to provide increased security for your box. I was too concerned with security to keep anything open and available for very long.

The other problem you may encounter is if (when) your provider changes your external IP address--you'll need to tell your friends about the change everytime you have it reassigned for them to "see" your box.

Good luck.
Will
Reply With Quote
  #3  
Old February 22nd, 2002, 01:22 AM
Registered User
 
Join Date: Jun 2001
Location: Philadelphia, PA
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
wstotler is on a distinguished road
One more thing.

Oh, yeah.

You need to know the *external* address of the router (not your internal LAN address) to tell your friends.

You can find this by logging into the Router's Web interface, clicking the Status tab, and reading the WAN IP address.

This is what they'll need to find you as it's your Mac's ISP-assigned IP address.

Will
Reply With Quote
  #4  
Old February 22nd, 2002, 01:29 AM
Registered User
 
Join Date: Jun 2001
Location: Philadelphia, PA
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
wstotler is on a distinguished road
And another thing . . .

OK.

The way this works is that your friends will hit the WAN IP address you give them (see my last post) and their request will be passed by the Router to the LAN IP address of your Mac (see my first post).

That is, by setting things up the way I described you're telling the Router: "External requests for Port 80 (http/web) should be passed to my Mac, which lives at 192.168.1.100 (or whatever your static LAN IP you designate)."

The Mac should respond by serving your friends the page they request.

Will

P.S. Dear Mac Gurus, if I've given incorrect information to this person please correct me--don't flame me. Thanks.
Reply With Quote
  #5  
Old February 22nd, 2002, 07:20 PM
Registered User
 
Join Date: Nov 2001
Location: Fort Lauderdale Florida
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Anim8r is on a distinguished road
That was pretty much the procedure I followed.
I am using a dynamic addressing service to route to my Mac's IP (noip.com).
I am still unable to surf via any of my other machines if i have disabled DHCP and entered static LAN IP's.

I am confused... at least the noip service is free!

Ian Eisenberg
Reply With Quote
Reply

Thread Tools

Posting 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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you get a DSL router to work with Earthlink DSL service? seydlitz Networking & Compatibility 3 September 6th, 2003 11:52 AM
[HOWTO] - Modify the personal web sharing solrac HOWTO & FAQs 2 September 5th, 2002 11:04 PM
How sercure is OS X's Web Sharing and File Sharing? PowerBookDude Mac OS X System & Mac Software 5 October 13th, 2001 01:06 AM
MacOS X Web Sharing Update RHITMacMan Mac OS X System & Mac Software 1 September 3rd, 2001 02:23 PM


All times are GMT -5. The time now is 04:10 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.