Skip to content

Conversation

@KyleJ61782
Copy link

This adds the default DNS search domain when provided by the server. It utilizes WMIC because it's the most compatible command line method to adjust the default DNS search domain (NETSH doesn't have this capability for some strange reason).

horar and others added 13 commits February 23, 2017 23:25
Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
This will help to identify the banner message in other tools.

Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
By establishing the route prior to interface configuration
we avoid traffic loops. Report and fix by Niels Peen.
Resolves horar#5

Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
2. Added REDIRECT_GATEWAY_METHOD = -1 mode, which leaves default route intact, but do all other necessary route setup. This mode can be used by advanced users who already have the persistent route set up. For example, only certain IP/subnet will to through VPN, while all other traffic still go through native interface (improves latency for, i.e. Google search)

Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
… error codes fixed.

Small re-indentation and re-wrap as well.
Based on many commits from openconnect-gui project. Thanks.

Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
Based on suggestion in github/openconnect/openconnect-gui#125

Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
Don't preset variable. Just expand on right place as other ones.

Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
It's just a number. The quotation marks make sense for previous version
of script with interface names (which contains white chars).

Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
New version introduce issues for some users.
Later, this option will be configurable via GUI

Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants