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

    Alias use in OpenVPN - Broken on Reboots (and possibly other edge cases)

    Scheduled Pinned Locked Moved OpenVPN
    23 Posts 4 Posters 1.0k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      What sort of aliases are they?

      1 Reply Last reply Reply Quote 0
      • G
        galcorlo
        last edited by

        AliasChild1=192.168.0.0/16
        AliasChild2=10.0.0.0/8
        AliasParent=AliasChild1, AliasChild2

        All children are either an IP address or subnet, none of the children contain further aliases.

        AliasParent is the only entry used in OpenVPN server's IPv4 Local network(s) field.

        Restarting OpenVPN or saving without any modification AliasParent fix the configuration replacing the alias.

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Hm, so only IPs and subnets, nothing that needs to be resolved? That should load as soon as pf does, which should be before the openvpn resyn at boot.

          Do you see any errors in the OpenVPN or system logs when this happens? Or any sort of difference in the process ordering?

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