During a pentest and I experienced a weird problem with connecting to the target machine which is behind a NAT network the scenario is basically,
they have a public ip : 220.127.116.11
and there are multiple machines within the network with IPs 172.16.2.0/24
those machines can connect to each other but cannot reach the internet basically, and through the webshell you cannot ping anything because it takes the ip of the private machine which is unreachable from the internet
So is there any way I can either use bind or reverse shell?