vpnkit icon indicating copy to clipboard operation
vpnkit copied to clipboard

WIP: Add a mechanism to forward outgoing TCP via a Unix domain socket

Open djs55 opened this issue 3 years ago • 0 comments

This is based on the existing "gateway forwards" mechanism which allowed traffic sent to the gateway to be forwarded.

A forwards.json can be dynamically updated with IP network matches and Unix domain socket / Windows named pipe paths. When a SYN arrives, a request is sent on the Unix domain socket, allowing the server to reject or accept the request. Assuming the connection is accepted, the handshake is completed and traffic flows.

djs55 avatar Jul 27 '22 14:07 djs55