[WFP] Exclude localhost from bind redirect

  • Thread starter Thread starter Mindaugas V
  • Start date Start date
M

Mindaugas V

Guest
I'm using microsoft/Windows-driver-samples to redirect all traffic to a specific interface by using command:

WFPSampler.exe -s PROXY -l FWPM_LAYER_ALE_BIND_REDIRECT_V4 -pla 10.0.2.15 -v -in

This works just fine, traffic from all of the processes is redirected as expected. The only problem is that it binds 127.0.0.1 to 10.0.2.15 as well and then some applications fail to connect.

For example, I've created simple Python HTTP server on 127.0.0.1:8000 and I can not access it over the browser using this address.

I know that on FWPM_LAYER_ALE_BIND_REDIRECT_V4 it is only possible to filter by local address, but I have somehow to filter by remote address at this point to avoid binding localhost to 10.0.2.15

Continue reading...
 
Back
Top