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

IP collisions when using client overrides

Scheduled Pinned Locked Moved OpenVPN
2 Posts 2 Posters 445 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.
  • K
    kromek
    last edited by kromek Jan 18, 2022, 3:24 PM Jan 18, 2022, 3:23 PM

    We use client-specific overrides for some OpenVPN users to set a static IP (the IPv4 Tunnel Network option). Others by default get a random IP each time they connect. However, sometimes someone happens to get assigned an IP that is set as an override for another user, and we get IP collision, which results in major problems like no working DNS until I kill the random-person's connection.

    Is there something that can be done to prevent random IP pool from ever choosing IPs used in overrides, aside from assigning an IP override for every single user?

    V 1 Reply Last reply Jan 18, 2022, 5:34 PM Reply Quote 0
    • V
      viragomann @kromek
      last edited by Jan 18, 2022, 5:34 PM

      @kromek
      The server assigns the pool IPs sequentially from the from the lowest up.
      So the CSO you should begin with the highest down. Ensure that your tunnel pool is large enough for all users.

      Also you may consider to uncheck "Duplicate Connection", so that a single client cannot grab multiple IPs.

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received