I'm using socat in double vpn chain instead of the middle vpn server:

me( -> socat( -> OpenVPN-Server(

I'm using it on this way:
socat TCP-LISTEN:995,fork TCP:

So data on is encrypted.

Does socat send any type of information about to which can help deanonymize me? (may be similiar to X-Forwarded-For or X-Originating-IP)

1 Answer 1


You're using socat to forward a TCP stream. A TCP stream is a stream of bytes, and socat forwards it unchanged. It doesn't add any HTTP headers in the stream — it doesn't even know whether the stream is transporting HTTP. Above, at the TCP or IP level, there's no information about a TCP/IP connection somehow relaying another. The endpoint only sees that it's talking to a particular port on


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .