diff --git a/HTTP Control server/Control DNS over TLS.md b/HTTP Control server/Control DNS over TLS.md deleted file mode 100644 index 408f673..0000000 --- a/HTTP Control server/Control DNS over TLS.md +++ /dev/null @@ -1,5 +0,0 @@ -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://:8000/unbound/actions/restart` triggers a re-download of the DNS files (crypto and block lists) and restarts the unbound process diff --git a/HTTP Control server/Control Openvpn.md b/HTTP Control server/Control Openvpn.md deleted file mode 100644 index 795b1c7..0000000 --- a/HTTP Control server/Control Openvpn.md +++ /dev/null @@ -1,13 +0,0 @@ -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://:8000/openvpn/actions/restart` restarts the OpenVPN process - -## Port forwarding - -Sending an HTTP GET request to `http://:8000/openvpn/portforwarded` returns the port forwarded in a JSON object, for example: - -```json -{"port":5914} -``` diff --git a/HTTP Control server/HTTP Control server.md b/HTTP Control server/HTTP Control server.md index 89b7bcf..38d7bf4 100644 --- a/HTTP Control server/HTTP Control server.md +++ b/HTTP Control server/HTTP Control server.md @@ -1,5 +1,24 @@ The HTTP control server allows to obtain and modify the state of the container without restarting it. -- [Setup](Setup-the-HTTP-control-server) -- [OpenVPN Control](Control-Openvpn) -- [DNS over TLS Control](Control-DNS-over-TLS) +## Setup + +A built-in HTTP server listens on port `8000` to modify the state of the container. + +To access it, simply publish this port for the container, for example: `-p 8000:8000/tcp`. + +## OpenVPN + +The HTTP control server allows to modify the state of OpenVPN, which is the subprocess responsible for your VPN connection. + +- Sending an HTTP GET request to `http://:8000/openvpn/actions/restart` restarts the OpenVPN process +- Sending an HTTP GET request to `http://:8000/openvpn/portforwarded` returns the port forwarded in a JSON object, for example: + + ```json + {"port":5914} + ``` + +## DNS + +The HTTP control server allows to modify the state of Unbound, which is the subprocess responsible for DNS over TLS. + +- Sending an HTTP GET request to `http://:8000/unbound/actions/restart` triggers a re-download of the DNS files (crypto and block lists) and restarts the unbound process diff --git a/HTTP Control server/Setup the HTTP control server.md b/HTTP Control server/Setup the HTTP control server.md deleted file mode 100644 index 7003dfe..0000000 --- a/HTTP Control server/Setup the HTTP control server.md +++ /dev/null @@ -1,3 +0,0 @@ -A built-in HTTP server listens on port `8000` to modify the state of the container. - -To access it, simply publish this port for the container, for example: `-p 8000:8000/tcp`. diff --git a/_Sidebar.md b/_Sidebar.md index f6443ad..5e6d8b2 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -12,9 +12,6 @@ - [Portainer](Portainer) - [Mullvad](Mullvad) - [HTTP Control server](HTTP-Control-server) - - [Control Openvpn](Control-Openvpn) - - [Control DNS over TLS](Control-DNS-over-TLS) - - [Setup the HTTP control server](Setup-the-HTTP-control-server) - Servers - [Cyberghost Servers](Cyberghost-Servers) - [Surfshark Servers](Surfshark-Servers)