Uvnc to connect a server which is working behind a proxy

Developers may discuss here.

Uvnc to connect a server which is working behind a proxy

Postby IT researcher » 2016-08-10 06:04

Hello,

I am using Uvnc to connect users remotely. Till today it was working greatly, but today I got a user who is working behind a proxy server. I know the problem is because of proxy server.
So I did a test myself using CCproxy at my place. I have setup a repeater in web server with VNC server port 5500 and viewer port as 5901. I am using mode II (connecting with id)
I have connected a PC to proxy server and ran a server in that. Initially winvnc was not running. So I added the port 5500 and 5901 (with my webserver IP) to exception in ccproxy sever. So now winvnc is running. But vncviewer is not connecting to vnc server ?

Whether Uvnc work to connect server/clients which are working behind proxy ?

If yes how to solve my problem ?
IT researcher
8
8
 
Posts: 9
Joined: 2014-10-08 09:57

Re: Uvnc to connect a server which is working behind a proxy

Postby Rudi De Vos » 2016-08-10 10:26

A repeater is for bypassing the nat translation.

PC1<-> nat router <-> internet<->repeater<->internet<->nat router<->pc2
Both pc1 and pc2 make an outgoing connection and the repeater cross them.

Define procy: What is the proxy doing ?
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5489
Joined: 2004-04-23 10:21

Re: Uvnc to connect a server which is working behind a proxy

Postby IT researcher » 2016-08-10 11:19

My flow chart is different than yours,
pc1(server) <-> CCproxy <-> NAT Router <-> internet <-> repeater <-> internet <->nat router<->pc2 (viewer)

here pc1 is accessing internet via a proxy server. Proxy server is used to control and monitor the traffic. By default only http,https and ftp connections are allowed via this proxy. So I have added my repeater ports to exception.
IT researcher
8
8
 
Posts: 9
Joined: 2014-10-08 09:57

Re: Uvnc to connect a server which is working behind a proxy

Postby Rudi De Vos » 2016-08-10 21:20

Then you only need to add the server outgoing port ( 5500).

pc1 tcp 5500--->ccproxy---->nat router--->internet --->(listen 5500)repeater(listen 5901)<----internet<---nat router <---tcp 5901 pc2
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5489
Joined: 2004-04-23 10:21


Return to Developer discussions (mainly user-mode)

Who is online

Users browsing this forum: No registered users and 3 guests