Hi,
I had my Screenconnect webservice running on port 80 and the relay on port 443
To changed that i made the following construction.
(IP addresses are fictional)
One server with 2 ip address :
support.company.name ip address 123.123.123.1
remote.company.name ip address 123.123.123.2
My site was on support.company.name
changed the ip address of the Screenserver to 123.123.123.2
changed the web.config WebserverListenURI from support.company.name:80 to remote.company.name:443
Changed the web.config RelayListenURI from : relay://+:443/ to relay://+:80/
After that i could reach the Screenconnect webservice on
https://remote.company.name (installed the SSL certificate earlier)
Now offcourse none of the already installed clients could longer login, a new installed agent works fine.
I tried to do a netsh netproxy on the Screenconnect machine but found out Screenconnect kept changing the ports.
So I remove the ip address 123.123.123.1 from the Screenconnect Machine.
On a server next to it i added 123.123.123.1 as a secondary IP address.
Here i ran
netsh interface netproxy add v4tov4 listenport=80 listenaddress=123.123.123.1 connectport=443 connectaddress=123.123.123.2 protocol=tcp
netsh interface netproxy add v4tov4 listenport=443 listenaddress=123.123.123.1 connectport=80 connectaddress=123.123.123.2 protocol=tcp
(be sure to have ip v6 protocol installed for this to work)
Now all machine where polling the old IP address being forward to the new port on the newaddress.
And voila all machines checked back into screenconnect.
I update to the newest screenconnect version, and could see the red version number for all machines not updated yet.
I told all machines to reinstall.
I figured the App.config and Web.config would update on all machines this way, and soon all machine should connect through remote.company.name instead of support.company.name.
I saw all the machines update, but when i turned off the 123.123.123.1 machine to check something all the clients went back offline.
So the web.config is NOT applied to all the agents after a reinstall.
I could verify that because all machine that had a new agent installed after the above job connect correct to the right machine without going through the proxy machine.
What can i do the make all the already installed agents use the correct hostname and port ?
Kind regards,
Erik.