Skip to content
⌘ NSIS Forum Archive

Force proxy

4 posts

Gluck#

Force proxy

Hi,

I have a program that doesn't support proxy configuration.

When I create a launcher, can I force it to communicate to internet ONLY through a port?

Ex 127.0.0.1:3128 (Is like to proxify it).

And is possible to force the dipendencies of it to use this proxy? (other .exe opened from the main program).

Thanks
Anders#
You would probably have to write a custom .dll that you inject into the process and it would hook WinInet and WinSocks.
Anders#
If the application hosts a embedded instance of Internet Explorer it might be possible to override some things based on the .exe name in the registry but I'm not sure if the proxy is one of them. And it would only affect the IE pages, not anything else in the application.