Page MenuHomeVyOS Platform

OpenVPN should have option bind-dev if we use VRFs
In progress, LowPublicFEATURE REQUEST

Description

OpenVPN should have option bind-dev if we use VRFs, but we do not have this in our template https://github.com/vyos/vyos-1x/blob/current/data/templates/openvpn/server.conf.j2

set interfaces openvpn vtun0 vrf vrf_foo
`

Expected option

bind-dev vrf_foo

https://github.com/OpenVPN/openvpn/blob/master/doc/man-sections/virtual-routing-and-forwarding.rst#openvpn-configuration

It needs to be investigated and checked.

Details

Version
VyOS 2025.03.23-0020-rolling
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav triaged this task as Low priority.

This can be implemented by creating a new leaf option, say bind-vrf <vrf>, that gets rendered as bind-dev <vrf>.
We can't simply re-use vrf because the semantic is different (overlay vs transport).

Viacheslav changed the task status from Open to In progress.Tue, Dec 1, 5:59 PM
Viacheslav assigned this task to ordex.
Viacheslav changed the subtype of this task from "Bug" to "Feature Request".