Unix Domain Socket Redirector¶
UDS(Unix Domain Socket) redirector can redirect the local UDS service to a TCP service or another UDS service. The forwarding chain is still valid in this scenario.
Limitation
When redirecting to a remote UDS service, the last node at the end of the forwarding chain must be the relay protocol.
Redirect to TCP service¶
Redirect the local UDS service gost.sock to TCP service 192.168.1.1:8080.
Redirect TCP Service To Local UDS Service¶
Redirect local TCP service localhost:8080 to local UDS service gost.sock.
Redirect To Another Local UDS Service¶
Redirect local UDS service gost.sock to another local UDS serivce gost2.sock
Redirect To Remote UDS Service¶
Redirect local UDS service gost.sock to the UDS service gost.sock on the remote host 192.168.1.1 through forwarding chain.