A
A
Alik2014-05-28 16:40:33
Perl
Alik, 2014-05-28 16:40:33

How to build a secret "proxy" server?

Good afternoon.

There is a task to make access to the server part of some applications and services free for employees outside the office, but inaccessible to third parties. Now access to servers is limited by the ip-address of the office, there is no access from the Internet.

For example, it is assumed that the telephony server Z will communicate only with server N. And he, server N, in turn, is ready to accept a connection from any address.

Requirements for server N:
1. Lack of information about where it redirects the client. Somehow the client has to pass this information to server N.
2. A strong method of user authentication, better with traffic encryption before it.

Sox-proxy tried, but with it you have to put a soxifier for Win applications - this is not very elegant.

I would like to ask experts whether such a system is possible and on what technology. Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Victor Victor, 2015-12-17
@Zewkin

var number = '1234567890';
return number.replace(/([0-9]{3})([0-9]{3})([0-9]{2})([0-9]{2})/, '( $1) $2-$3-$4');

H
HoHsi, 2015-12-17
@HoHsi

var REGEXP_PHONE = /(\d{3})(\d{3})(\d{2})(\d{2})/;

var number = '1234567890';

var numberObj = number.match(REGEXP_PHONE);

number = "(" + numberObj[1] + ") " + numberObj[2] + "-" + numberObj[3] + "-" + numberObj[4];

// Или ES6
number = `(${numberObj[1]}) ${numberObj[2]}-${numberObj[3]}-${numberObj[4]}`;

S
Stepan, 2014-05-28
@Orsolino

Set up a VPN server in the office. Leave access to the servers only from the office IP.
If you need to enter the server, the employee will simply connect the VPN to the office and will calmly do what is needed.
I've had this setup for a few years now. All servers are open only for my VPN servers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question