mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-09 20:29:23 +02:00
HTTP control server section
@@ -0,0 +1,7 @@
|
|||||||
|
# DNS over TLS
|
||||||
|
|
||||||
|
The HTTP control server allows to modify the state of Unbound, which is the subprocess responsible for DNS over TLS.
|
||||||
|
|
||||||
|
## Restart
|
||||||
|
|
||||||
|
Sending an HTTP GET request to `http://<your-docker-host-ip>:8000/unbound/actions/restart` triggers a re-download of the DNS files (crypto and block lists) and restarts the unbound process
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
# OpenVPN
|
||||||
|
|
||||||
|
The HTTP control server allows to modify the state of OpenVPN, which is the subprocess responsible for your VPN connection.
|
||||||
|
|
||||||
|
## Restart
|
||||||
|
|
||||||
|
Sending an HTTP GET request to `http://<your-docker-host-ip>:8000/openvpn/actions/restart` restarts the OpenVPN process
|
||||||
|
|
||||||
|
## Port forwarding
|
||||||
|
|
||||||
|
Sending an HTTP GET request to `http://<your-docker-host-ip>:8000/openvpn/portforwarded` returns the port forwarded in a JSON object, for example:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{"port":5914}
|
||||||
|
```
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# Setup
|
||||||
|
|
||||||
|
A built-in HTTP server listens on port `8000` to modify the state of the container.
|
||||||
|
|
||||||
|
To access it, simply map the ports for the container `-p 8000:8000/tcp` and set up `EXTRA_SUBNETS` accordingly.
|
||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
# Home
|
# Home
|
||||||
|
|
||||||
|
1. [HTTP Control server](HTTP-Control-server)
|
||||||
1. [Contributing](Contributing)
|
1. [Contributing](Contributing)
|
||||||
|
|||||||
Reference in New Issue
Block a user