Closed HassanFlutterDev closed 3 months ago
what version do you have?
what version do you have?
{ "status": "ok", "version": "1.8.5" }
this one
this is api response
You can specify DNS in the settings by specifying the appropriate environment variable when starting the container -> WG_DEFAULT_DNS
. Regarding the Internet, make sure that you start the container with the correct settings. --cap-add=NET_ADMIN
. Also make sure you have mapped all the necessary ports in udp
In your answer I see that you have an incorrect server IP specified. It should indicate the IP address of the server on which you are running the application. Sorry if you changed the IP address on purpose for demonstration purposes.
In your answer I see that you have an incorrect server IP specified. It should indicate the IP address of the server on which you are running the application. Sorry if you changed the IP address on purpose for demonstration purposes.
i removed to don't get exposed
You can specify DNS in the settings by specifying the appropriate environment variable when starting the container ->
WG_DEFAULT_DNS
. Regarding the Internet, make sure that you start the container with the correct settings.--cap-add=NET_ADMIN
. Also make sure you have mapped all the necessary ports in udp
yes i have added it
Something like this:
docker run -d \
-e WG_HOST=<🚨YOUR_SERVER_IP> \
-e AUTH_TOKEN=<🚨YOUR_ADMIN_API_TOKEN> \
-e ENVIRONMENT=production \
-e WG_DEFAULT_DNS=1.1.1.1 \
-v ~/.wg-rest:/etc/wireguard \
-p 51820:51820/udp \
-p 3000:3000 \
--cap-add=NET_ADMIN \
--restart unless-stopped \
wg-rest-api
let me do it
Something like this:
docker run -d \ -e WG_HOST=<🚨YOUR_SERVER_IP> \ -e AUTH_TOKEN=<🚨YOUR_ADMIN_API_TOKEN> \ -e ENVIRONMENT=production \ -e WG_DEFAULT_DNS=1.1.1.1 \ -v ~/.wg-rest:/etc/wireguard \ -p 51820:51820/udp \ -p 3000:3000 \ --cap-add=NET_ADMIN \ --restart unless-stopped \ wg-rest-api
@HassanFlutterDev yes
@HassanFlutterDev Did you succeed?
I'll close the issue since there is no activity
When i connect to server my internet goes down and it's also not giving dns
[Interface] PrivateKey = iK07qJaqq9CRjx83vQf/9gy7F5KuOR5EDDKOFyeLz34= Address = 10.8.0.2/24 DNS = null
[Peer] PublicKey = 6ot7YW068MqJGMbfeo41e8WYhUwFt9YACuLhL0IO32c= PresharedKey = alh7YS3PJUXDdAIJ3HbALxNu+LhYY61xEOOEtUQxyk0= AllowedIPs = 0.0.0.0/0, ::/0 Endpoint = server_ip:51820 PersistentKeepalive = 0
it is like this