OPNsense Forum

English Forums => General Discussion => Topic started by: SchengFui on June 12, 2025, 08:53:34 AM

Title: OpenVPN Instance, Bind to Interface, not to IP
Post by: SchengFui on June 12, 2025, 08:53:34 AM
Hi,

in Legacy OpenVPN-Configuration it was possible to bind to an Interface (WAN i.e.). In Instances this is no longer possible, GUI accepts only IP-Adress-Values.

WAN-Interface is configured via DHCP, ip changes frequently and this breaks binding to the IP-Address.

How can i bind an OpenVPN-Instance to a specific Interface instead of an IP-Address?

OPNsense 25.1.7_4

Thank you,
 Heiko
Title: Re: OpenVPN Instance, Bind to Interface, not to IP
Post by: Patrick M. Hausen on June 12, 2025, 08:55:35 AM
Why can't you bind to 0.0.0.0/any?
Title: Re: OpenVPN Instance, Bind to Interface, not to IP
Post by: SchengFui on June 12, 2025, 09:00:21 AM
because in my curront configuration the tunnel does not route traffic and for testing purposes i want to bind to a specific interface to sort things out