Skip to content

On macOS, Tap interface must be activated manually #951

@kabassanov

Description

@kabassanov

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?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions