See LAN host (NAS) through L2TP VPN
MacBooks are connected through L2TP VPN.
Shared drives on NAS can be accessed through the Finder's 'Connect top server' dialog, entering the NAS IP.
However, the NAS is not listed in the Finder's 'Locations/Network section' This only happens after mounting a folder through 'Connect to server'. Obviously the connection is lost when the VPN is terminated. Users would like to see the NAS and browse available folders as if directly connected to the LAN. How can this be achieved?
Router: USG20-VPN
Switch: GS1900-24E
NAS: Synology 318
MacBook -- VPN -- Router -- Switch -- NAS
LAN: 192.168.2.0/24
VPN: 192.168.10.0/24
Accepted Solution
All Replies
-
Hi @TorstenB
Welcome to Zyxel community 😀
As I know, Client NAS finder only can search local subnet.
Since it’s different subnet, the NAS server cannot be found by NAS finder.
In this case, you can get share folder via UNC.
e.g. \\x.x.x.x\sharefolder
0 -
Hi TorstenB the explanation why is that multicast Bonjour (mDNS) broadcasting is not performed to VPN L2TP subnets.
So here's what you do:
- make sure your NAS setup (FreeBSD, Linux or otherwise) has the directories/volumes as an AFP and/or SMB share - you probably have done this earlier)
- on MacOS Clients connected via L2TP, use cmd+k (Connect to Server) with a path to the server and optionally the shared object (else a prompt) such as:
- afp://useraccount:password@server-name.server.domain/sharedvolume and or
- smb://useraccount:password@server-name.server.domain/sharedvolume
We use all the time.
The Volumes are lost when the server hosted is terminated.
Should you MacOS clients rely on Finder favourites in in the sidebar, then you simply need to make a directory inside the $HOME directory of each mack user and add the server aliases in there. This way they don't get deleted when the server connection is lost.
Simply use Macs' option+cmd and DRAG the aliases into this folder.
Lastly add the server_shortcuts folder to the clients Finder sidebars.
In the USG20 , ensure you have Security Policies and Policy Routes set up to allow:
L2TPVPNsubnet to LAN(x)subnet to the files servers (which ou have probably already done)
This is all you need to do.
HTH
WarwickT
Hong Kong
1 -
Hi Zyxel_Cooldia and WarwickT
Thanks for your prompt answer. This is how we actually proceed. The network of my (growing) company was moved from the Providers SOHO router and home network equipment to enterprise-grade appliances. Obviously there is less plug-and-play and more security now. However, staff is looking for the SOHO-style ease of use...
Torsten
Switzerland
0 -
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 151 Nebula Ideas
- 98 Nebula Status and Incidents
- 5.7K Security
- 277 USG FLEX H Series
- 277 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.4K Consumer Product
- 250 Service & License
- 395 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 75 Security Highlight