Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Uvnc to connect a server which is working behind a proxy

Developers may discuss here
Post Reply
IT researcher
8
8
Posts: 9
Joined: 2014-10-08 09:57

Uvnc to connect a server which is working behind a proxy

Post by IT researcher »

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 ?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

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

Post by Rudi De Vos »

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 ?
IT researcher
8
8
Posts: 9
Joined: 2014-10-08 09:57

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

Post by IT researcher »

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.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

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

Post by Rudi De Vos »

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
Post Reply