Skip to content

OpenVPN 2.7 topology Subnet issuing an ERROR #1077

Description

@silviubajenaru

Coming here from: #987 (comment)
We have a setup where we're using OpenVPN with the default topology (topology subnet) and we tried to update a dev env to 2.7.x.

The server is configured with server 10.8.0.0 255.255.255.240 and we have CCD configs for each client where we push an IP that's not inside 10.8.0.0/28 subnet. We are using the 10.8.0.1 just to forward traffic via the tun interface and handle routing externally (using a combination of static routes and bgp to propagate the clients being connected).

Unfortunately, once updating to 2.7.x, when clients connect we get an error saying MULTI ERROR: primary virtual IP for client1/udp4:a.b.c.d:34375 (10.5.0.2) violates tunnel network/netmask constraint (10.8.0.0/255.255.255.240). In OpenVPN 2.6.x we didn't have this issue.

Shouldn't this be just a warning? Also, it would be really cool if we could silence it, since we don't really need that info, that's our regular setup.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions