Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Add a choice for setting default routelist in GUI #242

Open
jyzhiyu opened this issue Jun 21, 2018 · 0 comments
Open

Add a choice for setting default routelist in GUI #242

jyzhiyu opened this issue Jun 21, 2018 · 0 comments
Assignees
Milestone

Comments

@jyzhiyu
Copy link

jyzhiyu commented Jun 21, 2018

Feature discussion: Add a choice for setting default route-list

Today I updated Openconnect-GUI to 1.5.3, and I found this new version add a default route:

Net target 0.0.0.0
Mask code 0.0.0.0

I checked the vpnc-script.js and found the diff from 1.5.2 to 1.5.3

// How to add the default internal route
// -1 - Do not touch default route (but do other necessary route setups)
// 0 - As interface gateway when setting properties
// 1 - As a 0.0.0.0/0 route with a lower metric than the default route
// 2 - As 0.0.0.0/1 + 128.0.0.0/1 routes (override the default route cleanly)
if (env("REDIRECT_GATEWAY_METHOD")) {
	var REDIRECT_GATEWAY_METHOD = env("REDIRECT_GATEWAY_METHOD");
} else {
	var REDIRECT_GATEWAY_METHOD = -1;
}

REDIRECT_GATEWAY_METHOD is set to '0' in new version and was set to '-1' in old version.

Many people want to use option '0', but in same time many people want to keep the option '-1'. That I hope GUI could add a feature to set this option.

@horar horar changed the title Feature discussion: Add a choice for setting default routelist in GUI Add a choice for setting default routelist in GUI Jun 21, 2018
@horar horar self-assigned this Aug 8, 2018
@horar horar added this to the v1.6.0 milestone Aug 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants