diff --git a/README.md b/README.md index d65983d..4d19a7a 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ * [Containers](https://git.netig.net/netig/chimera-linux/src/branch/main/containers.md) * [UFW configuration](https://git.netig.net/netig/chimera-linux/src/branch/main/ufw-config.md) * [HostUp VPS network configuration](https://git.netig.net/netig/chimera-linux/src/branch/main/hostup-network-config.md) +* [Network tricks](https://git.netig.net/netig/chimera-linux/src/branch/main/network-tricks.md) ## Project links diff --git a/network-tricks.md b/network-tricks.md new file mode 100644 index 0000000..da36d11 --- /dev/null +++ b/network-tricks.md @@ -0,0 +1,18 @@ +# Network tricks + +## Check if a port is reachable + +On the server : +``` +# nc -l +``` + +On a client machine : +``` +$ nc -zv +``` + +Or to check UDP port : +``` +$ nc -zv -u +```