From 9777f7029456577bd5a066f16b301dce5b76dab6 Mon Sep 17 00:00:00 2001 From: Simon L Date: Tue, 20 Jun 2023 21:30:56 +0200 Subject: [PATCH] apache - expose udp for http3 to work Signed-off-by: Simon L --- php/containers.json | 5 +++++ php/templates/containers.twig | 2 +- readme.md | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/php/containers.json b/php/containers.json index 281d7982..5686ef6a 100644 --- a/php/containers.json +++ b/php/containers.json @@ -16,6 +16,11 @@ "ip_binding": "%APACHE_IP_BINDING%", "port_number": "%APACHE_PORT%", "protocol": "tcp" + }, + { + "ip_binding": "%APACHE_IP_BINDING%", + "port_number": "%APACHE_PORT%", + "protocol": "udp" } ], "internal_port": "%APACHE_PORT%", diff --git a/php/templates/containers.twig b/php/templates/containers.twig index e019aab5..4a006a81 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -99,7 +99,7 @@ {% if skip_domain_validation == false %} - Make sure that this server is reachable on port 443 (port 443/tcp is open/forwarded in your firewall/router) and that you've correctly set up the DNS config for the domain that you enter (set the A record to your public ipv4-address and if you need ipv6, set the AAAA record to your public ipv6-address. A CNAME record if of course also possible). You should see hints on what went wrong if your domain does not get accepted in the top right corner.

+ Make sure that this server is reachable on port 443 (port 443/tcp is open/forwarded in your firewall/router and 443/udp as well if you want to enable http3) and that you've correctly set up the DNS config for the domain that you enter (set the A record to your public ipv4-address and if you need ipv6, set the AAAA record to your public ipv6-address. A CNAME record if of course also possible). You should see hints on what went wrong if your domain does not get accepted in the top right corner.

Click here for further hints
If you should not have a domain yet, you can get one for free e.g. from duckdns.org and others.

diff --git a/readme.md b/readme.md index 66cd5f3c..3da342ac 100644 --- a/readme.md +++ b/readme.md @@ -136,6 +136,7 @@ You can check this on Linux by running: `uname -m` ### Which ports are mandatory to be open in your firewall/router? Only those (if you access the Mastercontainer Interface internally via port 8080): - `443/TCP` for the Apache container +- `443/UDP` if you want to enable http3 for the Apache container - `3478/TCP` and `3478/UDP` for the Talk container ### Explanation of used ports: @@ -143,6 +144,7 @@ Only those (if you access the Mastercontainer Interface internally via port 8080 - `80/TCP`: redirects to Nextcloud (is used for getting the certificate via ACME http-challenge for the Mastercontainer) - `8443/TCP`: Mastercontainer Interface with valid certificate (only works if port 80 and 8443 are open/forwarded in your firewall/router and you point a domain to your server. It generates a valid certificate then automatically and access via e.g. `https://public.domain.com:8443/` is possible.) - `443/TCP`: will be used by the Apache container later on and needs to be open/forwarded in your firewall/router +- `443/UDP`: will be used by the Apache container later on and needs to be open/forwarded in your firewall/router if you want to enable http3 - `3478/TCP` and `3478/UDP`: will be used by the Turnserver inside the Talk container and needs to be open/forwarded in your firewall/router ### How to run AIO on macOS?