Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Why do I need to manually start OVPN clients in a specific order?

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 86 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      McMurphy
      last edited by

      I have three OpenVPN clients on my pfSense connecting to the same service (CloudConnexa). Each has a unique interface and subnet pushed from the server:

      • Client1 - 10.27.0.0/24 - ovpnc7
      • Client2 - 10.27.10.0/27 - ovpnc9
      • Client3 - 10.27.40.0/27 - ovpnc10

      Screenshot 2024-04-04 201115.png

      Screenshot 2024-04-04 201443.png

      The routes can only be accessed if the OVPN clients are started in a specific sequence

      • Client2 - 1st
      • Client3 - 2nd
      • Client1 - 3rd

      04.04.2024_20.24.02_REC.png

      If the clients are started in a different sequence the interface sometimes adopts it's predecessor's interface. For example:

      If Client1 is started followed by Client2 then Client2 adopts the interface value of Client1
      04.04.2024_20.25.48_REC.png

      If Client1 is started followed by Client3 then Client3 adopts the interface value of Client1
      04.04.2024_20.28.21_REC.png

      If Client3 is started followed by Client1 then everything works correctly
      04.04.2024_20.29.56_REC.png

      The matrix below shows the different combinations of the three:
      04.04.2024_20.30.58_REC.png

      I am really stuck here!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.