New
#11
You do not need to create a new switch. You can add the NAT rule (the one OP stated) to theDefault Switch
in Hyper-V instead.
However, you cannot useAdd-NetNatStaticMapping
as it cannot access theDefault Switch
.
Instead, use (and switch toAdministrator
as necessary)
C:/> netsh interface portproxy add v4tov4 listenport=22 listenaddress=192.168.1.0 connectport=22 connectaddress=172.29.65.11 protocol=TCP
Check,
C:/> netsh interface /?
C:/> netsh interface portproxy /?
C:/> netsh interface portproxy show all