Page 1 of 1

connect openVPN to utun interface which runs wireGuard as tunnel protocol

Posted: Mon May 03, 2021 11:50 am
by zk
I've got .ovpn file that configured to connect my openVPN client running on macOS to remote openVPN server for tunneling my network traffic over there. However, it doesn't says anything about the tunnel protocol to be used - so i guess that openVPN uses solely ssl protocol (which is the most commonly implemented).

I was wondering why openVPN doesn't have network extension of its own? Does it means that it uses some default network extension in macOS ?

And what if I wish to change the tunnel from ssl to wireGuard which have network extension based implementation that responsible for creation of utun interface that support wireguard protocol.

So my question relate to the connection between the openVpn application and the utun interface. How can i integrate between them ?

thanks !

Re: connect openVPN to utun interface which runs wireGuard as tunnel protocol

Posted: Mon May 03, 2021 2:53 pm
by TinCanTech
OpenVPN and wireguard use completely different protocols.

Re: connect openVPN to utun interface which runs wireGuard as tunnel protocol

Posted: Mon May 03, 2021 3:09 pm
by zk
I've tried to understand what protocol openVPN uses, but couldn't find the source code of openVPN connect.app or the network extension that is used to support that protocol. Perhaps you can tell me in brief how does the protocol implementation works in openVPN ? does it uses built-in protocol ? where is it all implemented ?

thanks !

Re: connect openVPN to utun interface which runs wireGuard as tunnel protocol

Posted: Mon May 03, 2021 4:19 pm
by TinCanTech
OpenVPN uses OpenVPN protocol. It also uses TLS but that is within the OpenVPN protocol.

The word "Protocol" has many meanings, none of which are clearly defined.