Hello Alvaro,

Using public_network did work, although I had to add some more 
configuration to get a DHCP assigned.

  config.vm.network "public_network", :bridge => 'eth0', 
:use_dhcp_assigned_default_route => true

For the forwarded_ports option

  config.vm.network "forwarded_port", guest: 3389, host: 3389, id: "rdp", 
auto_correct: true

This did not work, my understanding from reading the docs, is that I should 
be able to connect to the guest via the host's forwarded port, i.e.

  xfreerdp /u:vagrant /v:<host_ip>:3389

seems like it should have worked but it does not.  Am i doing something 
wrong here?

In virtualbox if I set the following port forward: Settings/Network/Adapter 
1 , set to NAT, and Advanced/Forwarding:

Name: rdp
Protocol: TCP
Host IP: <host_ip>
Host Port: 3389
Guest IP: 10.0.2.15
Guest Port: 3389

This works and allows me to connect to the VM from another machine by simply
xfreerdp /u:vmuser /v:<host_ip>:3389

So I don't quite understand why this is not working by setting VagrantFile 
with forwarded_port configuration.

Thanks again,

-f


-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/15d0922c-11d7-47cf-b79d-5d7be24e5caa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to