Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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

Java Viewing On Each of the 20 Workstations Under Repeater

Post Reply
chipmunk
8
8
Posts: 13
Joined: 2006-07-28 02:49

Java Viewing On Each of the 20 Workstations Under Repeater

Post by chipmunk »

I have installed UVNC on my 20 workstations with a repeater on the server computer(server also is installed with UVNC).

What syntax will I write on the browser address bar to view any or each of the workstations? Assuming that I can view each or any of the workstations in the LAN.

But how about in WAN through java viewing? (no problem with the use of UVNC viewer module, only in java viewing)

By the way, my router has only 10 slots of portforwarding capability.

Please help me out. :(
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Java Viewing On Each of the 20 Workstations Under Repeat

Post by YY »

chipmunk wrote:my router has only 10 slots of portforwarding capability(
Would you please check if a single slot of portforwarding, can be a range?
Say: Forword (WAN) ports 5801--5820 to (192.168.1.1) 5801--5820
Last edited by YY on 2007-06-02 15:21, edited 1 time in total.
chipmunk
8
8
Posts: 13
Joined: 2006-07-28 02:49

Re: Java Viewing On Each of the 20 Workstations Under Repeat

Post by chipmunk »

YY wrote:
chipmunk wrote:my router has only 10 slots of portforwarding capability(
Would you please check if a single slot of portforwarding, can be a range?
Say: Forword (WAN) ports 5801--5820 to (192.168.1.1) 5801--5820
Hello bro,

Below is the screenshot I have taken from my router's portfowarding menu...


Image

The spam and model is LINKSYS BEFSR41 4-port router.


My workstations/gamingstations have a static IPs from 192.168.1.1 - 192.168.1.20


What shall I do?
Last edited by chipmunk on 2007-06-02 22:28, edited 1 time in total.
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Java Viewing On Each of the 20 Workstations Under Repeat

Post by YY »

That is OK! Each slot (of your router) can be configured to forward a range of successive ports.

My solution is: forward all java connection signal (from router) to a particular pc, at that pc running another port forward program to send the signal to final destination. The Repeater is supposed to do this job, unfortunely it doesn't support java viewer forwarding.

The port forward program I used is PortMapper, a freeware available at: http://www.analogx.com/contents/downloa ... mapper.htm

1. Suppose the 20 pc are config. as follow:
192.168.1.1 -- WinVNC listen on 5800 (I choose 5800 for this pc, NOT 5801)
192.168.1.2 -- WinVNC listen on 5802
192.168.1.3 -- WinVNC listen on 5803
.........
.........
192.168.1.20 -- WinVNC listen on 5820
PortMapper is running on 192.168.1.1


2. At router, config this port forwarding setting (in one slot)
Application: Any name you like
Start: 5801
End: 5820
Procotol:TCP
IP Address: 192.168.1.1
Enable: Clicked
(Note: Remember delete other 58xx forwarding setting)

3. At PortMapper (running on 192.168.1.1), enter these setting at "Port Redirection"
Port:5801 Target:127.0.0.1:5800 Protocol:TCP Interface:Any
Port:5802 Target:192.168.1.2:5802 Protocol:TCP Interface:Any
Port:5803 Target:192.168.1.3:5803 Protocol:TCP Interface:Any
............
..............
Port:5820 Target:192.168.1.20:5820 Protocol:TCP Interface:Any


That is it. When someone from internet using a java browser connects to: http://You-WAN-IP:Port
(where Port=5801 or 5802 or ...5820), they will reach the right pc.
chipmunk
8
8
Posts: 13
Joined: 2006-07-28 02:49

Re: Java Viewing On Each of the 20 Workstations Under Repeat

Post by chipmunk »

YY wrote:That is OK! Each slot (of your router) can be configured to forward a range of successive ports.

My solution is: forward all java connection signal (from router) to a particular pc, at that pc running another port forward program to send the signal to final destination. The Repeater is supposed to do this job, unfortunely it doesn't support java viewer forwarding.

The port forward program I used is PortMapper, a freeware available at: http://www.analogx.com/contents/downloa ... mapper.htm

1. Suppose the 20 pc are config. as follow:
192.168.1.1 -- WinVNC listen on 5800 (I choose 5800 for this pc, NOT 5801)
192.168.1.2 -- WinVNC listen on 5802
192.168.1.3 -- WinVNC listen on 5803
.........
.........
192.168.1.20 -- WinVNC listen on 5820
PortMapper is running on 192.168.1.1


2. At router, config this port forwarding setting (in one slot)
Application: Any name you like
Start: 5801
End: 5820
Procotol:TCP
IP Address: 192.168.1.1
Enable: Clicked
(Note: Remember delete other 58xx forwarding setting)

3. At PortMapper (running on 192.168.1.1), enter these setting at "Port Redirection"
Port:5801 Target:127.0.0.1:5800 Protocol:TCP Interface:Any
Port:5802 Target:192.168.1.2:5802 Protocol:TCP Interface:Any
Port:5803 Target:192.168.1.3:5803 Protocol:TCP Interface:Any
............
..............
Port:5820 Target:192.168.1.20:5820 Protocol:TCP Interface:Any


That is it. When someone from internet using a java browser connects to: http://You-WAN-IP:Port
(where Port=5801 or 5802 or ...5820), they will reach the right pc.
Wow! nice guide you have made there bro. I am going to do this on morning. I appreciate it much!

By the way, can I install the portmapper on the server computer which has the static IP of 192.168.1.100?


Thanks a lot.
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Java Viewing On Each of the 20 Workstations Under Repeat

Post by YY »

chipmunk wrote:By the way, can I install the portmapper on the server computer which has the static IP of 192.168.1.100
Sure! I assume this is another pc (not the group of the 20 pcs)
you just need to adjust some settings, like this:

At router:
Forward IP Address: 192.168.1.100

At PortMapper (now running on 192.168.1.100):
The setting for 192.168.1.1 will become:
Port:5801 Target:192.168.1.1:5800 Protocol:TCP Interface:Any


If PortMapper now running on another pc, you can also change the WinVNC listening port at 192.168.1.1 to 5801, thus consistent to the arrangement of other pc.

One more issue, because PortMapper runs at application mode only. If necessary, you may want to use SrvAny to help running it as a service.
Last edited by YY on 2007-06-03 17:27, edited 3 times in total.
mattice06082
Former moderator
Former moderator
Posts: 607
Joined: 2006-11-30 00:41
Location: Connecticut, USA

Re: Java Viewing On Each of the 20 Workstations Under Repeat

Post by mattice06082 »

YY,
Doesn't the JavaViewer need both ports 5800 and 5900 by default? Does the 5900 series need to be set up in a similar way?
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Java Viewing On Each of the 20 Workstations Under Repeat

Post by YY »

My FAULT!!!

Mattice, you are right! Thanks so much for correcting this serious mistakes.
I have never used the java view for connection, I just suppose java viewer using 5800 ONLY (Http://Host:5800). I understand now, after connection is established, 5900 will be used for the communication.

Sorry chipmunk for providing you an incompleted procedure, but you should be have it work by adding the port forwording setting for 59xx too.

Assuming the PortMapper is running on 192.168.1.100
At Router, add this setting too:
5901--5920 TCP forward to 192.168.1.100

At PortMapper, add another 20 settings :
Port:5901 Target:192.168.1:5901 Protocol:TCP Interface:Any
etc.

Note, I suppose
192.168.1.1 listening on 5801 & 5901
192.168.1.2 listening on 5802 & 5902
etc.


Hope I didn't miss anything...
Post Reply