]> git.ipfire.org Git - thirdparty/openvpn.git/commit
options: make 'tun' the default for '--dev' master
authorAntonio Quartulli <antonio@mandelbit.com>
Fri, 24 Jul 2026 05:55:23 +0000 (07:55 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 24 Jul 2026 16:38:50 +0000 (18:38 +0200)
commita6537f7549f70f16bb2efd5c0683e0e94a236f0c
tree40dc758cd83d5d611379d52e8de07beb471b212f
parentb66d266e2ce556b3364769361586ccac0f66afe5
options: make 'tun' the default for '--dev'

With this change, OpenVPN can be launched without specifying
any --dev option and it will start a `tun` (L3) tunnel with the
interface named `tunX`.
As before, this behaviour can be changed using --dev or --dev-type.

Existing configs won't see any behavioural change as they all
had to contain at least one --dev directive.

Change-Id: I0ca7b5b7ec1a01acaad222c99db137c94c88555a
Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1537
Message-Id: <20260724055529.1376-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg37825.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
doc/man-sections/examples.rst
doc/man-sections/vpn-network-options.rst
sample/sample-config-files/client.conf
sample/sample-config-files/server.conf
src/openvpn/options.c