Skip to content

Tun device seems to randomly change upon connection? #158

Discussion options

You must be logged in to vote

Hi,

This is an expected behaviour, actually. It is the only way to ensure network traffic expected to be routed via the VPN does not leak when there are connectivity issues with the VPN link. The old approach was to tear down the tun interface, create it again and then setup up IP addresses and routing. This had the potential of leaking network traffic via your default gateway in the time window the VPN IP address and routes were not present on your system; they disappears when the network interface is removed.

In OpenVPN 3, when there is a connectivity issue and a full reconnect is required, a new tun interface is created and configured and then the old interface is removed. The problem …

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
12 replies
@HybridZach
Comment options

@HybridZach
Comment options

@dsommers
Comment options

@HybridZach
Comment options

@dsommers
Comment options

Answer selected by HybridZach
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #157 on October 27, 2022 11:26.