Community discussions

MikroTik App
Toiletbowl
Member Candidate
Member Candidate
Topic Author
Posts: 169
加入: Fri Jun 03, 2011 6:49 am
Location:Boracay Philippines

how to block teamviewer?

Thu Jul 17, 2014 10:47 am

Hi to all

i would like to know if possible to block teamviewer application?

thanks
Top
用户avatar
dynek
Member Candidate
Member Candidate
Posts: 220
加入: Tue Jan 21, 2014 10:03 pm

Re: how to block teamviewer?

Thu Jul 17, 2014 11:30 am

Yes it is.
Top
用户avatar
Caci99
Forum Guru
Forum Guru
Posts: 1073
加入: Wed Feb 21, 2007 2:26 pm
Location:Tirane
Contact:

Re: how to block teamviewer?

Thu Jul 17, 2014 1:17 pm

Hi to all

i would like to know if possible to block teamviewer application?

thanks
I don't think it is possible to do it through firewall filter since teamviewer uses port 80 and 443. So I would go by adding static entries in dns, and redirecting dns requests to the router:
Code:Select all
/ip dns static add name="teamviewer.com" address=127.0.0.1 ttl=1d
Top
用户avatar
Phaere
刚刚加入了
Posts: 23
加入: Thu Jul 17, 2014 3:01 pm
Location:Kyiv

Re: how to block teamviewer?

2014年7月17日,星期四上升2点

Just block 178.77.120.0/24 dst subnet if forward chain for src address, that shouldn't have access.
Top
Thalid
newbie
Posts: 38
加入: Sun Mar 31, 2013 11:33 pm

Re: how to block teamviewer?

Thu Jul 17, 2014 4:28 pm

been googeling this subject myself and the stuff people talks of is useing squid and Ids
Top
RogerWilco
Member
Member
Posts: 432
加入: Wed Feb 16, 2011 6:02 am
Location:Australia

Re: how to block teamviewer?

Fri Jul 18, 2014 2:12 am

Why would you want to block it?
Top
Toiletbowl
Member Candidate
Member Candidate
Topic Author
Posts: 169
加入: Fri Jun 03, 2011 6:49 am
Location:Boracay Philippines

Re: how to block teamviewer?

Fri Jul 18, 2014 4:49 am

Why would you want to block it?
hi roger

due of company policy:)thanks guys your prompt response gonna try this if this TV wont pass through via 443.

thanks
Top
Toiletbowl
Member Candidate
Member Candidate
Topic Author
Posts: 169
加入: Fri Jun 03, 2011 6:49 am
Location:Boracay Philippines

Re: how to block teamviewer?

Fri Jul 18, 2014 5:00 am

Hi to all

i would like to know if possible to block teamviewer application?

thanks
I don't think it is possible to do it through firewall filter since teamviewer uses port 80 and 443. So I would go by adding static entries in dns, and redirecting dns requests to the router:
Code:Select all
/ip dns static add name="teamviewer.com" address=127.0.0.1 ttl=1d
hi caci

the redirecting to router teamviewer.com it works but adding www. it passthrough and it seems working now the teamviewer application doesn"t handshake

102 ;;; teamviewer_deny
chain=forward action=drop src-address=178.77.120.0/24
in-interface=all-etherne



myron
Top
Toiletbowl
Member Candidate
Member Candidate
Topic Author
Posts: 169
加入: Fri Jun 03, 2011 6:49 am
Location:Boracay Philippines

Re: how to block teamviewer?

Fri Jul 18, 2014 5:25 am

Hi to all

i would like to know if possible to block teamviewer application?

thanks
I don't think it is possible to do it through firewall filter since teamviewer uses port 80 and 443. So I would go by adding static entries in dns, and redirecting dns requests to the router:
Code:Select all
/ip dns static add name="teamviewer.com" address=127.0.0.1 ttl=1d
hi caci

the redirecting to router teamviewer.com it works but adding www. it passthrough and it seems working now the teamviewer application doesn"t handshake >>> ;;; teamviewer_deny chain=forward action=drop src-address=178.77.120.0/24 in-interface=all-ethernet

but if i block specific port let say office at port2/ether2 (src-address=178.77.120.0/24 in-interface=office) it doesnt work ehhhh...

myron
Top
RogerWilco
Member
Member
Posts: 432
加入: Wed Feb 16, 2011 6:02 am
Location:Australia

Re: how to block teamviewer?

Fri Jul 18, 2014 6:24 am

Why would you want to block it?
hi roger

due of company policy:)thanks guys your prompt response gonna try this if this TV wont pass through via 443.

thanks
Ahh, right. Thought it was odd why an individual or household would want to.
Top
sias
刚刚加入了
Posts: 6
加入: Wed Sep 15, 2010 2:48 pm

Re: how to block teamviewer?

Wed Mar 20, 2019 4:36 pm

TeamViewer prefers to make outbound TCP and UDP connections over port 5938 – this is the primary port it uses, and TeamViewer performs best using this port.

script for address marking
/ip firewall filter
add chain=forward action=add-dst-to-address-list comment="learn the addresses" protocol=tcp address-list=TeamviewerServers address-list-timeout=none-static dst-port=5938

script for drop trafic for address-list
/ip firewall filter
add action=drop chain=forward comment="Drop all traffic from address on TeamviewerServers" src-address-list=TeamviewerServers
add action=drop chain=forward comment="Drop all traffic from address on TeamviewerServers" dst-address-list=TeamviewerServers
add action=drop chain=input comment="Drop all traffic from address on TeamviewerServers" src-address-list=TeamviewerServers
Top
用户avatar
anav
Forum Guru
Forum Guru
Posts: 17188
加入: Sun Feb 18, 2018 11:28 pm
Location:Nova Scotia, Canada
Contact:

Re: how to block teamviewer?

Wed Mar 20, 2019 7:39 pm

Why would you want to block it?
hi roger

due of company policy:)thanks guys your prompt response gonna try this if this TV wont pass through via 443.

thanks
COMPANY POLICY
Accessing TeamViewer First Time - Warning
Accessing TeamViewer Second Time - Second Warning and Counselling
Accessing TeamViewer Third Time - Third and Final Warning (and Fine)
Accessing TeamViewer Last time - Fired.

Problem solved.

( You cannot stop idiots, you can only get rid of them)
Top
dkorzhevin
刚刚加入了
Posts: 6
加入: Mon Jul 22, 2019 2:05 pm

Re: how to block teamviewer?

Mon Jul 22, 2019 2:11 pm

Hi,

Does this solution still applicable?
Top

Who is online

用户s browsing this forum:Semrush [Bot]and 44 guests