How to let remote computers through my router?

I'm having a hard time figuring out how friends and clients can access my Drop Box. It's worked in the past just fine when I was running a direct Ethernet connection from the cable modem into my Mac. Since I set up a home network (first with a Linksys router, now Belkin) it hasn't worked at all.

Of course, System Prefs: Sharing says Personal File Sharing is on and that others can access my computer at 192.168.x.x... but that only applies to those computers in my local home network. The browser-based router control panel gives a WAN IP in the 70.x.x.x range (same with "Default Gateway") and a DNS Address in the 24.x.x.x range. I had my friend test every IP I could pull from this router and none worked.

What am I doing wrong?

Dual 2GHz G5, Mac OS X (10.4.3), 1 GB RAM

Posted on Mar 6, 2006 5:37 PM

Reply
14 replies

Mar 6, 2006 7:36 PM in response to Dave Stolte

It sounds like you need to "forward" the ports that allow the access you want. This forwarding is done in the router and will send any traffic that calls on that port to a specific computer.

Your computer will be given an internal IP address that you pointed out. You need to forward these ports to your internal computer IP address:
for Apple File Sharing Port: 427
for iChat Port: 5060 & 5190 & 5678
for Personal File Sharing Port: 548
for iTunes Sharing Port: 3689
for HTTP Port: 80
for FTP Port: 20 thru 21
for Windows Sharing Port: 139

If your router is anything like mine, when you go into to make setting changes you'll find a page that will allow you to set up port forwarding and hopefully it will explain how to do it for your particular unit.

Hope this makes a minor amount of sense? If not post back I'll be watching.

Mar 6, 2006 11:19 PM in response to TheGuyintheProjectionBooth

My situation is similar.... Personal web sharing is not accessable from the out side. No one can see my iWeb in my publish folder. Assuming I need to foward port 80?

I'm at LinkSys site port forwarding. There are 6 columns.

Application ---- I entered 'HTTP'
Start ---- ?
End ---- ?
Protocol(TCP,UDP, or Both) ----- It's on TCP
IPAddress (last numbers blank) ---- I entered '80'
Enable check box ---- on

Am I close?

Mar 7, 2006 3:16 AM in response to drasticv

Try this:

Application ---- HTTP
Start ---- 80
End ---- 80
Protocol(TCP,UDP, or Both) ----- TCP
IPAddress (last numbers blank) ---- Your Computers LAN (internal) IP address, i.e. 192.168.1.xxx
Enable check box ---- on

I glanced at a Linksys online manual and got their IP configuration which is 192.168.1.x. I use Netgear, 192.168.0.x. Dumped Linksys when the rep told me to buy a real computer.

Hope this works for you.

Mar 7, 2006 8:44 AM in response to Dave Stolte

Yes, 192.168.x.x are internal IP's. These IP addresses can only be seen from inside your network. You need to give your friend your external IP address instead - the one the router has acquired from your ISP. Probably the easiest way to find this is to look at the WAN settings page on your router control panel. Using the external IP address, and with port 80 forwarded to your webserving machine's internal IP address, your friend will be able to see your site. Don't forget to check you have that port open in your System Preferences > Sharing > Firewall too, as that will also block traffic if it's on.

Mar 7, 2006 10:27 AM in response to Dave Stolte

Yes, your setup looks right if you are distributing the services across 4 different machines.

Also a word of warning - the only way to turn off the Firewall on a particular port in the "Sharing > Firewall" panel is to turn off all your Firewalls. The panel will not allow you to access the Firewalls that get turned on for any predetermined Apple service - each service that Apple has in the Sharing window.

As to your latest posting - since you are splitting up the services between 4 machines, does the machine that falls under 192.168.2.30 have Personal File Sharing turned on? If so, then the next step would be turn off the Firewalls and see what happens. With them on and if you try to enter the system properly, they should not be a problem. But as I have found Apples Firewalls don't behave in an industry norm.

Mar 7, 2006 10:43 AM in response to Dave Stolte

I think I might see part of your problem. You have the two ports that Apple uses for File Sharing split between two machines. It needs to be just one machine for both 548 and 427. Or if your router will allow duplicate forwards that can be applied to the two different machines? Otherwise, your stuck with only one machine getting the benefit of the port forwarding.

Also, go to the Firewall panel in the Sharing Prefs and put your cursor over the Firewall. A yellow pop up will tell you what is happening. Which should be if that service is checked in the Firewall panel, you are allowing traffic through on that port.

Mar 7, 2006 11:27 AM in response to Dave Stolte

Glad you got it going. I spent two weeks testing and learning from "Trial by Fire" on this and still things aren't as they should be. But then I'm trying to make it so that PC's can connect and I can connect privately through PC's. It's been an education.

Glad to have been of assistance and thank you for the Helpful and Solved accolades. Since getting bounced back at the inception of the new boards, I'm having to rebuild my points. A Mac Guy can't have too many points these days.

Take Care and post back or eMail me when you're ready to try to connect to the Dark Side (PC's). I might have it all figured out by then.

Mar 7, 2006 11:33 AM in response to TheGuyintheProjectionBooth

didn't work for me..... (darn..)

They told you to get a real computer??? What a slap in the face!

Here is my situation.... I have Vonage the internet phone service that came with a linksys router. My personal web sharing worked without the router.

System Pref/Network/
TCP/IP Tab --- Using DHCP
DNS servers ---Blank
Search Domains --- Blank
PPPoE Tab --- connect is unchecked

System Pref/Sharing/
Services Tab --- Personal Web Sharing checked on
Firewall Tab --- OFF
Internet Tab --- Internet Sharing On & Built-in Ethernet check

I contacted linksys and they gave me my external ip address so I thought problem was solved. I did the forwarding stated above. What next can I do? (<--- just watched Star Wars this morning and am talking like Yoda. God help me.)

Thanks!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to let remote computers through my router?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.