Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect and disconnect subcommands #23

Open
rnbguy opened this issue Dec 30, 2021 · 0 comments
Open

connect and disconnect subcommands #23

rnbguy opened this issue Dec 30, 2021 · 0 comments

Comments

@rnbguy
Copy link

rnbguy commented Dec 30, 2021

  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(?).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant