Stay organized with collections
Save and categorize content based on your preferences.
This page shows you how to mount a Filestore file share on clients
in a remote network, such as:
Compute Engine VMs on a different project or VPC
network.
On-premises clients on your local network.
Establish a VPN connection between the remote network and the VPC network of the Filestore instance
Before you can mount a file share on a remote client, you must establish a VPN
connection between the client's network and the VPC network of
the Filestore instance.
Mount the Filestore file share on the remote client
Once the VPN connection is established, you can mount the file share on any
client in the remote network using any of the
standard mounting methods.
If you use HA VPN or Cloud Interconnect and mount the file share to client VM that's running Linux kernel version 5, set the nconnect mount option to 1. This setting prevents multiple connections to different Filestore backend nodes and ensures connection to mounted file shares.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[[["\u003cp\u003eThis page details how to mount a Filestore file share on remote clients, such as Compute Engine VMs or on-premises clients, located in different projects or networks.\u003c/p\u003e\n"],["\u003cp\u003eEstablishing a VPN connection between the client's network and the Filestore instance's VPC network is a prerequisite for mounting the file share.\u003c/p\u003e\n"],["\u003cp\u003eCreating an HA VPN and ensuring non-overlapping subnet ranges, as well as advertising the Filestore instance's IP as a custom route during BGP configuration, are necessary steps.\u003c/p\u003e\n"],["\u003cp\u003eAfter establishing the VPN connection, the file share can be mounted on any client in the remote network using standard mounting methods.\u003c/p\u003e\n"]]],[],null,["# Mounting file shares on remote clients\n\nThis page shows you how to mount a Filestore file share on clients\nin a remote network, such as:\n\n- Compute Engine VMs on a different project or VPC network.\n- On-premises clients on your local network.\n\nEstablish a VPN connection between the remote network and the VPC network of the Filestore instance\n---------------------------------------------------------------------------------------------------\n\nBefore you can mount a file share on a remote client, you must establish a VPN\nconnection between the client's network and the VPC network of\nthe Filestore instance.\n\n1. Create an HA VPN or a Classic VPN. For detailed instructions, see [Creating an HA VPN gateway to a Peer VPN gateway](/network-connectivity/docs/vpn/how-to/creating-ha-vpn) or [Create a Classic VPN gateway using static routing](/network-connectivity/docs/vpn/how-to/creating-static-vpns).\n\n Ensure that:\n - The subnet ranges of the client and the Filestore instance don't overlap.\n - The IP address of the Filestore instance is advertised as a custom route during BGP configuration.\n - You must use an external or third-party VPN provider.\n\n For details, see [Known issues](/filestore/docs/known-issues#mounting_over_vpn).\n2. Configure the VPN gateway and tunnel on the remote network:\n\n - For specific configuration guidance for certain VPN devices, see [VPN Interoperability Guides](/network-connectivity/docs/vpn/how-to/interop-guides).\n - For general configuration parameters, see [Configuring the\n Peer VPN Gateway](/network-connectivity/docs/vpn/how-to/configuring-peer-gateway).\n\nMount the Filestore file share on the remote client\n---------------------------------------------------\n\nOnce the VPN connection is established, you can mount the file share on any\nclient in the remote network using any of the\n[standard mounting methods](/filestore/docs/mounting-fileshares).\n\nIf you use HA VPN or Cloud Interconnect and mount the file share to client VM that's running Linux kernel version 5, set the [`nconnect` mount option](https://man7.org/linux/man-pages/man5/nfs.5.html) to `1`. This setting prevents multiple connections to different Filestore backend nodes and ensures connection to mounted file shares. \n\n mount -o nconnect=1\n\nWhat's next\n-----------\n\n- Learn more about creating [Compute Engine instances](/compute/docs/instances/create-start-instance).\n- Learn more about creating [Filestore instances](/filestore/docs/creating-instances).\n- Learn more about [Cloud VPN](/network-connectivity/docs/vpn)."]]