Port Forwarding with 2 NICs via Windows 7 firewall

3

1

I have a computer with two network cards, each of them connected to a separate network. I would like to forward all requests that arrive via port X from one networks to port Y on a host in the other network.

Is this something I can realize with the Windows 7 firewall and if yes, what would a configuration like this look typicially look like?

Thanks!

LeRookie

Posted 2015-06-18T21:48:08.987

Reputation: 33

Great, question answered! – LeRookie – 2015-06-18T22:09:46.123

Answers

2

Port Forwarding with 2 NICs via Windows 7 firewall

This can done using netsh.


To add forwarding

netsh interface portproxy add v4tov4 listenport=4422 listenaddress=192.168.1.111 connectport=80 connectaddress=192.168.0.33

To remove forwarding

netsh interface portproxy delete v4tov4 listenport=4422 listenaddress=192.168.1.111

Source Stack Overflow answer port forwarding in windows by user1256477


Further reading

DavidPostill

Posted 2015-06-18T21:48:08.987

Reputation: 118 938