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

Building SC in a dynamic IP

Single Click discussions / bugs
Post Reply
Sergio Ferretto

Building SC in a dynamic IP

Post by Sergio Ferretto »

Well... My ip address is not static and i´m configuring sc to connect from my clients.. I would like now if is possible to type the viewer ip address before try to connect.. In the helpdesk.txt is only possible set the static ip.. i think.. So if anyone knows other way to do it, i beg that tell me how do. Random IP on Broad Band
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

Post by bevtech »

Sergio,
You have to use a dymanic host like dyndns.org and register your ip with them or another one like them. (most of them are free) Most routers support Dynamic DNS that way you can tell SC {myconnection}.dyndns.org instead of your Ip address. If configured properly it will update when your IP address changes...:D
Bevtech

Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2

User not developer..;)
Jin

SC doesn't take domain names

Post by Jin »

I'm not sure if using DYNDNS will work. When I tried to create my SC configuration to connnect to a hostname intead of an IP address, it wouldn't work. But connecting to an IP address worked fine.
gpk
8
8
Posts: 20
Joined: 2005-07-04 11:27

Post by gpk »

dyndns works fine. I used
-connect xxxxxx.homeip.net:5500 -noregistry
and works really well ... same result as using the WAN IP address.
Last edited by gpk on 2005-11-12 16:14, edited 1 time in total.
mon81
Posts: 1
Joined: 2006-03-02 08:26

Post by mon81 »

can you tell me what did you do in your router?? Did you open 5500 port? Anything else? I've dyndns and doesn't work :(
gpk
8
8
Posts: 20
Joined: 2005-07-04 11:27

Post by gpk »

OK the best approach is to get it to work in the simplest situation and then add additional layers of complexity!

1. Make SC a connection from the PC to itself (option "allow loopback connection") using the loopback address 127.0.0.1

2. Then do it using the PC's own IP address a.b.c.d ... often this will be something like e.g. 192.168.1.3 or 10.0.0.4

3. Then do it from another computer on the local network. You may have to adjust the firewall settings on your main PC. If possible, set the firewall to log incoming connections on port 5500. You may be content to disable the firewall altogether if you are protected by a NAT router.

4. Then set up port forwarding in your router to your main PC. Forward port 5500 / TCP to your PC (I have also forwarded 5800 and 5900 for use with "normal" VNC connections to my PC). You can then test making a connection from a PC on the internet to the WAN IP address of your router. If the WAN IP address changes frequently this may be difficult unless you ask a friend to help. Alternatively use the "Sheilds Up" security website to send you TCP packets on port 5500. Examine your router's log to make sure that the packets are being forwarded properly. You may also be able to check the firewall log on your PC to make sure that they are arriving.

5. Finally use dynamic dns to make sure that the WAN IP address is always associated with a fixed URL. In my experience it always works as long as it is set up properly. You can test it by setting your router to respond to ping on WAN port and asking a friend to ping your dyndns URL. You can also test it by running the ping command from your own PC: when you type "ping my-subdomain.dyndns.org" or whatever you should see your own IP address in the output ... "Pinging my-subdomain.dyndns.org [aa.bb.cc.dd] with 32 bytes of data: ..." - this shows that the URL has been translated into an IP address, which should match the WAN IP on your router. The test packets will never actually leave your network.

good luck
Post Reply