Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: Connecting to a server on the other side of a router
bstokan

From: Port Huron, MI USA
Posts: 2
Member Since: 06/20/06
posted June 20, 2006 1:41 PM

I have a router with a public address of 10.0.10.1 and a private address of 192.168.1.1.

I have a server app running on a computer with an ip address of 10.0.10.2 port 1234.

I have a client app running on a computer with an ip address of 192.168.1.2.

Both the client and server are on there respective sides of the router.

My question is how to talk to the server (10.0.10.2:1234) without using NAT in the router. It seems to me there should be some way to (from 10.0.10.2) 'say' talk to 192.168.1.2 through 10.0.10.1 (which is also 192.168.1.1)

We have some network devices that reside behind a router. We are trying to communicate with them directly with out using NAT. Each device shows up to us as the routers address and for us to comunicate with the device, nat would have to translate a specfic port to a specific ip on the other side of the router. and we do not want to set up a port for each device.
Amit

From: Rome, NY USA
Posts: 315
Member Since: 03/15/06
posted June 20, 2006 5:24 PM

Hello,

I have read your query, and it is my understanding that you are looking to
use the client and the server applications behind the router.
 
If this is the said scenario, then please note that if both the client and
server are behind the router, then you need to use the internal IP of the
server when you are looking to connect to the server.

I hope this will be of help.

Have a nice day ahead.

Best Regards,
Amit
bstokan

From: Port Huron, MI USA
Posts: 2
Member Since: 06/20/06
posted June 22, 2006 9:28 AM

we are connecting (from 10.0.10.2) to a ethernet device (on 192.168.1.2 port 1234). we have many of these devices on the 192.168 subnet and do not want have to set up NAT and a new tcp server for each instance. In my mind, there should be a way to set a gateway on the connection to say to connect from 10.0.10.2 to 192.168.1.1 through the router (10.0.10.1)
Amit

From: Rome, NY USA
Posts: 315
Member Since: 03/15/06
posted June 26, 2006 4:40 PM

Hello,

Thanks for writing back.

If I understand you correctly, you are asking how to get from the outside through the firewall to the inside without having an existing port map on the router? If that is correct, then unfortunately I do not have a recommendation. The whole point of firewall is to keep people from doing exactly what you are asking to do.

Have a nice day ahead.

Best Regards,
Amit
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX