Skip to content

Ports

Related to ports and how to interact with them.

Check open ports

ss -tunl
netstat -tunl

Port forwarding

read

ssh -L <LOCAL_PORT>:<REMOTE_HOST>:<REMOTE_PORT> <USER>@<GATEWAY>
ssh -L 1111:127.0.0.1:8080 [email protected]