Mac OSX: Port redirection

PHOTO EMBED

Mon Aug 29 2022 16:39:39 GMT+0000 (Coordinated Universal Time)

Saved by @marcopinero #bash

sudo ncat --sh-exec "ncat <dest.ip> <dest.port>" -l <local port> --keep-open

#ex:

sudo ncat --sh-exec "ncat 192.168.56.116 8084" -l 8084 --keep-open

#then test: http://localhost:8084
content_copyCOPY