Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

netcat

listen

nc -lvp $port

connect

nc $host $port -v

connect with proxy

nc -X connect -x $proxy_host:$proxy_port $host $port -v

forward a local port to another local port

mkfifo /tmp/f;
nc -lpv $to < /tmp/f | nc localhost $from > /tmp/f