If you are contacting computers over routers / firewalls / NAT etc the forwarding of packets is their problem.
You would still use the IP address of the machine you need to connect to, it would require the overall TCP/IP infrastructure to be configured correctly to allow the packets to reach their destination.