Creating a Network Connection Between Two Computers Behind Routers

  • Thread starter Thread starter Alkatran
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around establishing a network connection between two computers located behind routers that block incoming connections. Participants explore potential methods for creating this connection, including the use of proxies and port forwarding, while considering the limitations imposed by stateful firewalls.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant suggests using a server proxy that can accept two incoming connections and ferry data between them, but notes that typical proxies may not suffice due to connection blocking.
  • Another participant proposes setting up a TCP/IP or UDP connection using port 80, which is typically open for web browsing, and recommends using a port scanner to identify open ports that could facilitate a VPN.
  • A participant questions the feasibility of incoming connections on port 80, citing the nature of stateful firewalls that block such connections unless explicitly forwarded by the router.
  • Further elaboration indicates that incoming connections require port forwarding configurations on the router, and suggests various methods including using proxy services or configuring routers to forward specific ports.
  • There is a mention of potential complications when using applications like AIM or IRC for direct connections, particularly regarding how connection requests are handled between the two computers.

Areas of Agreement / Disagreement

Participants express differing views on the feasibility of establishing connections given the constraints of stateful firewalls and the necessity of port forwarding. No consensus is reached on the best approach to take.

Contextual Notes

Limitations include the dependency on router configurations, the variability of firewall settings, and the potential for slow performance when using proxy services. The discussion does not resolve the technical challenges posed by the network environment.

Alkatran
Science Advisor
Homework Helper
Messages
959
Reaction score
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
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
 
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?
 
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:

Similar threads

Replies
13
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
4
Views
3K
Replies
4
Views
4K
  • · Replies 31 ·
2
Replies
31
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 12 ·
Replies
12
Views
2K