On macOS, Tap interface must be activated manually
@schwabe is already working on this.
Since Jan 5, 2026.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.