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

    Gateways for openvpn connections using wrong gateway/monitoring IP

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 426 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.
    • S Offline
      Stersyn
      last edited by

      I'm load balancing several vpn's, but the monitoring of the gateways isn't working.
      They're all stuck on 0.1ms latency & 0.0% loss, because the gateway/monitoring IP is set to the virtual (local) IP of the corresponding VPN connection. Manually setting the monitoring IP solves this.

      I'm assuming the problem is the vpn interface's IP and it's gateway IP being the same (2nd attachment), but ifconfig output does show the correct gateway (3rd attachment).

      Any ideas? It's probably some setting that I overlooked, but since google couldn't help me I'm asking here.

      PS. Obviously I could give each gateway a manual ip as a quick a fix, but I'd need a reliable IP for each connection. Probably thinking about this way too easily, but I don't really understand why dpinger needs a static route for each monitoring IP, can't you just use a gateway's local IP as a source and have a monitoring IP pool?

      gateways.jpg
      gateways.jpg_thumb
      interfaces.jpg
      interfaces.jpg_thumb
      ifconfig.jpg
      ifconfig.jpg_thumb

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