Setelah koneksi VPN dibuat, Anda dapat memasang berbagi file di klien mana pun di jaringan jarak jauh menggunakan salah satu metode pemasangan standar.
Jika Anda menggunakan VPN dengan ketersediaan tinggi (HA) atau Cloud Interconnect dan memasang berbagi file ke VM klien yang menjalankan kernel Linux versi 5, tetapkan opsi pemasangan nconnect ke 1. Setelan ini mencegah beberapa koneksi ke node backend Filestore yang berbeda dan memastikan koneksi ke berbagi file yang terpasang.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-18 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)."]]