Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • Which VPN solution are you using? I know of StrongSwan that it provides a way to add a script that can be used to handle various stuff when the VPN is coming up or going down, so this same mechanism could viably be used to mount/unmount NFS shares depending on the tunnel's state.
    – Robidu
    Commented Sep 8, 2022 at 21:43