cli-client icon indicating copy to clipboard operation
cli-client copied to clipboard

`connect` and `disconnect` subcommands

Open rnbguy opened this issue 4 years ago • 0 comments

  1. connect should reuse an existing session from tx session start.
  2. disconnect should also close a session via tx session end.

I would rather prefer connect and disconnect subcommands as a wireguard wrapper and offload session start and end via tx session only.


how did I end up here and why?

  1. I used connect subcommand, where the transaction went through but the wg part didn't. I didn't want to spend fees again for tx session start. I skipped the tx session connect part next time.
  2. Then disconnect subcommand didn't work at all. I couldn't call wg-quick down wg99 because the .conf was not present at /etc/wireguard(?).

rnbguy avatar Dec 30 '21 16:12 rnbguy