Skip to content

Instantly share code, notes, and snippets.

@chronon
Last active April 20, 2017 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chronon/09fd49a78070eeb6c772b202570a2e70 to your computer and use it in GitHub Desktop.
Save chronon/09fd49a78070eeb6c772b202570a2e70 to your computer and use it in GitHub Desktop.
Vagrant VMware port collisions
#!/bin/sh
# remove entries under `[incomingtcp]` in `nat.conf`
sudo vim /Library/Preferences/VMware\ Fusion/vmnet8/nat.conf
# remove all entries in the file
sudo vim /etc/exports
# restart vmware networking
sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --stop
sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment