ooni / minivpn

A minimalistic OpenVPN implementation in Go
GNU General Public License v3.0
38 stars 6 forks source link

feature: add command to test the vpn with system privileges #58

Closed ainghazal closed 8 months ago

ainghazal commented 8 months ago

Checklist

Description

This is a transient command to be able to test the VPN given administrator privileges. It will create a tun interface, setup routes, and move all system traffic over the tun. Useful for testing the current architecture and do performance tests against OpenVPN.

We still need to converge the current legacy binary app, that could take different commands to behave as ping , a socks5 proxy, or just fetch a remote resource over the VPN using gvisor, but we will do that at a later point.

ainghazal commented 8 months ago

good question - we should discuss. at this point, I think we can just replace the binary after merging other outstanding PRs. I will update this branch with the latest modifications. the good thing is that the integration test does not depend on the binary interface.

ainghazal commented 8 months ago

closing in favor of #66