oxen-io / lokinet

Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
https://lokinet.org/
GNU General Public License v3.0
1.77k stars 221 forks source link

exit hotswap via lokinet-vpn tool #2114

Closed majestrate closed 1 year ago

majestrate commented 1 year ago

right now to change exits on runtime you would:

lokinet-vpn --down
lokinet-vpn --up --exit newexit

but this leaks packets. we should add a --swap flag to add new exit and remove old exit on runtime

alternatively, make --up a deprecated alias to --add which is the actual behavior now in practice.