ooni / minivpn

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

add a Down() method to vpn.device #27

Open ainghazal opened 1 year ago

ainghazal commented 1 year ago

I am not sure about the usability consequences of this, but right now the device that connects both halves of a tunnel only has an Up() method. It's probably a good idea to provide a way of stopping the loop too.