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

tameanaka

macrumors newbie
Original poster
Sep 23, 2005
2
0
So I recently setup a Mac mini with Mavericks Server to basically share files between a group of people. It is not the only server on the network, with the other being a Win2008 Server. It does all the DHCP, DNS, Exchange, Sharing, etc. for all the PCs.

So the issue is when I'm on the Local network I can connect to the Mac share simply with smb://servername/sharename. When I connect via VPN however I cannot connect with names, but need to use servers IP address. I entered the correct DNS Server IP and Search Domain in VPN Client settings as well. The search domain is simply servername.local if that makes a difference.

Currently I only have the File Sharing and VPN enabled on the Mac server. Is there any other settings I need to get shares to work over VPN with names?
 

meme1255

macrumors 6502a
Jul 15, 2012
742
594
Czechia
You need to create Bonjour beacon over VPN: For AFP:

ssh -L 54800:127.0.0.1:548 -N user@VPN-IP-OF-SERVER -g &
trap "kill $!" SIGINT SIGHUP SIGTERM
dns-sd -P "name of share you want to see in Finder" _afpovertcp._tcp local 54800 localhost.local. YOUR_LOCAL_IP

This way, you at least see it in Finder as Bonjour share ...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.