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
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
bind repeater to one ip
bind repeater to one ip
How can I change the source code so that the repeater is bind to one ip number.
Re: bind repeater to one ip
Is there no one who knows how to bind the repeater to one ip number if the server has several addresses.
I have already searched the internet for this but could find any thing about it
I have already searched the internet for this but could find any thing about it
Re: bind repeater to one ip
if you are running WINXP, you should be able to setup the firewall rule with a limited scope ... its NOT binding it to an IP, but it will do what you want it to do ...
What OS are you running (i presume windows ...)
What OS are you running (i presume windows ...)
ask a silly question and remain a fool for 5 minutes...
don't ask, and remain a fool for life - JDaus 2003
without imperfections, neither you nor i would exist - Steven Hawkins
__
JD
SCPrompt - OpenSource Free Remote Screen\Desktop Sharing Solution
SecureTech.com.au
don't ask, and remain a fool for life - JDaus 2003
without imperfections, neither you nor i would exist - Steven Hawkins
__
JD
SCPrompt - OpenSource Free Remote Screen\Desktop Sharing Solution
SecureTech.com.au
Re: bind repeater to one ip
It runs on a Windows 2003 server with 16 IP numbers. And the repeater is listening on all ip numbers. So if one ip number use already port 443 then the repeater won’t run any more.
Re: bind repeater to one ip
ah ... then thats a little different ...
i understand now why you wish to tie it to one IP ...
I have a question (for my own knowledge, not too question you) ... under windows, if a port is in use on a machine (on one or several IPs) can you then use that same port on other IPs ???
i know this can be done in the UNIX / LINUX world, but i thought that windows just reserved the port
i understand now why you wish to tie it to one IP ...
I have a question (for my own knowledge, not too question you) ... under windows, if a port is in use on a machine (on one or several IPs) can you then use that same port on other IPs ???
i know this can be done in the UNIX / LINUX world, but i thought that windows just reserved the port
ask a silly question and remain a fool for 5 minutes...
don't ask, and remain a fool for life - JDaus 2003
without imperfections, neither you nor i would exist - Steven Hawkins
__
JD
SCPrompt - OpenSource Free Remote Screen\Desktop Sharing Solution
SecureTech.com.au
don't ask, and remain a fool for life - JDaus 2003
without imperfections, neither you nor i would exist - Steven Hawkins
__
JD
SCPrompt - OpenSource Free Remote Screen\Desktop Sharing Solution
SecureTech.com.au
- Rudi De Vos
- Admin & Developer
- Posts: 6863
- Joined: 2004-04-23 10:21
- Contact:
Re: bind repeater to one ip
addr.sin_addr.s_addr = htonl(INADDR_ANY);
bind(sock, (struct sockaddr *)&addr, sizeof(addr))
replace INADDR_ANY by the ip of the NIC you want to bind to
This should work if the cards have been setup proper, if ip's on the
cards doesn't overlap.
FAULT SETUP
192.168.1.1 255.255.255.0 -> This card is responsible for direct connections to 192.168.1.X
192.168.1.2 255.255.255.0 ->This card is responsible for direct connections to 192.168.1.X
Both cards serv the same ip range, and bind get confused, possible it will
bind on all cards that can server the ip adress you entered.
bind(sock, (struct sockaddr *)&addr, sizeof(addr))
replace INADDR_ANY by the ip of the NIC you want to bind to
This should work if the cards have been setup proper, if ip's on the
cards doesn't overlap.
FAULT SETUP
192.168.1.1 255.255.255.0 -> This card is responsible for direct connections to 192.168.1.X
192.168.1.2 255.255.255.0 ->This card is responsible for direct connections to 192.168.1.X
Both cards serv the same ip range, and bind get confused, possible it will
bind on all cards that can server the ip adress you entered.
Re: bind repeater to one ip
Yes you can, if you bind the program to one ip then you can use on an other ip (on the same machine) the same port if you then also bind the program on that specific ip.JDaus wrote:ah ... then thats a little different ...
I have a question (for my own knowledge, not too question you) ... under windows, if a port is in use on a machine (on one or several IPs) can you then use that same port on other IPs ???
Thanks, I try this.Rudi De Vos wrote:addr.sin_addr.s_addr = htonl(INADDR_ANY);
bind(sock, (struct sockaddr *)&addr, sizeof(addr))
replace INADDR_ANY by the ip of the NIC you want to bind to
Re: bind repeater to one ip
The binding to the ip number works now. Only I can not connect on SSL anymore. VNC through the normal ports 5500/5901 works perfect. When you see the log it seem everything is alright.
SSL initialized
SSL loading CERTIFICATE.PEM
SSL listener started on port = 443
Anyone any idea?
SSL initialized
SSL loading CERTIFICATE.PEM
SSL listener started on port = 443
Anyone any idea?
Re: bind repeater to one ip
I have already found it. I was forgotten to change strcpy(tcpCi[0].backEndServerIPAddr, "127.0.0.1");
- Rudi De Vos
- Admin & Developer
- Posts: 6863
- Joined: 2004-04-23 10:21
- Contact:
Re: bind repeater to one ip
Great, can you provide the source so we can make it available to other.
This was requested a time ago, by less talented developpers
This was requested a time ago, by less talented developpers
Re: bind repeater to one ip
I have placed the ip number hard into the source code. So I don’t think it is usable for everybody. When you want a different ip number you have to rebuild the source.
Re: bind repeater to one ip
is this feature of setting the ip address or interface available with the ultravnc server yet?
Re: bind repeater to one ip
No idea if that’s also possible whit ultravnc server.
If you want to do what I have done you have to look in the code for addr.sin_addr.s_addr and change INADDR_ANY to your ip number thant you want to use and recompile the code. The program then works only on them machine with that ip number.
If you want to do what I have done you have to look in the code for addr.sin_addr.s_addr and change INADDR_ANY to your ip number thant you want to use and recompile the code. The program then works only on them machine with that ip number.