Setting up VNC repeater on Linux

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.

vnc repeater setup

vnc repeater setup


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

# 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


# 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


Download UltraVNC

Digiprove sealCopyright protected by Digiprove © 2014-2022 Eagle Eye Digital Solutions
The following two tabs change content below.
Crypto currency , security , coding addicted I am not an expert or a professional I just love & enjoy what I am addicted on🤠

Latest posts by Warith Al Maawali (see all)

A firewall is a network security system, either hardware- or software-based, that controls incoming and outgoing network traffic based on a set of rules.
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.
Network Address Translation (NAT) is a method of connecting multiple computers to the Internet (or any other IP network) using one IP address. This allows home users and small businesses to connect their network to the Internet cheaply and efficiently.
In computing, Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the Remote Frame Buffer protocol (RFB) to remotely control another computer.

Comments are closed.

Pin It on Pinterest