[GH-ISSUE #1376] Where is the config AmneziaWG located after automatic installation on VPS? #556

Closed
opened 2026-10-13 20:24:05 +00:00 by bsakaguchi · 1 comment
Owner

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

I want to configure routing through this VPS.
Where can I find the server config to fix allowed ip?

Originally created by @universe5ht on GitHub (Jan 24, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1376 I want to configure routing through this VPS. Where can I find the server config to fix allowed ip?
Author
Owner

@omramj commented on GitHub (Feb 15, 2025):

Hey! I'm not an AmneziaVPN dev, but I know that server config is stored inside a docker container.
So, basically, you can read it with this command:

sudo docker exec amnezia-awg cat /opt/amnezia/awg/wg0.conf

And then you load the updated version with this command:

sudo docker exec amnezia-api  sh -c 'cat > /opt/amnezia/awg/wg0.conf <<EOF
[Interface]
PrivateKey = 
...
<your updated config goes here>
...
EOF'
<!-- gh-comment-id:2661111306 --> @omramj commented on GitHub (Feb 15, 2025): Hey! I'm not an AmneziaVPN dev, but I know that server config is stored inside a docker container. So, basically, you can read it with this command: ``` sudo docker exec amnezia-awg cat /opt/amnezia/awg/wg0.conf ``` And then you load the updated version with this command: ``` sudo docker exec amnezia-api sh -c 'cat > /opt/amnezia/awg/wg0.conf <<EOF [Interface] PrivateKey = ... <your updated config goes here> ... EOF' ```
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#556
No description provided.