proxychains-ng icon indicating copy to clipboard operation
proxychains-ng copied to clipboard

How to set whitelist mode

Open Archieeeeee opened this issue 6 years ago • 3 comments

Hello, I would like to only enable proxychains for an ip ranges, is it possible? My requirement is that a program is receiving data and then redirects it to somewhere elese, and I want to enable the proxy in the receieving process, its a live stream so it needs to be done in a single command: ffmpeg -i rtmp://sourceLiveAddr -f flv rtmp://dstAddr while the source address is static IP but the destnation address is domain names, so thats why I need the whitelist mode.

Thank you

Archieeeeee avatar Dec 15 '19 11:12 Archieeeeee

I would like to only enable proxychains for an ip ranges, is it possible?

currently, it works the other way round: you can specify a range that's excluded from using the proxies via localnet directive.

rofl0r avatar Dec 15 '19 17:12 rofl0r

I would like to only enable proxychains for an ip ranges, is it possible?

currently, it works the other way round: you can specify a range that's excluded from using the proxies via localnet directive.

The ip ranges behind the domain is often changing cause it's behind CDN, which makes the configuration not easy to be done.

Archieeeeee avatar Dec 15 '19 18:12 Archieeeeee

you could make a portredir tunnel listening on localhost to the domain name, then use localnet for 127.0.0.1.

rofl0r avatar Dec 15 '19 18:12 rofl0r