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

    Block Team viewer using pfsense

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 6 Posters 6.0k 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

      all replays are welcome

      1 Reply Last reply Reply Quote 0
      • D
        dreamslacker
        last edited by

        This should fall under Systems Administration rather than Network administration.  The users should not be allowed to install unauthorized software to begin with.

        It also seems like Teamviewer uses a middle-man server to negotiate (and bypass NAT/ firewall settings) so you'll need a form of blocking via the domain name (squidguard and/ or squid or DNS cache poisoning).

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

          IF you want to avoid Team Viewer using by LAN user for bantwith problem.You can block 5938 (TCP) for outgoing traffic.

          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.

          Saygılar..

          1 Reply Last reply Reply Quote 0
          • V
            valshare
            last edited by

            Hi,

            create an alias "TeamViewer" an block all TeamViewer Servers (IPs).

            Regards, Valle

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

              Yes this is more effective solution if you know what Teamviewer servers IPs.

              Saygılar..

              1 Reply Last reply Reply Quote 0
              • C
                cmb
                last edited by

                If you're using the DNS forwarder, you can just create a domain override for teamviewer.com to a non-existent DNS server, and that will effectively block Teamviewer (as long as you block access to any other DNS servers).

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

                  I get this working using static route with a bad gateway

                  LAN 87.230.0.0/16
                  LAN 178.77.0.0/16

                  1 Reply Last reply Reply Quote 0
                  • C
                    cmb
                    last edited by

                    @mikesamo:

                    I get this working using static route with a bad gateway

                    LAN 87.230.0.0/16
                    LAN 178.77.0.0/16

                    Don't do that, just block those networks via a firewall rule.

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