Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Appleshare access over the internet



At 10:48 AM +1200 8/1/02, James Tolchard wrote:
Well, if all you want is AFP (Appleshare) access to your fileserver, here's what
I'd do (and have done):

1. Enable the file server and secure it (ie, usernames and passwords)
2. Open port 548/tcp on your firewall, and create a NAT entry in your router (if
applicable)
3. For added security, you may wish to do something like restrict the source IP
for incoming AFP connections
4. Clients then connect to your fileserver (using Chooser or Network Browser) by
specifying the IP address of your server (or router, depending on your setup).

These steps are all correct- but in regards to AFP over the net- this is a bad thing in general. Although the account password is never sent over the wire (usually authentication happens with a DHX operation) the data itself is not encrypted.

You can, between Mac OS X hosts, do:

ssh -f -L 3000:server.domain.com:548

...then in connect-to choose:

localhost:3000

All connections the localhost receives will be forwarded over an ssh tunnel to server.domain.com on port 548 (afp).

I believe someone produced a AppleScript Studio front end to this process. It should be in the list archives.

Note Jaguar / Jag server supports this transparently, and that sshd must be running on the server for this to work.

--
http://www.4am-media.com
Mac OS X Consulting and Training
Michael Bartosh
email@hidden
303.517.0272
Denver, CO


"The surest way to corrupt a youth is to instruct him to hold in higher
regard those who think alike than those who think differently."

- -- Nietzsche
Think Different.
_______________________________________________
macos-x-server mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macos-x-server
Do not post admin requests to the list. They will be ignored.


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.