How can I connect to the Multi-hop network?

    These instructions are not required when using the official IVPN client. Simply select the Multi-hop tab on the main screen.

    The Multi-hop feature is available in our Pro plan and can be used with any WireGuard and OpenVPN clients.

    Entry and Exit-hop servers must be in different countries.

    Multi-hop-ready config files for WireGuard can be generated in the Client Area. OpenVPN config file generator is available here. Read on if you prefer to create configuration file manually or simply want to understand how our port based Multi-hop solution works.

    Every server has a unique port number reserved for Multi-hop connections which can be found on our server status page.

    Choose the Exit-hop server for your Multi-hop connection, note its Multi-hop Port number, Public key and follow the instructions relevant to the VPN protocol you use below:

    WireGuard

    In your WireGuard config ‘[Peer]’ section, specify the Entry-hop server hostname with the Exit-hop server Multi-hop port separated with a colon in the ‘Endpoint’ field, and the Exit-hop server Public key in the ‘PublicKey’ field.

    Endpoint = [Entry-hop server address]:[Exit-hop server Multi-hop port]
    PublicKey = [Exit-hop server Public Key]

    Below, is an example of the WireGuard Multi-hop connection config with Entry server in Ukraine and Exit server in Austria:

    [Interface]
    PrivateKey = *****
    Address = 172.x.y.z/32, fd00:4956:504e:ffff::x.y.z/128
    DNS = 172.16.0.1

    [Peer]
    PublicKey = 83LUBnP97SFpnS0y1MpEAFcg8MIiQJgW1FRv/8Mc40g=
    AllowedIPs = 0.0.0.0/0, ::/0
    Endpoint = ua1.wg.ivpn.net:25601
    PersistentKeepalive = 25

    OpenVPN

    1. Download and open the .ovpn config file with the location of the Entry-hop server using any text editor
    2. Replace port number in line 4 (remote xx.gw.ivpn.net 2049) with the Exit-hop server Multi-hop port
    3. Replace the location code in line 16 (verify-x509-name XX name-prefix) with the Exit-hop server location code

    To lookup the location codes, open the server status page. Note the server names are in the format XY.gw.ivpn.net where X is the location code and Y is a number uniquely identifying the server. Ignore the number and use the code before it:

    Server Location code
    at1.gw.ivpn.net at
    ua1.gw.ivpn.net ua
    us-nj1.gw.ivpn.net us-nj

    Below, is an example of the OpenVPN Multi-hop connection config file with Entry server in Ukraine and Exit server in Austria:



    Related Articles

    Still have questions?

    Get in touch and we'll get back to you in a few hours.

    Contact support

    Interested in privacy?

    Read our latest privacy news and keep up-to-date on IVPN services.

    Visit IVPN Blog
    Spotted a mistake or have an idea on how to improve this page?
    Suggest an edit on GitHub.