I'm setting up my machine to connect to network share resources at the place I work (there are NFS shares and SMB shares). This access is only possible through VPN. So my question is, Is there a way to get OSX to only attempt to automount an NFS or SMB share if it is connected through VPN?
Asked
Active
Viewed 1,126 times
1
-
Did you ever figure out an easy way to do that ? – luuke Aug 05 '14 at 09:07
-
No, sadly. I'll look into ptman's solution sometime this week and see if it helps. – Nixx Aug 07 '14 at 14:28
1 Answers
1
Mac OS X has autofs, which, by default, is configured to do NFS automounts under /net
. So you should be able to just cd /net/$hostname/$share
.

ptman
- 28,394
- 2
- 30
- 45