F
F
frolov4ynga2021-03-06 11:56:56
linux
frolov4ynga, 2021-03-06 11:56:56

How to block TeamViewer on Linux gateway?

Good afternoon!

Please tell me if it is possible to block TeamViewer with regular (open source) Linux tools.
Maybe someone implemented this. Or knows some software that will help.
There is a gateway on CentOS 7, through which some employees go to the Internet and it is necessary to disable software for remote connection.
IpTables was able to block only AmmyAdmin so far, but TeamViewer still works (((

Answer the question

In order to leave comments, you need to log in

7 answer(s)
S
Somewhere Intech, 2021-03-06
@john36allTa

TeamViewer uses the UdpHole scheme or, if it fails to establish a connection in this way, it relays a TCP stream through its server (roughly speaking). In general, it doesn’t matter. anyway the teamviewer server(s) are used and the idea is to find the central node (subnet of nodes) of the teamviewer and block

D
Dmitry, 2021-03-06
@q2digger

It is even easier to register the TeamViewer zone on your DNS and prohibit clients from using other DNS servers

C
Cunning Fox, 2021-03-07
@Cunning_Fox

One trusted way! Disable permanently
sudo apt-get remove teamviewer

A
Artem @Jump, 2021-03-06
Tag

A banal rule in the firewall as a list parameter.
Add all known teamviewer servers to the list.

K
Karpion, 2021-03-06
@Karpion

Well, I would run TeamViewer on the machine and monitor its activity. Then I would ban sites / servers that were accessed from this machine.
It is possible that TeamViewer can dodge - for example, use some kind of proxy.

C
CityCat4, 2021-03-06
@CityCat4

I can share the list of TeamViewer servers. It's true for Mikrotik, you reformat it yourself so that it gets into ipset. There, you first need to ban the port, now I don’t remember which one, if TW sees this port, it works through it, if it doesn’t see it, it starts trying servers from the list.
But I would also connect administrative methods.

K
Konstantin, 2021-03-08
@webmaster

look for all ip addresses to which teamviewer connects (via google, via firewall). Then you do whois these ip addresses. If the ip address belongs to teamviewer, then you can block the whole CIDR, not just one ip.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question