OpenVPN 2.4 Can not Acces to a VM LAN, am on exsi 6.0 server



  • Hello Guys

    My problem is very strange, i can access LAN but not the exsi Virutal Machines lan and also not the exsi server host.

    first of all i have promiscuous mode in my Exsi Server enabled so that's not the problem.

    I have 2 virtual machines working on my Exsi Server (PFsense 2.3.3 and Windows server 2012 R2 DataCenter)

    So here the thing i have windows 7 and I have had installed Openvpn as an Administrator and I executed openvpn has an administrator too. I can connect and make ping to a fisical machine in the lan but not to a virutal machine on the exsi server. So from OpenVPN i can't connect to Windows server 2012.. That's the problem..also i can not connect to the Exsi server host from OpenVPN

    I tried disable the windows firewall with no luck.

    Now the problem is that the windows server, there ir a software installed we are going to use, we bought the windows server and RDCAL users to access it.
    Also I don't understand also why I can't connect to Exsi server from de Openvpn..

    I have another company with Exsi 6.0 server too, and i have Ubuntu 14.04 server running Openvpn I have no problems at all to acces to vmware machines lan, also I can run VSphere and access to Exsi host.

    its making me crazy, I made everything i think i should but there's no way from Pfsense Openvpn i can acces to the vitual machines..



  • Without more specifics, all we can do is suggest some high-level stuff.

    I connect to my home environment via OpenVPN server and I can access all the VM's on my ESXi host just fine.

    At one point did you have another edge device?  The first thing I would do is verify your ESXi host and all your VM's are using PFsense as the default gateway.  Then, if your VM's are on a different subnet, verify that you are pushing that subnet to your clients.



  • Thanks a lot for your help, i added pfsense as gatway on vm windows server. but did not helped. so what i did was in pfsense in dchp was adding static ip to the windows server and then i changed windows server ipv4 to get automatic ip, now i can make ping from vpn, i cant do the same to exsi host server. so, why is this? why if i put statics ip on the windows it does not work? any suggestions?



  • @tgilcas:

    Thanks a lot for your help, i added pfsense as gatway on vm windows server. but did not helped. so what i did was in pfsense in dchp was adding static ip to the windows server and then i changed windows server ipv4 to get automatic ip, now i can make ping from vpn, i cant do the same to exsi host server. so, why is this? why if i put statics ip on the windows it does not work? any suggestions?

    You need to rephrase this.  It's unclear what was done to what…  and what is working and what is not.

    Also, to go much further, you'll need to provide more specifics about your topology.  Without specifics, your issue could be related to a dozen different things and we'd just be taking shots in the dark which is inefficient at best.

    • Post a network map showing your topology and subnets in use

    • Where are you testing from?

    • Post your server1.conf

    • The fact that PFsense is virtualized also adds another layer of complexity.  We'll need details on your ESXi setup.