stone

TCP/IP packet repeater that forwards data between network connections

brewmacoslinux
Try with needOr install directly
Source

About

TCP/IP packet repeater in the application layer

Commands

stone

Examples

Forward local port 8080 to remote server port 80$ stone 8080 example.com 80
Create a bidirectional relay between two ports on different hosts$ stone 9000 192.168.1.100 9000
Run stone as a daemon in the background$ stone -d 3000 remote.server.com 3000