Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

VNCviewer - how to set specific outgoing port range

Post Reply
mysteryfei
Posts: 2
Joined: 2013-09-26 16:16

VNCviewer - how to set specific outgoing port range

Post by mysteryfei »

Hello!

I've been scouring the forums for awhile looking to see if this were possible but I haven't come up with anything yet so I was hoping a kind soul on the forums would be able to point me in the right direction.
I'm using ultravnc viewer win 32 1.1.8 in windows 7 and connecting to a server over WAN and server is using an older version 1.0.8.
The router at the location[s] is blocking traffic under port ranges somewhere between 30000-60000. Win 7 ultravnc on my client always uses random and high range of outgoing ports ranging from 10000-580000. If it's possible I need to find a way to get Ultravnc viewer to stick to a specific and low outgoing port range that the routers don't have issues with. Can this be done? If so, how? Modifying ports on the router is not an option currently, nor is using ultra vnc SC, vnc repeaters or so forth. I just have option of ultravnc and ultra vnc server.


Thanks in advance.
mysteryfei
Posts: 2
Joined: 2013-09-26 16:16

Re: VNCviewer - how to set specific outgoing port range

Post by mysteryfei »

Hello again,

So far, since ultra vnc doesn't have this option built in, I'm gathering that I'd have to make my own code changes to ultra vnc viewer to do what I need it to do which is to stick to a specific outgoing port range of my choosing. Unfortunately I'm not yet versed in c++ so this makes it a big challenge. If it's not a challenge for someone else who is versed in c++ , if someone gave me the code and told me where to stick it, I could compile it.

Meanwhile, the only work around I can come up with so far is modifying win 7's dynamic port range and lower the start range. Win 7's default port range for TCP is 49152 - 65535. It's kind of silly to have to do that for just one program but I can only work with the tools I am familiar with so far.

Rudi and the other developers, can you please consider making this an additional feature in a future release?

We all appreciate the hard work that has went into the application!
Post Reply