Posted On April 1, 2019

Install ScreenConnect on CentOS

kimconnect 0 comments
blog.KimConnect.com >> Linux >> Install ScreenConnect on CentOS
If this server is not behind a firewall, then the below instructions would suffice:


1. Install CentOS as a minimal install - base image with two NIC interfaces
2. Configure internal and external network interfaces:
a. Find the interface names: ifconfig
b. Configure WAN interface
vim /etc/sysconfig/network-scripts/ifcfg-{LAN_interface_name}
ONBOOT=yes
IPADDR={WAN_IP}
NETMASK={given_mask}
GATEWAY={gateway-IP}
TYPE=Ethernet
c. Configure LAN interface
------ Static ---------
ONBOOT=yes
IPADDR={LAN_IP}
NETMASK={given_mask}
GATEWAY={gateway-IP}
TYPE=Ethernet
------ or Dynamic -----
ONBOOT=yes
BOOTPROTO=dhcp
d. Configure DNS
vim /etc/resolv.conf
e. Restart network service
sudo /etc/init.d/network restart


Prelim packages:
su -
yum -y install fail2ban htop; yum -y update


workingDirectory=~/scInstall; downloadUrl="http://www.screenconnect.com/Download?Action=DownloadLatest&Platform=Linux&PreRelease=false"; rm -rf $workingDirectory; mkdir $workingDirectory; (cd $workingDirectory; if which wget; then wget -O sc.tar.gz "$downloadUrl"; else curl -L "$downloadUrl" > sc.tar.gz; fi; tar xf sc.tar.gz; $(find . -name install.*);); rm -rf $workingDirectory;
Source:


Change Relay port (Source:
/etc/init.d/screenconnect stop
vim /opt/screenconnect/web.config
search for value "8040"
/8040
change 8040 to 80, 8041 to 443
esc + wq + enter
/etc/init.d/screenconnect restart


Open firewall ports:
firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --zone=public --add-port=443/tcp --permanent
firewall-cmd --reload


Optional and stupid: Disable Firewall
systemctl disable firewalld
systemctl stop firewalld
systemctl status firewalld

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Backup and Restore Prerequisites

1. Remote machine is Centos and Local machine is Windows, install Cygwin (including "Admin," "Base,"…

Yum commands to update server

Wanna ace your Linux job interviews? Well, read more Linuxy stuff and cramp your brain…

Linux: How to Set Startup Script

In previous Linux versions, startup scripts can simply be enabled by linking a script into…