none
[WFP] Exclude localhost from bind redirect RRS feed

  • Question

  • I'm using https://github.com/Microsoft/Windows-driver-samples/tree/master/network/trans/WFPSampler 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
    • Edited by Mindaugas V Friday, May 10, 2019 12:13 PM Modified link
    Friday, May 10, 2019 12:12 PM