openaws-vpn-client icon indicating copy to clipboard operation
openaws-vpn-client copied to clipboard

Add detection of vpn protocol

Open cablespaghetti opened this issue 8 months ago • 3 comments

My company uses TCP for the VPN protocol. This code seems to work to have this detected from the ovpn config file for me so I assume it also works for UDP VPNs.

Disclaimer: I have never written rust before and I have no idea what I'm doing.

cablespaghetti avatar Apr 06 '25 15:04 cablespaghetti

Disclaimer: I have never written rust before and I have no idea what I'm doing.

Don't worry, that's how everyone starts!

I'll add some small suggestions, but overall it's good.

JonathanxD avatar Apr 19 '25 16:04 JonathanxD

Sorry I pushed this and then got busy. I have a colleague trying out these changes now I've implemented your suggestions.

cablespaghetti avatar Nov 03 '25 13:11 cablespaghetti

The changes seem to work fine outside of the current commit not compiling without fixing the compilation issue in config.rs. I made a pull request to fix that.

jayvdlaan avatar Nov 05 '25 10:11 jayvdlaan