VPN Client to server wich have 2 IP

Антон Кокарев 1 Reputation point
2020-10-21T14:45:07.71+00:00

I have a VPN server with multiple Internet connections (redundancy in case of a break). There are many Windows users who need to connect to this server.

Now I set up 2 connections for each user (one for each Internet channel of the server). Sometimes it is difficult for the user to explain why there are 2 connections and how to connect correctly. Sometimes they start both connections. Sometimes they delete unnecessary connection. Sometimes they try to connect to VPN1 when there is a break and do not try to use VPN2.

I tried using two DNS records of the A like Type vpn.myserver.net with different IP addresses. But the VPN client only tries to connect to one address, ignoring the second one.

This would be great if Windows 10 could use 2 or more IP addresses in a single connection to connect at once and iterate over each one until it connects.

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,286 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Sunny Qi 10,906 Reputation points Microsoft Vendor
    2020-10-22T07:29:52.6+00:00

    Hi,

    Thanks for posting in Q&A platform.

    Before going further, I would appreciate your help in clarifying the following situations:

    What's the VPN type of the VPN connection?

    I tried using two DNS records of the A like Type vpn.myserver.net with different IP addresses.

    May I know if these IP addresses are belonged to Intranet or Extranet?

    The VPN server is a domain joined machine or not?

    Best Regards,
    Sunny


  2. Sunny Qi 10,906 Reputation points Microsoft Vendor
    2020-10-26T08:28:48.23+00:00

    Hi @Антон Кокарев

    Thanks for your update.

    It seems that your goal cannot be achieved. I did a test in my lab and here is the result for your reference.

    My VPN server has 3 NICs and one for Intranet and 2 for Extranet.

    WAN1: 192.168.29.58
    WAN2: 192.168.29.55

    34864-image-1.jpg

    From Windows client side, a VPN connection was created as below. Meanwhile the maps of host name and IP addresses were added in Host file from client side.

    34887-image-2.jpg
    34978-image-3.jpg

    Scenario 1: both WAN1 and WAN2 were enabled

    VPN client connected the VPN server via WAN1: 192.168.29.58.

    Scenario 2: WAN1 was disabled and WAN2 were enabled

    VPN client still connected the VPN server via WAN1 rather than via WAN2.

    So the VPN client will always connect VPN server via the first IP address of map in the host file.

    Please kindly note that my VPN type is IKE2 here but it also applied to L2TP.

    Best Regards,
    Sunny

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments