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

Routes from configuration file are ignored #278

Closed
keeshux opened this issue Sep 25, 2022 · 0 comments · Fixed by #298
Closed

Routes from configuration file are ignored #278

keeshux opened this issue Sep 25, 2022 · 0 comments · Fixed by #298
Assignees
Labels
bug Something isn't working OpenVPN
Milestone

Comments

@keeshux
Copy link
Member

keeshux commented Sep 25, 2022

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.

Relevant logs and/or screenshots

Possible fixes suggested remediation

Make some fields in IPv4Settings / IPv6Settings optional.

@keeshux keeshux added the bug Something isn't working label Sep 25, 2022
@keeshux keeshux added this to the 5.1.0 milestone Sep 25, 2022
@keeshux keeshux self-assigned this Sep 25, 2022
@keeshux keeshux added the OpenVPN label Oct 4, 2022
keeshux added a commit that referenced this issue Oct 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working OpenVPN
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant