Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Block WeChat and TikTok

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 Posters 1.3k Views 2 Watching
    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.
    • G
      goldkeeper
      last edited by

      Hi,

      How can I block inbound and outbound traffic from WeChat and TikTok? I

      1 Reply Last reply
      Reply Quote 0
      • bmeeksB
        bmeeks
        last edited by bmeeks

        The most effective way is to unplug your Internet connection 😀!

        Ok, just kidding there, but that is really the only way to be 100% guaranteed such services are blocked.

        Blocking those, and other services such as YouTube, Facebook, etc., is very difficult because they do not use a single IP address. They have servers located in data centers all over the world, and the different servers connect to the Internet via different IP networks using CDNs (content delivery networks). It is not as simple as blocking some host that only has a single IP address that it uses.

        For load balancing purposes and other reasons, CDNs typically put very short TTL (time-to-live) values on the DNS entries for such services as WeChat, TikTok, YouTube, etc. Sometimes these are as short as 2 to 5 minutes. So two different clients attempting to resolve one of those domains can actually receive and use two completely different IP addresses.

        Most pfSense users are installing the pfBlockerNG-devel package and configuring it with ASN lists for the services they want to block. There is an entire sub-forum here just for pfBlockerNG. You can get some input from others by posting questions there. Here is a direct link: https://forum.netgate.com/category/62/pfblockerng.

        1 Reply Last reply
        Reply Quote 1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy