[GH-ISSUE #1615] [QUESTION] Manual client creation #674

Closed
opened 2026-10-13 20:26:19 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @Aaur1s on GitHub (May 24, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1615

I've written simple app that creates clients by hand directly in amnezia-awg container, here's flow:

  1. Add peer to /opt/amnezia/awg/wg0.conf
  2. Create entry in /opt/amnezia/awg/clientsTable with just clientId, userData.clientName and userData.creationDate
  3. Exec wg syncconf wg0 <(wg-quick strip /opt/amnezia/awg/wg0.conf)
  4. Generate encoded vpn://

Amnezia client accepts configuration, connection starts without errors, but handshake is just infinite. Same goes with AmnezieWG client for windows.
I've verified multiple times that peer, clientsTable and vpn:// just like amnezia client generated ones.
Am I missing something in a process of creating clients?
If you need some logs I can provide those

Thank you for your work, great project

Originally created by @Aaur1s on GitHub (May 24, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1615 I've written simple app that creates clients by hand directly in amnezia-awg container, here's flow: 1. Add peer to `/opt/amnezia/awg/wg0.conf` 2. Create entry in `/opt/amnezia/awg/clientsTable` with just `clientId`, `userData.clientName` and `userData.creationDate` 3. Exec `wg syncconf wg0 <(wg-quick strip /opt/amnezia/awg/wg0.conf)` 4. Generate encoded `vpn://` Amnezia client accepts configuration, connection starts without errors, but handshake is just infinite. Same goes with AmnezieWG client for windows. I've verified multiple times that peer, clientsTable and `vpn://` just like amnezia client generated ones. Am I missing something in a process of creating clients? If you need some logs I can provide those Thank you for your work, great project
Author
Owner

@rasolAAaa commented on GitHub (May 24, 2025):

I've written simple app that creates clients by hand directly in amnezia-awg container, here's flow:

  1. Add peer to /opt/amnezia/awg/wg0.conf
  2. Create entry in /opt/amnezia/awg/clientsTable with just clientId, userData.clientName and userData.creationDate
  3. Exec wg syncconf wg0 <(wg-quick strip /opt/amnezia/awg/wg0.conf)
  4. Generate encoded vpn://

Amnezia client accepts configuration, connection starts without errors, but handshake is just infinite. Same goes with AmnezieWG client for windows.
I've verified multiple times that peer, clientsTable and vpn:// just like amnezia client generated ones.
Am I missing something in a process of creating clients?
If you need some logs I can provide those

Thank you for your work, great project

- [ ] @Aaur1s

<!-- gh-comment-id:2906332384 --> @rasolAAaa commented on GitHub (May 24, 2025): > I've written simple app that creates clients by hand directly in amnezia-awg container, here's flow: > 1. Add peer to `/opt/amnezia/awg/wg0.conf` > 2. Create entry in `/opt/amnezia/awg/clientsTable` with just `clientId`, `userData.clientName` and `userData.creationDate` > 3. Exec `wg syncconf wg0 <(wg-quick strip /opt/amnezia/awg/wg0.conf)` > 4. Generate encoded `vpn://` > > Amnezia client accepts configuration, connection starts without errors, but handshake is just infinite. Same goes with AmnezieWG client for windows. > I've verified multiple times that peer, clientsTable and `vpn://` just like amnezia client generated ones. > Am I missing something in a process of creating clients? > If you need some logs I can provide those > > Thank you for your work, great project # - [ ] []()@Aaur1s
Author
Owner

@Aaur1s commented on GitHub (May 24, 2025):

@rasolAAaa huh?

<!-- gh-comment-id:2906333944 --> @Aaur1s commented on GitHub (May 24, 2025): @rasolAAaa huh?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#674
No description provided.