Feb 14 2022 04:39 AM
So i have successfully set up some nested Hyper-V VM on my Azure VM. They are working all fine and can access the internet using NAT. However the problem is that i want to setup some static NAT address mapping's. The guides that i have read say they are NAT but infact that are PAT (port address Translation) mappings
For example
Add-NetNatStaticMapping -NatName "VMSwitchNat" -Protocol TCP -ExternalIPAddress 0.0.0.0 -InternalIPAddress 172.29.92.2 -InternalPort 80 -ExternalPort 80
What i want to achieve is that all ports for the internal IP are mapped to the relevant external IP
Any idea on how this can be done?
Jan 06 2024 06:04 PM