0

When running vagrant up, it gets stuck at the point when it's trying to mount the NFS shared folders.

https://github.com/hashicorp/vagrant/blob/f2960d545864e1b644fe7fb0f3b82fec9895dd13/website/content/docs/synced-folders/nfs.mdx#L272 mentions to ensure firewall isn't blocking NFS towards the end, but doesn't specify how to allow it in the firewall.

Workaround: Use rsync rather than NFS.

Answer: here

New contributor
MWA is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

1 Answer 1

0

rpcinfo -p lists ports so I found a different TCP one than I thought for the mount daemon for v4.

This works:

for i in 111 2049 42089; do sudo ufw allow from 192.168.0.0/16 to any port $i comment "NFS for VM"; done 
New contributor
MWA is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.