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

Install MySQL on CentOS 5.2

To install MySQL, we do this:yum install mysql mysql-devel mysql-serverThen we create the system startup…

Step by Step Kubernetes Application Hosting: Persistent Storage, Pod Creation, Deployment Plan, Service Clustering, and Ingress Routing

Overview Update: we have a new article which goes directly into a production-style setup of…

HAProxy on CentOS 7

# Install HAProxy 1.8 using SCL repo yum install centos-release-scl yum install rh-haproxy18-haproxy rh-haproxy18-haproxy-syspaths  …