commit | c8e3ef9ef7cfe9a14903bcfbb17693587e576652 | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Thu May 08 13:27:25 2014 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Fri May 09 04:45:30 2014 +0000 |
tree | 2b25edd456550fbb90e78177194aba1722106e39 | |
parent | 5089a6e2a3e54ddca5a50b1d9ef09afedcfa580e [diff] |
shill: OpenVPNDriver: Allow option to ignore default route In OpenVPN, it is up to the client to decide whether or not to accept a default route from the OpenVPN server. If any routes are specified by the server, the "route_vpn_gateway" option may be provided in order to specify the default router to be used in pushed routes. This does not necessarily mean that the server also wishes that the client adds a default route through this gateway. There is no pushed configuration from the server that specifies what this behavior should be. By default, ChromeOS creates a default route to the gateway. This CL adds a configuration option to VPN services which allows users or administrators wishing to have a "split tunel" configuration to omit the default route option. Supplying this option does not override explicit routes pushed by the server, so administrators can still effectively force a single route through their chosen gateway. CQ-DEPEND=CL:198900 BUG=chromium:370460 TEST=Unit tests Change-Id: I8a3efe717b0d70742065aa9b89671ecd21f3f613 Reviewed-on: https://chromium-review.googlesource.com/198902 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>