Closed keeshux closed 1 year ago
Users are unable to set manual routes through the configuration file. There are two issues:
IPv4Settings
IPv6Settings
ConfigurationParser
ifconfig[-ipv6]
OpenVPNTunnelProvider
Define route x.x.x.x in an .ovpn file and import it.
route x.x.x.x
Route is ineffective.
Route should be applied.
Make some fields in IPv4Settings / IPv6Settings optional.
Summary
Users are unable to set manual routes through the configuration file. There are two issues:
IPv4Settings
andIPv6Settings
are only built insideConfigurationParser
if anifconfig[-ipv6]
option is found.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.
Relevant logs and/or screenshots
Possible fixes suggested remediation
Make some fields in
IPv4Settings
/IPv6Settings
optional.