]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Route: add support for user defined routing table
authorGianmarco De Gregori <gianmarco@mandelbit.com>
Sun, 22 Jun 2025 11:03:05 +0000 (13:03 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 22 Jun 2025 11:07:14 +0000 (13:07 +0200)
commitf93fc813ffa53d170f79222e76188a18f6819a54
tree7a807145817b13d5c22ead734550ec2cf8913c60
parenta4db3c6e22fd48b83cc38a644762e33e0894b69b
Route: add support for user defined routing table

Add the ability for users to specify a custom
routing table where routes should be installed in.
As of now routes are always installed in the main
routing table of the operating system, however,
with the new --route-table option it is possibile
to specify the ID of the default routing table
to be used by --route(-ipv6).

Please note: this feature is currently supported
only by Linux/SITNL.
Support for other platforms should be added in related backends.

Trac #1399
Change-Id: I3e4ebef484d2a04a383a65ede5617ee98bf218a7
Signed-off-by: Gianmarco De Gregori <gianmarco@mandelbit.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20250622110311.1140-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg31946.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
doc/man-sections/vpn-network-options.rst
src/openvpn/helper.c
src/openvpn/init.c
src/openvpn/options.c
src/openvpn/options.h
src/openvpn/route.c
src/openvpn/route.h