Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to use proxy service on pfsense to block team viewer

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 4 Posters 4.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      asankaj2006
      last edited by

      Dear All

      I need to restrict team viewer using pfsense.

      can some help me with this.

      Thanks.
      Asanka

      1 Reply Last reply Reply Quote 0
      • H
        hugo
        last edited by

        I believe that TeamViewer is a VNC derivative. Try blocking 5900

        1 Reply Last reply Reply Quote 0
        • M
          Metu69salemi
          last edited by

          @http://www.teamviewer.com/fi/kb/10-Which-ports-does-TeamViewer-use.aspx:

          Which ports does TeamViewer use?

          By default TeamViewer uses only the outgoing port 80 (HTTP) - no firewall configuration is necessary. Alternatively you can open port 5938 (TCP) for outgoing connections.

          Only thing is anymore, that you sniff where teamviewer takes connections with port 80 and block that ip

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            I would have to do a sniff, but from my understanding it runs on 80 and 443 but does not use the http or https protocol - so you should be able to use a layer 7 filter to block that traffic?

            Just did a quick sniff of running it and it only used port 5938 outbound.. Could block that to see how it tries if that port is blocked.

            For dns it used ping3.teamviewer.com and master12.teamviewer.com, I would think simple way to prevent access might to just create dns for the teamviewer.com domain and send bad info ;)

            Ok just blocked 5938 and it went out on 443, this time to master5.teamviewer.com but it was not HTTPS..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.