Back to mods
TCPShield project artwork

Modrinth · Minecraft mod

TCPShield

A simple configurable IP allowlist. Made for servers using TCPShield.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which TCPShield release matches 26.1.2?

Updated 3 months ago
Best match for your filters 2.0.0-neoforge-1.20.5-26.2
Game version 1.20.5, 1.20.6, 1.21
Loader NeoForge

TCPShield 2.0.0-neoforge-1.20.5-26.2 targets 1.20.5, 1.20.6, 1.21 with NeoForge. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is TCPShield required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does TCPShield 2.0.0-neoforge-1.20.5-26.2 need?

2.0.0-neoforge-1.20.5-26.2 on 26.1.2. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add TCPShield without breaking your instance.

Built for TCPShield 2.0.0-neoforge-1.20.5-26.2 on 26.1.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.0.0-neoforge-1.20.5-26.2. It targets 1.20.5, 1.20.6, 1.21 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.0.0-neoforge-1.20.5-26.2. It opens that exact file at the source.

About this project

What does TCPShield add?

TCPShield

A server-side mod that blocks direct connections to Minecraft servers behind TCPShield.

It downloads TCPShield's IP ranges at startup and closes connections from addresses outside the allow-list before the Minecraft handshake.

Configuration

While made to work with TCPShield, you can use this as a general ip allow-list

source.1=https://tcpshield.com/v4/
source.2=https://tcpshield.com/v4-cf/

allow-insecure-http=false
cache-max-age-hours=168
connect-timeout-ms=5000
request-timeout-ms=10000
minimum-ipv4-prefix=8
minimum-ipv6-prefix=16

Add trusted addresses or CIDRs with allow.* entries:

allow.1=127.0.0.1/32
allow.2=10.20.0.0/16
allow.3=2001:db8:1234::/48

Custom source.* URLs may also be used. Each source must return plain text with one numeric IP or CIDR per line. Remove the default sources if you want a manual-only allow-list.

This mod was made primarily for personal use. It is not a replacement for an actual firewall. Netty channels are as early as a mod can realistically block connections, but you know.. you should probably use an actual firewall when possible.

This project is not endorsed by or affiliated with the TCPShield service. The TCPShield logo and trademark used in the project icon and name are the intellectual property of DatPixel Entertainment, Inc.

Project description from Modrinth.

Pick your setup

TCPShield by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

66 available setups

Showing the newest 12 of 23 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

TCPShield versions and loaders

3 of 7 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.