Setting up VNC repeater on Linux
Posted by Warith Al Maawali on May 27, 2014 in Blog, Linux | Comments Off on Setting up VNC repeater on Linux

You may be aware of how team viewer works it can almost work behind any sort of or . The secret behind it is that both client and server do not contact each other directly but via a repeater that is owned by the company and allows the client and server to initiate a reverse connection to the repeater. If you are worried not to have a third party between your sessions I will explain on this blog how to setup your own repeater on Linux as for windows its straight forward. The software which is used to achieve this is UltraVNC which is free and open source the package contains client, server and repeater.
Repeater setup on Debian node:
# Make sure you have a static IP on your node
# Update your node:
apt-get update apt-get upgrade
# Get some packages:
apt-get install nano x-window-system-core x-window-system libxtst6 psmisc build-essential apt-get install libx11-6 libx11-dev
# Download the repeater source into /usr/local/src
cd /usr/local/src wget http://www.wisdomsoftware.gr/download/uvncrep017-ws.tar.gz
# Extract the source file
gunzip uvncrep017-ws.tar.gz tar -xvf uvncrep017-ws.tar
# Install
cd uvncrep017-ws make; make install;
# Add a user for the service you can change this on config file
useradd uvncrep
# Edit configuration to suit your needs for me I only changed ports + allowedmodes = 2
nano /etc/uvnc/uvncrepeater.ini
# Start the service
/etc/init.d/uvncrepeater start # or service uvncrepeater start
# Stop the service
/etc/init.d/uvncrepeater stop
# To moniter the logs:
tail -f /var/log/uvncrepeater.log
# To test your server:
winvnc.exe -id:424 -repeater IP_Number::Repeater_Port -run
# To encrypt the traffic change the following settings on ultravnc.ini and make sure you generate your key rc4.key
UseDSMPlugin=1 DSMPlugin=MSRC4Plugin_for_sc.dsm
# To run it as service change the following settings on ultravnc.ini
service_commandline=-autoreconnect -id:Your_custom-ID_Number -connect IP_Number::Repeater_Port



Latest posts by Warith Al Maawali (see all)
- Apple iOS Mail Client leaking highly sensitive information - December 27, 2019
- Validating VPN nodes - November 3, 2019
- Migrating from php 5.6 to 7.3 - November 1, 2019
- Linux Kodachi 8.27 The Secure OS - October 20, 2013
- Migrating from Vbulletin to Burning board - March 27, 2016
Acting as a barrier between a trusted network and other untrusted networks — such as the Internet — or less-trusted networks — such as a retail merchant’s network outside of a cardholder data environment — a firewall controls access to the resources of a network through a positive control model. This means that the only traffic allowed onto the network defined in the firewall policy is; all other traffic is denied.