Discussion Locked

How to connect client to server ?

0 helpful
17 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello guys! Here is my problem:
I have a pice of client/server software(Windows XP based) let's call it X, the server part of X is installed on a computer on which i have physical access, located in a local area network with no public ip, i also do not have access to the router/nat server on that network. Now the problem is i want to connect to server X from my computer(visible from internet) running the client portion of aplication X over the internet, keeping in mind that the server X is not directly visible from my computer, and also i don't have acces on the target lan server/router.Let me tell you from start that a posible solution was found using ssh port forwarding, but is not taken into consideration based on different reasons, which i shall not go into here...
So my question is the following, is there posible to build an application composed of 2 pices, let's call one A1 and other A2, so that i can install A1 on target computer(running server portion of X), and A2 on my computer(running client portion of X) such that at first A1 establishes a connection to A2, and then client X connects to server X through that connection(A1 <--> A2), something like port forwarding done in ssh but in a application that i can write.
The 500 points question is how do i write such an aplication(A1, A2), or if is this possible?
Any hints or insights into a solution to this problem will be greatly apreciated.

Best regards, Alex.

17 replies

by toivo talikka

If you do not have access to the router of the LAN yourself or if you cannot even talk to God, i.e. your local friendly System Administrator, you are not a bona fide user of the LAN or the "client/server" application.

It is rather unproductive and sad trying to go around the company's IT security policies. You may not have realised that these policies have a purpose: protecting the investment of the company's stakeholders. Full stop.

by goodwisj

1.Agree strongly with Toiva if the network/IT security policy risks being compromised by uyour activity.

2. Assuming that your purpose in itself is legitimate even though you may not be able gain access to the LAN (for whatever reasons) then, highly dependent on the type of data and the GUI in use it may be possible to carry out a high level integration using a 'screen scrape' approach.

3. Refer back to 1..... I can not encourage subversion of policies designed to protect data....

by sgt_shultz

such an application might also be called a 'worm' or a 'trojan horse' and would certainly flip out your system administrator
you a student, yes?
google 'hacking'

by sgt_shultz

such an application might also be called a 'worm' or a 'trojan horse' and would certainly flip out your system administrator
you a student, yes?
google 'hacking'

by geminicoolguy2003

I've seen your answers, and i thank for your time, but let me try to clarify a few things.
First the target computer lan and my lan are not corporate or any other firm, just private lans, also i have physical access to the target computer, it's not like i'm breaking in remotely and also a solution to make all this work was tested with ssh and it worked(like i previously said in my post) but what i want is to build an aplication to facilitate this kind of connection without ssh, so you see it is nothing even close to the things described like 'hacking' or 'jail', please take into account these considerations. I'm still waiting for your insights on how to approach building this application.

Best regards, Alex.

by goodwisj

Strikes me that actually - other than not responding to the post in the first place we may have struck a problem with this TechRepublic Q&A Forum..... whilst Alex can reject the answers, the readership can't reject the question!!!

Alex - before youreject this response as well...... oh too late!

No really.... the problem that we readers have is a classic communication issue.... You perceived that you had transmitted all the information that we would need to be able to assist you; through our professional filters we received a different perception of the context of the question. There are those of us out here who have professional status and that puts us in the line of fire for any advice that we give.... hence the slightest whiff of a litigation problem and we will be very very cautious.

But.... take a look at http://smb.slac.stanford.edu/facilities/remote_access/remote_desktop/nx.shtml it may be somewhere like what you are looking for....

cheers

Steve

This discussion is closed to new replies.