about windows server 2022 NAT implement multi subnet outbound

shen hans 0 Reputation points
2023-11-16T08:24:49.6066667+00:00
  I have two subnets, 192.168.2  through ipsec tunnel  to 192.168.1. , 192.168.1 is connected to the internet via Windows Server 2022 NAT. Now, 192.168.2 needs to access the internet through the gateway of 192.168.1. Can this be achieved using the New-NetNat command? How should the gateway network card for 192.168.1 be configured?    How can I set up NAT mapping for subnet 192.168.2    Thank you               

ps: New-NetNat 192.168.2 notworking

   192.168.2  can ping  192.168.1  
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,162 questions
0 comments No comments
{count} votes