Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ericksgotmac

macrumors regular
Original poster
Nov 22, 2008
120
0
I've been fooling around with osx server 10.6 and need help with setting it up the way I need. Basiclly I will use the server to share files between my house and my fathers, grandmothers and uncles homes. I'm able to connect to my server from my mbp on the same network but I'm lost when it comes to connecting to it via the Internet and from a windows pc. Is their any book, website or specific places I should go to learn these things? I'd really appriciate any help.
 
You need to do two things:

1) get ports forwarded by your router
2) find your IP address

The first thing you need to do is log in to your router's control panel. Open a web browser. The address of your router depends on what model it is, so google it if you're not sure. Some common ones are 192.168.1.1 and 192.168.100.1. Log in as the administrator (again, the default username and password vary, so google your router to find out, but they're usually either blank/admin, admin/blank, admin/admin or something like that).

Go to the Port Forwarding page and set the ports your server is running on (see below) to your server's local IP (192.168.x.x).

I'm not sure exactly what kind of filesharing you're doing, but AFP is on port 548 and FTP is on 21. If you're using some other protocol, google to find the port.

Next you need to find your external IP. The easiest way for most people to do this is to go to http://showmyip.com/ or some similar site.

Now, when you connect to your server from home, instead of typing in 192.168.x.x, type in your external IP to make sure the connection works.

If it does, you should be able to use that address to connect from anywhere in the world.

If you don't have a static IP (which you probably don't), I suggest using a service such as DynDNS so that you will have a static (and for most people more memorable) address to connect to. Visit http://www.dyndns.com/ for details.

Hope this helps.
 
A suggestion

I would suggest that this is an entirely BAD idea.

Opening up your AFP or FTP server to the internet is not very safe at all.

You might want to think about using the OS X Server VPN service and connecting using that VPN. This will work from both Mac and Windows machines and you will have an encrypted connection to your server.

As bebu mentioned, there are all sorts of steps that are required, like making sure that the correct ports are forwarded from your modem or router to the server, configuration of the VPN service, finding your external IP address, etc.

A good starting point is:

http://www.apple.com/server/macosx/resources/documentation.html

Specifically:

http://images.apple.com/server/macosx/docs/Leopard_Server_Security_Config_v10.5_2nd_Ed.pdf

and

http://images.apple.com/server/macosx/docs/Network_Services_Admin_v10.6.pdf

If you want to discuss any specifics, shoot me an email.

Cheers,

Mark

You need to do two things:

1) get ports forwarded by your router
2) find your IP address

The first thing you need to do is log in to your router's control panel. Open a web browser. The address of your router depends on what model it is, so google it if you're not sure. Some common ones are 192.168.1.1 and 192.168.100.1. Log in as the administrator (again, the default username and password vary, so google your router to find out, but they're usually either blank/admin, admin/blank, admin/admin or something like that).

Go to the Port Forwarding page and set the ports your server is running on (see below) to your server's local IP (192.168.x.x).

I'm not sure exactly what kind of filesharing you're doing, but AFP is on port 548 and FTP is on 21. If you're using some other protocol, google to find the port.

Next you need to find your external IP. The easiest way for most people to do this is to go to http://showmyip.com/ or some similar site.

Now, when you connect to your server from home, instead of typing in 192.168.x.x, type in your external IP to make sure the connection works.

If it does, you should be able to use that address to connect from anywhere in the world.

If you don't have a static IP (which you probably don't), I suggest using a service such as DynDNS so that you will have a static (and for most people more memorable) address to connect to. Visit http://www.dyndns.com/ for details.

Hope this helps.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.