Opened 4 years ago
Last modified 16 months ago
#1322 accepted Feature Wish
Use actual VPN gateway address to determine "default" route
Reported by: | Gert Döring | Owned by: | Gert Döring |
---|---|---|---|
Priority: | major | Milestone: | release 2.7 |
Component: | Networking | Version: | OpenVPN git master branch (Community Ed) |
Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | |
Cc: | Antonio Quartulli |
Description
Align IPv4 code with IPv6 code, so "get_default_gateway()" grows an extra field for "destination address to query", and fill that with the VPN gateway's (IPv4) address.
After all, this is what we're interested in, not "some /0 route that might not be the route actually used" (machines with multiple interfaces are getting more common)
Change History (2)
comment:1 Changed 4 years ago by
Cc: | Antonio Quartulli added |
---|---|
Owner: | set to Gert Döring |
Status: | new → accepted |
comment:2 Changed 16 months ago by
Milestone: | release 2.6 → release 2.7 |
---|
Work for 2.6 focused on DCO, not on "routing things".
We still want this, so bumping the milestone to 2.7
Note: See
TracTickets for help on using
tickets.
On the BSDs, this should be somewhat easy ("just pass a host IP and a /32 mask").
On Windows, it means "rewrite, using GetBestInterfaceEx?() and GetBestRoute2()" (but possibly can be combined with the IPv6 code).
On Linux, "just pass in the real v4 address, instead of 0.0.0.1/32".
And then, testing :-)