OpenVPN does not work with Windows 7 VM under Parallels

Discussion in 'Installation and Configuration of Parallels Desktop' started by RobertK11, Mar 28, 2017.

  1. RobertK11

    RobertK11 Bit poster

    Messages:
    2
    Installed Parallels and imported myBootCamp and the Windows 7 VM works beautifully. However, when I load OpenVPN as Administrator or regular, I am unable to connect to my office server by mapping a network drive - over wifi. If I boot my Macbook Air boot into Windows everything works, I can map a network drive and run my application.

    My trial is expiring and I am sure there is a solution out there but have already spend hours on this forum trying different things but still no luck.
     
  2. rkulikov

    rkulikov Parallels Developers

    Messages:
    313
    What type of network adapter did you specify for the virtual machine? Try to set "Shared Network".
     
  3. RobertK11

    RobertK11 Bit poster

    Messages:
    2
    It was set to shared and I get internet access, just cannot get the VPN to work. As I said it works if I boot to Windows and run everything.
     
  4. I run OpenVPN to my Linux Mint system under Parallels ... I usually set the Network to "Default Adapter" as a bridged link - it gets the Parallels NAT out of the way - that way I don't have to worry about port mapping setups in the VM config.
    if you use the "Shared Network" you will have to set up port mapping just as if the VM were behind a NAT box --- Not sure you can do it on a non-Pro version of Parallels -- -on the Pro version open the Preferences tab for Parallels (the one up on the top left-- not the one in the VM config panel). In there is a Network tab and you can set port maps in it.
     
  5. IIRC OpenVPN used port 1194 for inbound connections. Also you might need to copy your certs over to the VM?
     
  6. PaulChristopher@Parallels

    PaulChristopher@Parallels Product Expert Staff Member

    Messages:
    3,113
    Hi, the issue might be occurred due to Windows storing cache of DNS-requests.
    In the virtual machine please go to Start -> in the search box (or Run... option) type "cmd" (without quotes) -> open Command Prompt -> type: ipconfig /flushdns press Enter (Return) and restart the virtual machine if needed.

    In some particular networks Windows may experience problem resolving domain names to IP addresses while connected via VPN.

    In order to resolve this issue please do the following:
    1. Open the hosts file from C:\WINDOWS\system32\drivers\etc\hosts with any text editor.
    2. Add the IP address and a host name you use to connect to the VPN gateway to hosts file and save changes.
    3. Try to reconnect to VPN and check the issue.
     
    Parallels User likes this.

Share This Page