|
What this is all about: I'm attempting to get a fileserver set up at my home for remote file retrieval. I'd like to have the ability to dump stuff on my server at home and pick it back up whenever I need to, as well as set up a development webserver. Here's the list of stuff I've got, and my particular network setup:
The first step I took was a clean install of OSX on the iMac. The Barricade handles all of the PPPoE duties, so I connect to it via DHCP. I then installed a copy of DNSupdate, and puzzled through the setup routine. Essentially, what you need to do is set up the client and the hostname. You'll want to find a screen with two checked boxes reading "OK" when you're done. It runs as a daemon in the background on boot, so you don't have to start it each time you reboot your Mac. Next, I turned Personal File Sharing and Personal Web Serving on in OSX (Preferences -> Sharing -> Services Tab) and then turned the Firewall on (Preferences -> Sharing -> Firewall Tab). This starts up Apache and your AFP sharing, so that you can see your personal webserver on the network: open Safari and enter "http://127.0.0.1/~yourusername" in the URL bar. Theoretically, you should see the Apache install screen, or whatever page you've replaced it with.
I then signed up for an account with dyndns. Go to their site, choose "dynamic DNS," and create an account. Free and easy. Then, add a host. What you're doing is creating the name (the Hostname) you'll point your webserver to in your browser. Use the pulldown menu to choose a free domain (e.g. dyndns.org), and make sure your computer's IP address is present. Check Enable Wildcard, and ignore Mail Exchanger (I'm not covering that here.) Then click Add Host.
I configured the Barricade, at first, to open ports to the iMac by specifying the IP address. I opened port 80 for web serving and ports 548 and 427 for Personal File Sharing. Web sharing worked internally, resolving lockardugan.dyndns.org and showing me the Apache install screen from the iMac, but outside of the house I was unable to connect. |
Updates |