Fowarding to target website via a socks5 proxy.

I want to do the following with caddy: Suppose caddy is running on a host with the FQDN x.y.z, when I access x.y.z:8080, it can redirect me to the target website, say, a.b.c via a specific socks5 proxy, say, x.y.z:21080.

Any hints for this problem will be highly appreciated.

Regards,
HY

Well, Caddy is an HTTP server, so I don’t think that’ll be possible with stock Caddy. But you might use caddy-l4 which is a layer 4 proxy (TCP level).

2 Likes

This topic was automatically closed after 30 days. New replies are no longer allowed.