Skip to content
This repository has been archived by the owner on Oct 9, 2021. It is now read-only.

port forwarding #76

Open
bwks opened this issue Jan 9, 2019 · 2 comments
Open

port forwarding #76

bwks opened this issue Jan 9, 2019 · 2 comments
Assignees

Comments

@bwks
Copy link
Owner

bwks commented Jan 9, 2019

Request to add port forwarding
config.vm.network "forwarded_port", guest: 80, host: 8080

I am not sure if I will add this but recording it for now.
When using the libvirt provider, the management interfaces are in a subnet shared with the host.
Therefore when logged onto the host port forwarding is not required.

But! if not logged into the host machine, say vagrant is hosted on a remote server port forwarding could be useful.

@bwks bwks self-assigned this Jan 9, 2019
@bwks
Copy link
Owner Author

bwks commented Jan 9, 2019

Its probably not really that much effort to add this feature, I just need to have a think about how to implement it.

Considerations

  • Let users statically define forwarded port numbers
  • Automatically assign port forward ranges per guest
  • Enable auto-correct and let vagrant handle it

@bwks
Copy link
Owner Author

bwks commented Jan 9, 2019

Link to the Vagrant reference for port forwarding
https://www.vagrantup.com/docs/networking/forwarded_ports.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant