Discussion Locked

peer to peer addressing

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
As a developer I am faced with producing a peer to peer communications product. Using MsWinsocks and both peers having public IPs this is no problem. When one or both peers have a private IP (a corporate Lan or likewise) and not in the same Lan, the bridge being the internet, I am having diffaculty addressing the peer(s). The MsWinsock has properites of Remote IP and port only. If I must connect to the NAT or Proxy how do I get it to deliver the data to the peer behind it?

5 replies

by stillatit

In general, the client behind the proxy or NAT has to connect to you. Most routers can be set up to route incoming non-response traffic addressed to a particular port one (1) internal machine. This is used, for example, to put a mail server behind NAT. You can use it with PPTP, but only for one machine per LAN.

Good luck.

This discussion is closed to new replies.