Share via

Netsh firewall command to create forwarder rule.

Anonymous
2018-11-28T00:23:29+00:00

I have created forwarder rule in windows to route the traffic coming from any user to loopback address 127.0.0.1 and forward it to another IP address.

example:

netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=9000 connectaddress=127.0.0.8 connectport=9000 protocol=tcp

But I want to create firewall rule which will route traffic coming from one user to loopback address 127.0.0.1 and route it to the IP address already bounded to that user not to just random IP address.  Means I want to insert userid somehwere in this command to get the traffic for that specific id.

expection command should look like below:

netsh interface (userid) portproxy add v4tov4 listenaddress=127.0.0.1 listenport=9000 connectaddress=ip connectport=9000 protocol=tcp

Windows for home | Windows 10 | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2018-11-28T10:46:59+00:00

    Hi,

    Thank you for writing to Microsoft Community Forums. 

    I understand that this is an important feature and you want this to work, however I suggest you to post your query on TechNet  forums for better resolution as you will find members who have better technical knowledge on this issue.

    Regards.

    Amit Sunar

    Microsoft Community – Moderator

    Was this answer helpful?

    0 comments No comments

0 additional answers

Sort by: Most helpful