Creating a Network Connection Between Two Computers Behind Routers

  • Thread starter Thread starter Alkatran
  • Start date Start date
AI Thread Summary
To establish a network connection between two computers behind routers that block incoming connections, several strategies can be employed. One option is to utilize common open ports, such as 80, for TCP/IP or UDP connections, as these are typically accessible for internet browsing. Conducting a port scan can help identify which ports are open, potentially allowing for VPN setup.Incoming connections are generally blocked by stateful firewalls unless specific port forwarding is configured on the router. This means that for any incoming connection to be successful, the router must be set up to direct traffic to the correct local computer. Users can either pay for a proxy service, use a free HTTP proxy, or configure their routers for port forwarding, which may require cooperation with the network administrator if not on a personal network.Additionally, if one user manages to open certain ports, they can attempt to connect using applications like AIM or IRC, but it’s important to note that direct connection requests may include the friend's IP information, complicating the connection process.
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:
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Back
Top