How can I establish a TCP connection between several computers behind two firewalls?

I'd like to establish several TCP connections between computers behind a firewall.

The follow picture illustrates a simple network:

From the picture I'd like to establish 3 TCP connections:

A => 2 B => 2 C => 2

What are my options for establishing these TCP connections?


Can I do this without port forwarding?

-------------Problems Reply------------

You could have some server in the cloud acting as a proxy for your connections. For instance, think about how a service like LogMeIn or GoToMyPC manages connections between a client and the controlled host. This is one idea.

This should be an interesting read.

Category:networking Views:0 Time:2009-11-05
Tags: networking tcp

Related post

  • How many TCP segments are required to establish a TCP connection? 2010-12-02

    How many TCP segments are required to establish a TCP connection? What important control information is carried in these TCP segments, and why? --------------Solutions------------- Here is the wikipedia article on TCP and here is the RFC. In the futu

  • When establish a tcp connection,what if TCP use initial sequence number as a fixed number? 2011-01-23

    I am reading 《Internetworking with TCP/IP》 by Douglas Comer,and when talking about creating a tcp connection ,there is a problem: Suppose an implementation of TCP use initial sequence number 1 when it creates a connection,Explain how a system crash a

  • How do I use data from a UDP segment to establish a TCP connections? 2012-02-12

    I have received data from UDP socket fd. How can I use this information to establish a TCP connection from the sender. buf contains the TCP port. struct sockaddr_storage remote_addr; socklen_t remote_addr_len; recvfrom(fd, buf, BUFSIZE, 0, (struct so

  • Establishing a TCP connection with CakeSocket 2012-04-06

    Please be gentle here, I have only started playing with CakePHP (or any framework, for that matter) this morning. After just walking through Cake's brief tutorial on setting up a blog I have fallen in love, and would like to apply it to another proje

  • Creating a TCP connection between 2 computers without a server 2011-03-05

    2 computers are in different subnets. Both are Windows machines. There are 2-5 IGMP-ready routers between them. They can connect each other over multicast protocol (they have joined the same multicast group and they know about each other's existance)

  • How to establish a TCP connection given a host name and port on Windows Phone 7.1? 2011-06-22

    On WP 7.1 the Socket class is missing methods like Socket.Connect(string, int) that would make this straight-forward. The available alternative Socket.ConnectAsync apparently needs a numerical IP address (passed with the SocketAsyncEventArgs object).

  • Can Silverlight 4 establish a TCP connection to localhost? 2011-09-29

    Please excuse the backwards architecture on this one and assume there's not a better way... I have a Windows Service running on localhost, it listens on TCP port 5432 and broadcasts events to any connected sockets. Is it possible for a Silverlight 4

  • TCP-Connection Establishment = How to measure time based on Ping RRT? 2010-05-21

    I would be greatful for help, understanding how long it takes to establish a TCP connection when I have the Ping RoundTripTip: According to Wikipedia a TCP Connection will be established in three steps: 1.SYN-SENT (=>CLIENT TO SERVER) 2.SYN/ACK-RE

  • Want to manually send SYN ACK packets to establish TCP connection (in PHP if possible) 2011-11-03

    How can I send my own SYN and ACK packets to a server in php. I do not want the system to do anything, I would like to create my own packets, and send them myself to establish the TCP connection. Can this be done in php, or do I have to use C++ for t

  • Javascript TCP connection to server 2009-06-13

    I have created server daemon, that produces some data, like messages and so. But, what im interested in - client monitoring. For example i have web page, and i need to establish persistent Tcp connection to server and show all incoming data into text

  • TCP Connect takes X100 longer than ping 2009-12-07

    I have a java process on machine A communicating with a Tomcat on machine B via TCP. The TCP connect (just the syn-syn/ack exchange) takes on the order of 100 ms consistently, while a ping request takes 1 ms (the serves are on the same LAN). What cou

  • determine if TCP connection uses SSL 2010-02-25

    Perhaps some server can handle both non-secure and secure protocols. Is there known way to determine if existing TCP connection secure or not? (I believe it is possible just monitor traffic and check if some text is readable, but maybe there is bette

  • How do I make a TCP connection between 2 servers if both can start the connection? 2010-03-17

    I have a defined number of servers that can locally process data in their own way. But after some time I want to synchronize some states that are common on each server. My idea was that establish a TCP connection from each server to the other servers

  • Java Web Server with Jetty - TCP Connections Taking Long 2010-06-03

    I have an application with fairly high traffic (20K req/min) running on the JVM with a Jetty servlet container on Ubuntu. Below is my Jetty configuration: 10 20 2000 2 When I analyze the network traffic, I realize that sometimes it is taking long to

  • java server to handle multiple tcp connections 2010-09-12

    im trying to write a simple web server in java. right now ive only got a simple program but id like to extend it so that it can serve multiple browsers by establishing multiple tcp connections. ive been reading about threading. my understanding is th

  • Persistent TCP connection in Rails App 2011-03-17

    I have a third party app running on a server, which authenticates the client and responses back. My problem here is for each and every request that I get to my rails app I need to establish a TCP connection and get the data. Is it possible to have a

  • procedures in opening and closing a TCP connection 2011-05-19

    Can anyone please let me know the procedures that happens in closing a tcp connection. suppose there is A(Client) and B(Server) that A establish a TCP connection A is creating a TCP connection with B In opening a connection what happens if SYN packet

  • C# TCP Connection Problem 2011-07-14

    I'm having some trouble creating a client/server set up. Edit: To clarify, the trouble I'm having is getting any sort of connection. The program never goes any further than listenClient.AcceptSocket(). I think the client application is working fine.

  • Pass tcp connection to different computer as a paramter 2011-09-04

    I been trying to learn the TCP protocol. so I am able to transfer data between two computers on the same network as: \\the server: var server = new TcpListener(ipAddress, port); //create a server server.Start(); //start the server //wait here until a

Copyright (C), All Rights Reserved.

processed in 0.226 (s). 11 q(s)