From 19adeccf0b2ca68b7ca880358fa2547ae9e35e90 Mon Sep 17 00:00:00 2001 From: Miraty Date: Sat, 30 Oct 2021 21:26:53 +0200 Subject: [PATCH] Remove ports testing feature --- README.md | 50 ++------------------------------------------------ meta.php | 11 ----------- 2 files changed, 2 insertions(+), 59 deletions(-) diff --git a/README.md b/README.md index 35b90f5..1aba009 100644 --- a/README.md +++ b/README.md @@ -18,43 +18,12 @@ You can test IP version connectivity by forcing it throught * `ipv4.meta.4.niv.re` only have the A record * `ipv6.meta.4.niv.re` only have the AAAA record -### Ports - -You can try to connect to a few other TCP ports than 443, using IPv6. - -## Installation - -### Nginx configuration +## Nginx configuration ``` server { listen 443 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:1 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:2 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:20 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:21 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:22 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:25 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:53 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:80 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:123 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:143 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:443 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:587 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:853 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:993 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:1194 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:1312 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:3478 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:5349 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:8448 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:9001 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:9030 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:16384 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:25565 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:32768 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:49152 ssl http2; - listen [2a01:e0a:15c:2e40::65:535]:65535 ssl http2; + listen [::]:443 ssl http2; server_name meta.4.niv.re *.meta.4.niv.re; @@ -119,21 +88,6 @@ server { } ``` -### Might be useful - -``` -ip addr add 2a01:e0a:15c:2e40::65:535 dev eno1 -ufw allow in proto tcp to 2a01:e0a:15c:2e40::65:535 port 1:65535 -certbot certonly --nginx --key-type rsa --rsa-key-size 3072 -d *.meta.4.niv.re -d meta.4.niv.re -``` - -`/etc/network/interfaces`: - -``` -iface eno1 inet6 static -address 2a01:e0a:15c:2e40::65:535 -``` - ## Ressources Nginx variable list: diff --git a/meta.php b/meta.php index fe78245..9127728 100644 --- a/meta.php +++ b/meta.php @@ -30,17 +30,6 @@ Client port:
Server port:
- -
- Test outgoing destination ports (IPv6 only) - - https://ports.meta.4.niv.re:/
- -