Connect on existing docker network #109
Replies: 5 comments
-
|
Hi! That issue usually means the container lacks the necessary privileges to create the WireGuard interface. The key requirement is adding Here’s the minimal working configuration for the Wiredoor gateway container: services:
wiredoor-gw:
image: wiredoor/wiredoor-cli:latest
cap_add:
- NET_ADMIN
sysctls:
- net.ipv4.ip_forward=1
environment:
WIREDOOR_URL: https://your-wiredoor-instance_or_ip
TOKEN: your-gateway-node-token
networks:
- wiredoorMake sure:
If the issue persists, feel free to share your |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I found one error i misconfigured my dns entries... I cannot connect to a service even tough I can ping it from inside the gateway container... |
Beta Was this translation helpful? Give feedback.
-
|
I’m not fully sure I understand your current setup or the exact point you’re at right now. Could you share a bit more detail (your updated configuration or logs) so I can better see what’s happening? |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I followd this guide and its working now when I use the IP address of wiredoor, instead of the domain. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I’m trying to set up a gateway node on an existing Docker network but I’m unable to get it to connect. I followed the official guide, which states that I only need to configure the correct subnet.
[ { "Name": "dockerproxy", "Id": "3dd942c235179f6ae2949e5748b27d2c5ee1a5b72244450a88e6b906000bf486", "Created": "2023-07-27T05:45:37.235136397-07:00", "Scope": "local", "Driver": "bridge", "EnableIPv6": false, "IPAM": { "Driver": "default", "Options": {}, "Config": [ { "Subnet": "172.20.0.0/16", "Gateway": "172.20.0.1" } ] }, "Internal": false, "Attachable": false, "Ingress": false, "ConfigFrom": { "Network": "" }, "ConfigOnly": false, "Containers": {logs from the container
2025/09/20 06:03:01 Error: Unable to connect to tunnel, please review your user permissions or if you are inside container ensure that you have added the capability NET_ADMIN
tcpdump: wg0: No such device exists
(No such device exists)
2025/09/20 06:09:45 Error: Unable to connect to tunnel, please review your user permissions or if you are inside container ensure that you have added the capability NET_ADMIN
tcpdump: wg0: No such device exists
(No such device exists)
Connecting gateway unraid...
Connecting gateway unraid...
From the logs, it looks like the WireGuard interface (wg0) is not being created. The error message suggests it might be related to missing NET_ADMIN capabilities, but I’ve already added that in my container configuration.
Could you help me understand what I’m missing to get the gateway connected?
Beta Was this translation helpful? Give feedback.
All reactions