Is there a way to see machine IPs after passing through a subnet router?

I have a subnet router running in an AWS VPC. I want to be able to communicate with a Tailscale device and an instance inside the VPC and also have the instance access the Tailscale Machine IP of the device. Is there a way of facilitating this? I tried looking at the http_x_forwarded_for variable in the instance’s nginx layer but that was empty, and the remote_addr variable is set to the subnet router’s AWS private IP.