HTTP control server section

Quentin McGaw
2020-09-24 22:02:44 -04:00
parent 9088f51bb0
commit d0608f6e36
4 changed files with 28 additions and 0 deletions
+7
@@ -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
+15
@@ -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}
```
+5
@@ -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
1. [HTTP Control server](HTTP-Control-server)
1. [Contributing](Contributing)