Skip to content

Conversation

bitmeal
Copy link

@bitmeal bitmeal commented Oct 14, 2019

Fixes the following behavior:
When using tap mode, a tapX device is created by openvpn when starting, this device is not brought UP and remains in state DOWN.

Fix:
In ovpn_run:

  • openvpn --mktun --dev $OVPN_DEVICE$OVPN_DEVICEN is used to create a tap device if the device specified by $OVPN_DEVICE$OVPN_DEVICEN does not exist
  • the specifed tap device (existing or new) is brought to state UP

… from environment, checks if interface is available and creates if not, brings up interface.
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.

1 participant