Jump to content

Method for connecting devices behind firewalls?

- - - - -

  • Please log in to reply
5 replies to this topic

#1
maxpower

maxpower

    Newbie

  • Members
  • Pip
  • 4 posts
I am not talking about forwarding through a router.

Isn't there a method where a PC, behind a firewall, connects to a server and "links" to another PC, that is behind a firewall?

GoToAssist does this as well as many others. I want to write something like this (something very simple).

The first thing that comes to mind is to have a server (somewhere on the internet) that takes connections and "bridges" the two socket connections from the PCs.

Is this how it is done?

Thanks

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
I believe you are looking for a VPN (or programming of.)
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
maxpower

maxpower

    Newbie

  • Members
  • Pip
  • 4 posts
Thanks for the response. Unfortunately I can't VPN through the firewall. I won't have access to anything like that.

I need the client computer, that is behind a firewall, initiate a connection out to a server which will bridge a connection to another client computer.

There are lots of programs that do this but I don't know how they do it. I know of a way to do it and that is create a server app that listens to connections and then bridges two clients. I wonder if there are better ways to do that.

#4
maxpower

maxpower

    Newbie

  • Members
  • Pip
  • 4 posts
I think this is what I am looking for

How Skype & Co. get round firewalls - The H Security: News and Features

#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
You may want to look at something like Hamachi, where both establish a connection out of the firewall, and can talk to each other via this new connection.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#6
maxpower

maxpower

    Newbie

  • Members
  • Pip
  • 4 posts
I have used Hamachi in the past to make it easier for me to maintain family's and friend's computers. Unfortunately, I find it works only 50% of the time. Also, I can't install Himachi on one of the computers. It is not allowed.


Thanks




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users