Created
February 19, 2016 16:57
-
-
Save timini/2dc4c3f641f4fd878c9c to your computer and use it in GitHub Desktop.
open all ports on the boot2docker machine used by docker-machine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in {80..20000}; do | |
VBoxManage modifyvm "default" --natpf1 "tcp-port$i,tcp,,$i,,$i"; | |
VBoxManage modifyvm "default" --natpf1 "udp-port$i,udp,,$i,,$i"; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment