Abstract
- Establish a relationship between two data sources
- Connecting networks that use different Network Protocol, extending the range of a network
Create Bi-directional TCP Relay Between Local to Remote
- Creating a Relay on local machine:port listening on TCP, and forward it to the destination:port over TCP
- So for requests hitting
local:<PORT_NUMBER>
on TCP, it is relay to the <PRIVATE_ENDPOINT>:<PORT_NUMBER>
over TCP
sudo socat -v -d -d TCP-LISTEN:<PORT_NUMBER>,fork TCP4:<PRIVATE_ENDPOINT>:<PORT_NUMBER>