4 ms·
Can run it in a isolated namespace and communicate with unix sockets. If the service does not support listening on sockets you can use socat within the namespac
by SahAssar 3y ago
Can run it in a isolated namespace and communicate with unix sockets. If the service does not support listening on sockets you can use socat within the namespace to forward from the unix socket to a port on lo in the namespace. Most reverse proxies can forward to a unix socket.
I've done similar things (and sometimes with a wireguard tunnel out to internet) for privacy reasons.
- hddqsb 3y agoHere is an example I linked in another comment: http://www.dest-unreach.org/socat/doc/socat-gender.txt http://www.dest-unreach.org/socat/doc/socat-gender.txt