Navigation

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

    [SOLVED] OpenVPN Multi WAN CARP Failover

    OpenVPN
    1
    2
    116
    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.
    • I
      ilbicio last edited by ilbicio

      Hello!
      I'm implementing multiple Site2Site VPN with failover on multiple WANs.

      On the Server I configured one openvpn server per client, each with its own udp port. Every server is listening from localhost.

      Every WAN connection has a CARP IP NATed to localhost for the OpenVPN udp ports.

      When a client connects to the VPN, it is unable to bring the tunnel up, because of this message on server log:

      "TCP/UDP: No outgoing address to send packet "

      Putting in the custom options:

      local x.x.x.x (CARP VIP of WAN)

      the tunnel goes up.

      Any help appreciated, I'm out of ideas!

      EDIT: I forgot to mention that if I connect to WAN IP (No matter which) the tunnel goes up.

      1 Reply Last reply Reply Quote 0
      • I
        ilbicio last edited by ilbicio

        SOLVED!
        I reviewed my settings: I made NAT rules for WAN Address instead of CARP VIP.
        Changed NAT Rules to CARP VIP (openVPN Port) -> localhost.
        Now it works like a charm and failover is great!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post