Port forwarding
You can "always" use ssh.
forward a local port to another local port
nc
mkfifo /tmp/f;
nc -lvp $to < /tmp/f | nc localhost $from > /tmp/f
For instance, you can use this to forward the port 22 to the 443.
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
You can "always" use ssh.
mkfifo /tmp/f;
nc -lvp $to < /tmp/f | nc localhost $from > /tmp/f
For instance, you can use this to forward the port 22 to the 443.