I want to configure a socks server (with ssh dynamic port forwarding for example) who can forward the traffic to another socks server or http server maybe ... and I want this routing to happens at "application layer" : based on domain name or TLD extension for example.
1 Answer
You'd be best to set up squid (or another reverse proxy) and set up various SOCKS servers or HTTP servers as upstreams.