vagrant-digitalocean
vagrant-digitalocean copied to clipboard
add port forwarding to ssh
I would like port forwarding to work on digital ocean just as it does with the default provider.
I can work around it using vagrant ssh-config and then adding the forwarding commands manually, but that defeats the purpose of DRY configuration (Don't Repeat Yourself).
(In https://github.com/ianheggie/salted-rails (vagrant plugin) I auto configure the forwarding ports, so its a backwards step to have to then do them manually)
Just curious, what kind of port forwarding doesn't work? Are you talking about calls like 'config.vm.network "forwarded_port", guest: 80, host: 8080'?
I am wondering why this is still open. I would consider port-forwarding a core feature. How can I actually work around it?