Skip to content

Instantly share code, notes, and snippets.

@tuongaz
Created August 21, 2014 02:21
Show Gist options
  • Save tuongaz/3b6054bb5bb7b0ca04b4 to your computer and use it in GitHub Desktop.
Save tuongaz/3b6054bb5bb7b0ca04b4 to your computer and use it in GitHub Desktop.
Vagrant port 80 forward from Host to Guest
sudo ssh -p 2222 -gNfL 80:localhost:80 vagrant@localhost -i ~/.vagrant.d/insecure_private_key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment