![](/uploads/1/2/5/4/125482375/451822059.jpeg)
Sharing Files
Feb 06, 2017 For the Mac laptop, the person needs to dual boot into Windows to get this remote VPN access Can this exact same process be set up for MacOS, so as to not have to dual boot into Windows? Currently on the Macs, you can access the Server drive through the Work Domain in MacOS when in the office (not have to dual boot into Windows), so just want.
![Setup Remote Server For Files By Internet Mac Setup Remote Server For Files By Internet Mac](/uploads/1/2/5/4/125482375/377443771.jpg)
To enable File Sharing on your Mac, open the Sharing pane of System Preferences and select the option for File Sharing. Windows computers and Macs can then see your computer on the local network.
When you connect from a Mac using OS X Mavericks or OS X Yosemite to another computer using file sharing, your Mac automatically tries to use the Service Message Block (SMB) protocol to communicate. If SMB is not available, it tries to connect using Apple File Protocol (AFP).
To connect to a Mac or Windows computer that is sharing files on your local network, look under the Shared section of any Finder window.
You can also access local file shares from Open and Save windows and sheets.
To connect to a file server directly, use the Connect To Server feature of the Finder. Select Go > Connect To, and enter a URL, IP address or DNS name.
You can attempt to force a specific connection protocol (such as SMB or AFP) by using a valid URL. As long as the server you are connecting to allows the protocol you specify, the URL should work.
Advanced Options
If you want to limit which protocols can be used to connect to your computer using File Sharing, click the Advanced Options button in the Sharing pane. You can then select which protocols are used by your Mac. By default, OS X Mavericks and later automatically enable SMB and AFP for compatibility with Windows computers, Macs using Mavericks and Yosemite, and Macs using older versions of OS X.
Tips
- When entering a URL, the name of the shared disk, volume, or directory you are attempting to connect to (share name) must be specified. You are not prompted for it.
- You cannot type spaces as part of a share name when connecting. In place of any space in the share name, use %20 .
- When troubleshooting a connection issue, you can ping the IP address of the other computer using Network Utility. A successful ping verifies a TCP/IP connection between the two computers. This is an important first troubleshooting step when there's no response or a timeout for a connection attempt, since SMB connections involving a Mac require TCP/IP. However, a successful ping does not mean the SMB service is also available or working from the other computer.
- Check Microsoft support resources for information about setting up file sharing on your Microsoft Windows-based computer. These may include Help files installed on your PC, or the Microsoft online Knowledge Base.
- When troubleshooting an SMB connection issue, use Console in the Utilities folder. Console logs can help advanced users identify an issue. Some log files may appear only when logged in as an administrator.
- If you are connecting to a Windows SMB resource, check to see if your firewall is blocking TCP ports 137, 138, 139 and 445. After trying the above steps, you may perform advanced troubleshooting by inspecting log entries in the Event Log of the Windows SMB resource (if you have access to it), or the relevant logs in Console on your Mac.
- If you are connecting to Windows XP, make sure that the Internet Connection Firewall settings on your Windows computer are not preventing your connection. SMB uses ports 137, 138, 139, and 445. These ports should be open on the Windows XP computer. This may require 'Advanced' configuration of the XP firewall.
- Mac uses SMB only over the TCP/IP protocol, not the NetBEUI protocol.
- It may be necessary to contact your network administrator in some situations in order to grant access to your Mac from the SMB resource, or its host network configuration.
- Learn about connecting to legacy AFP services
'The cloud'. That nebulous (pun intended) place, somewhere 'out there' in internet-land that stores your files, photos, music, and more, so you needn't worry about getting access to to your digital files anywhere at any time. Sounds great! And it is. However, there are some dark aspects of 'the cloud' that may make you think twice about putting sensitive documents or photos on just ANY server. For instance, computer crackers stealing sensitive data can happen to large corporations as easily as small ones. 'The cloud' may sound like it's some large, ethereal thing, but in reality, there are real physical servers and hard disks that YOUR data is being stored on. And that data is administered by a person.
A person with flaws and foibles in charge of your personal finance information, medical history, or racy photos. I'm not trying to disparage computer admins of the world (I used to be one!). There are certainly extremely competent, ethical, and well-trained people managing your information on thousands of computers. However, there is an option available if you are privacy- and security-conscious and that option is to set up your own personal file server. One that integrates seamlessly with your Mac, iOS, and even PC. Securely sharing files on your own local network with family friends or in a small office is made easy with macOS Server. Here's how!
Set up macOS Server
If you haven't already done so, download and install macOS Server and optionally enable remote administration for easier setup.
How to set up file sharing on macOS Server
We'll be seeing up the file server for local network access. In a later tutorial, we'll show you how to connect to your home remotely via VPN and access your file server.
- Launch the Server App.
- Select File Sharing under the Services listing.
- Click the '+' under Shared Folders to add a new folder to share. Apple recommends using a separate hard drive to share your files from. However, you can create a New Folder on your main Macintosh HD if you are lacking a second hard drive.
- Click Choose once you've created your folder. Your new Shared Folder will now appear.
- Click the new folder and click the Edit button.
- Select all of the ways you want to be able to access your files.
- Select iOS to be able to connect your mobile Apple devices.
- Check Only allow encrypted connection if you need extra security. Note that this will disable the AFP protocol.
- Click OK.
- Click the OFF/ON button to start the service.
Your server is ready for local network connections!
How to connect to your personal file server
Now that your server is ready, you'll need to connect your Macs and iOS devices to get access to the data stored on your files.
Connect your Mac to your macOS File Server
- Launch Finder.
- Click your macOS Server computer under Shared in the menu on the left.
- Click Connect As.
- Enter your username and password from your file server and click Connect.
Connect your iOS device to your macOS File Server
- Launch Settings.
- Select Mail.
- Select Accounts.
- Select Add Account.
- Tap Other.
- Tap Add macOS Server Account.
- Tap a server from the list. If you don't see your server, select Other to manually enter the hostname or IP Address.
- Enter your username and password and tap Next. You'll be prompted to accept the macOS Server Identity Certificate.
- Tap Continue.
- Tap Save.
You can now access your file server from an iOS app that has built in file server access support. For example, you can open up the Pages App and select or save files by selecting Locations and tapping on OS X Server.
Is it worth it? Your thoughts?
You may be wondering if all of this is worth the hassle of setting up the server, setting up file sharing, setting up your client devices, backing up your own files in case your file server goes down, etc. And for most people, it isn't worth the task. You can simply choose Apple's iCloud for a small fee to take care of all of that.
However, if you want true control over your data, your privacy, and your security, this is the way to go. With this minimal configuration, you'll not have remote access to your files (yet!), but that remote access will be added with a future tutorial on connecting and configuring a secure VPN connection to your macOS Server! Those are my thoughts. What are yours? Tell us in the comments below!
macOS Catalina
Main
We may earn a commission for purchases using our links. Learn more.
a great gestureRead Craig Federighi's email to an aspiring young developer
A young aspiring developer who wrote an email to Craig Federighi has taken to Reddit, after Federighi surprised him with a response.
![](/uploads/1/2/5/4/125482375/451822059.jpeg)