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

How do I create a reverse connection?

Post Reply
guest1

How do I create a reverse connection?

Post by guest1 »

Situation:
a) I have PC1 (NT) behind a restrictive firewall/NAT (no port forwarding or anything like that)
b) I have PC2 (XP) on a direct internet connection (real IP fully known).

I can create a connection from PC1 to PC2 wrapping the vnc call in a tunnel via zebedee specifying the proxy parameter "httpproxy" in the relative zebedee script (this is pretty much out of the box; zebedee provides already a script to do this with vnc).
So the result is: PC1= viewer; PC2=server; PC2 is controlled remotely via PC1 once the connection is established via the zebedee tunnel and the proxy in PC1 side; (both machines need o run zebedee to achieve the connection!).

My question is:
- how can I now create a connection from PC2 to PC1?
I am free to run both server and viewer and repeater on both machines.
But I cannot find clear explanations on what to do to create what should be a "reverse connection". Trying to connect directly from PC2 to PC1 I will get blocked by the firewall. So I believe the connection should be inizated from PC1 side, but I do not know how to do it.

Can you help?

The faq: [topic=34][/topic] did not help. I tried to put both the reapeter and Viewer on PC2 (the machine which is free and direct on Internet), but running the Winvnc server on PC1 and doing Add new client did not achieve anything (it times out and does not finds the client).
Furthermore that method cannot work if there is no control on PC1 (i.e. if I want to take control of PC1 from PC2 without any assistence on the other side...).
lizard
Former moderator
Former moderator
Posts: 171
Joined: 2004-05-03 07:43
Contact:

Post by lizard »

PC2> vncviewer.exe -listen
PC1> winvnc.exe
PC1> winvnc.exe -connect PC2
guest 1

Post by guest 1 »

Hi,
I did what you suggested.

1) The viewer in listener mode on PC2 is not a problem (it starts and listens).
2) the winvnc server starts on PC1 ok
3) connecting directly as you suggest is not working (as the connection has to pass trought he firewall via zebedee).

I worte this small zebedee script to connect:
ultravncserver.zbd
-----------------------------------------------------
verbosity 1 # Basic messages only

server true # It's a server
detached true # Detach from terminal
message "Starting ULTRA VNC server"

httpproxy myproxy:8080

command '"c:\t\UltraVNC\winvnc.exe -connect IP2"'
# IP2 is the IP of PC2 which is already listening!
-----------------------------------------------------

This is what I get in output (on the PC1; PC2 will never receive a thing!):

c:/t/zebedee -f c:/t/ultravncserver.zbd
c:/t/zebedee(267/331): Starting ULTRA VNC server
c:/t/zebedee(267/331): ERROR: can't create listener socket
c:/t/zebedee(267/331): ERROR: server can't listen on port 11965

So it does not work.

if I start winvnc on PC1 and set its connection password I can see it is listening (the tooltip on its icon will change from 'not listening' to its IP address)

Any other suggestion?
Last edited by guest 1 on 2005-10-04 00:52, edited 1 time in total.
valca

Maybe callinghome?

Post by valca »

I was reading this forum because the product UltraVNC was linked in the page of http://callinghome.sourceforge.net/.

In short, I think that this product is what you need for your situation, is a bit confuse at the begining, but basically try to maintain a SSH connection from a firewall PC to a internet open PC.

Hope this help
victor_knight
8
8
Posts: 29
Joined: 2005-10-03 08:19
Contact:

Post by victor_knight »

Try the same setup with this program.

see VNC-Related products and look [topic=4454][/topic]

I found it odd that so many people, even on the almighty Linux, still had this problem. :)

[mod=494,1128388913]policy of UltraVNC forum, removed url to commercial product and redirected to vnc-related products[/mod]
Last edited by victor_knight on 2005-10-04 01:21, edited 1 time in total.
Post Reply