tunnelkit icon indicating copy to clipboard operation
tunnelkit copied to clipboard

Routes from configuration file are ignored

Open keeshux opened this issue 2 years ago • 0 comments

Summary

Users are unable to set manual routes through the configuration file. There are two issues:

  • IPv4Settings and IPv6Settings are only built inside ConfigurationParser if an ifconfig[-ipv6] option is found.
  • Even then, OpenVPNTunnelProvider only reads v4/v6 settings from remote options.

Steps to reproduce

Define route x.x.x.x in an .ovpn file and import it.

What is the current bug behavior?

Route is ineffective.

What is the expected correct behavior?

Route should be applied, if server doesn't push any.

Relevant logs and/or screenshots

Possible fixes suggested remediation

Make some fields in IPv4Settings / IPv6Settings optional.

keeshux avatar Sep 25 '22 20:09 keeshux