Creating a Network Connection Between Two Computers Behind Routers

  • Thread starter Alkatran
  • Start date
In summary, the conversation is about two friends who live in university apartments with routers that block incoming connections. They are trying to find a way to establish a network connection between their computers, but are unsure of how to do so. Suggestions include setting up a TCP/IP or UDP connection using port 80, using a port scanner to see which ports are open, and configuring their routers to forward certain ports. Other options mentioned include using a proxy service or making friends with the network administrator. It is also noted that direct connecting may not work if only one person is able to set up port forwarding.
  • #1
Alkatran
Science Advisor
Homework Helper
959
0
I live in a university apartment, behind a router that blocks all incoming connections. My friend is in the same situation. But we want to be able to create a network connection between our two computers.

What can we do? I know there are proxies out there that will forward connections, but that's no good since the proxy connection would be blocked anyways. Are there any 'server' proxies that accept two incoming connections, then ferry data between them? (Obviously not counting things like gaming or instant message servers, since they don't ferry arbitrary data)
 
Computer science news on Phys.org
  • #2
Well, If you can use the internet ... then set up some form of tcp/ip or udp connection using port 80... it has to be open if you can browse the internet.

Also, get a port scanner and see what ports are open and what are closed. This might allow you to establish a VPN.

Common ports to try : 80, 1494, 3396
 
  • #3
I thought all browsing was outgoing connections? I'm essentially behind a stateful firewall, so I thought incoming connections, even on 80, would be blocked?
 
  • #4
Alkatran said:
I thought all browsing was outgoing connections? I'm essentially behind a stateful firewall, so I thought incoming connections, even on 80, would be blocked?

Of course incoming connections on all ports won't end up at any computer unless the router is set up to forward the ports to the computer. (which computer should incoming connections on port 80 be sent to? The router doesn't know unless you tell it.)

You can either pay for a proxy service, use a free HTTP proxy (and then use port 80 to establish the connection, but any proxy service is going to be pretty slow), or one or both of you can configure the routers you are behind to forward certain ports to your local computers (do it yourself, or make friends with the network administrator if it's not a home network).

Note: If one person is able to get certain ports opened and you are using a program such as AIM, sometimes the connection will work in reverse. For example, if you were to get port forwarding set up on your network for your computer and your friend were to try to make a direct connection to you from AIM or IRC, it might not work because (at least with older versions of AIM), the direct connect request actually includes your friend's IP information, which your program will then use to connect to HIS computer, so it will seem like he was not able to direct connect to you and that the port forwarding has failed (which won't be the case). You will want to try direct connecting from both sides, if only one of you are able to get port forwarding set up.
 
Last edited:

Related to Creating a Network Connection Between Two Computers Behind Routers

1. Does dark matter really exist?

Yes, dark matter is a type of matter that is thought to make up about 85% of the total matter in the universe. It does not emit, absorb, or reflect light, making it difficult to detect, but its existence is supported by various astronomical observations.

2. Is there such a thing as parallel universes?

The existence of parallel universes or alternate realities is a highly debated topic in physics and philosophy. While there are some theories that suggest the possibility of parallel universes, there is currently no concrete evidence to support their existence.

3. Do black holes really exist?

Yes, black holes are real. They are regions of space where the gravitational pull is so strong that even light cannot escape. They are formed when a massive star dies and its core collapses, creating a singularity with infinite density and zero volume.

4. Does the multiverse exist?

The multiverse is a hypothetical concept that suggests the existence of multiple parallel universes. While there are some theories that support the idea of a multiverse, there is currently no scientific evidence to prove its existence.

5. Is it possible for time travel to exist?

The concept of time travel is a popular topic in science fiction, but there is currently no scientific evidence to suggest that it is possible. While some theories, such as the theory of relativity, allow for the possibility of time travel, there are many practical and theoretical limitations that make it unlikely to exist.

Similar threads

Replies
13
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
639
  • Differential Equations
Replies
1
Views
716
Replies
4
Views
2K
  • Computing and Technology
Replies
4
Views
3K
Replies
31
Views
2K
  • Computing and Technology
Replies
0
Views
225
  • Programming and Computer Science
Replies
1
Views
2K
Replies
2
Views
901
Replies
10
Views
2K
Back
Top