Remove ports testing feature
This commit is contained in:
parent
6b4093e3df
commit
19adeccf0b
50
README.md
50
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
|
* `ipv4.meta.4.niv.re` only have the A record
|
||||||
* `ipv6.meta.4.niv.re` only have the AAAA record
|
* `ipv6.meta.4.niv.re` only have the AAAA record
|
||||||
|
|
||||||
### Ports
|
## Nginx configuration
|
||||||
|
|
||||||
You can try to connect to a few other TCP ports than 443, using IPv6.
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
### Nginx configuration
|
|
||||||
|
|
||||||
```
|
```
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
listen [2a01:e0a:15c:2e40::65:535]:1 ssl http2;
|
listen [::]:443 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;
|
|
||||||
|
|
||||||
server_name meta.4.niv.re *.meta.4.niv.re;
|
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
|
## Ressources
|
||||||
|
|
||||||
Nginx variable list: <https://nginx.org/docs/varindex.html>
|
Nginx variable list: <https://nginx.org/docs/varindex.html>
|
||||||
|
|
11
meta.php
11
meta.php
|
@ -30,17 +30,6 @@
|
||||||
|
|
||||||
Client port: <samp><?= htmlspecialchars($_SERVER['REMOTE_PORT']) ?></samp><br>
|
Client port: <samp><?= htmlspecialchars($_SERVER['REMOTE_PORT']) ?></samp><br>
|
||||||
Server port: <samp><?= htmlspecialchars($_SERVER['SERVER_PORT']) ?></samp><br>
|
Server port: <samp><?= htmlspecialchars($_SERVER['SERVER_PORT']) ?></samp><br>
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Test outgoing destination ports (IPv6 only)</summary>
|
|
||||||
<?php
|
|
||||||
$reachablePorts = Array(1,2,20,21,22,23,25,53,80,123,143,443,587,853,993,1312,3478,5349,8448,9001,9030,16384,25535,32768,49152,65535);
|
|
||||||
foreach ($reachablePorts as $port) { ?>
|
|
||||||
<a href="https://ports.meta.4.niv.re:<?= $port ?>/">https://ports.meta.4.niv.re:<strong><?= $port ?></strong>/</a><br>
|
|
||||||
<?php }
|
|
||||||
|
|
||||||
?>
|
|
||||||
</details>
|
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue