Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dhyve vm can not access VPN'ed resources #44

Closed
lmb opened this issue Jan 8, 2016 · 5 comments
Closed

dhyve vm can not access VPN'ed resources #44

lmb opened this issue Jan 8, 2016 · 5 comments

Comments

@lmb
Copy link

lmb commented Jan 8, 2016

It seems dhyve does not cope well with Cisco AnyConnect based VPNs. Servers behind the VPN are pingable from the host, but not from the dhyve guest.

I'm assuming the host does not know that it should route between the bridge and the VPN. Any ideas on how to achieve this?

@nlf
Copy link
Owner

nlf commented Jan 8, 2016

this would require a bit different network setup than what dhyve currently does.. i think you'd have to set up a tun interface and tell xhyve (the virtualization software) to use that instead of the standard virtio-net interface that it currently uses. i'd have to do some research to figure out how to make this work.

@lmb
Copy link
Author

lmb commented Jan 8, 2016

Hi Nathan,

Thanks for your help. Did some more digging:

  • The two relevant devices are bridge100 and utun0 (VPN)
  • Packets coming in via bridge100 and leaving to the public internet are properly NATed
  • Packets coming in via bridge100 and exiting to utun0 still carry the internal, host-only IP address

Seems like there is a special case in virtio-net somewhere that makes the NAT happen. Any idea where that might be?

@nlf
Copy link
Owner

nlf commented Jan 8, 2016

i honestly couldn't tell you. this sounds like something that we need to solve at the xhyve level

@lmb
Copy link
Author

lmb commented Jan 18, 2016

Filed machyve/xhyve#84, maybe we can find out some more that way.

@lmb lmb closed this as completed Jan 18, 2016
@nlf
Copy link
Owner

nlf commented Jan 18, 2016

great, thanks for linking to it here. that'll be useful information

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

No branches or pull requests

2 participants