OpenVPN / OpenVPN/openvpn

On macOS, Tap interface must be activated manually

Open
#951 4 comments 0 reactions 1 assignee View on GitHub

@schwabe is already working on this.

Since Jan 5, 2026.

macOS moreinformationneeded
Dominant language
C
Stars
14.6k
Forks
3.4k
PR merge metrics
No merged PRs in 30d

Description

Some debugging on recent macOS, showed that TAP interface is not brought up by openvpn when a vpn connection is established. Even if an "ifconfig tap0 up" is set in "--up" script, it is still not enough. Incoming packets can be observed with tcpdump, but no outgoing packet is sent... until a route-delay timer is fired. It is not optimal, as this way eventual dhcp requests are not sent and expected dhcp replies don't arrive in time in order to be used by openvpn routing management. The problem can be mitigated by "ipconfig set tap0 DHCP" and "ipconfig set tap0 AUTOMATIC-V6" in the "--up" script, but isn't it an openvpn task, as it is the only one to manage tap creation?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.