THE DEPLOYMENT HANDBOOK / Ubiquiti gateways

UniFi integration guide.

Configure Data-Shield IPv4 blocklists on UniFi. Use the existing Data-Shield workflow for zone-based firewall policies.

IPV4 ONLY
STANDARD + CRITICAL
UNIFI GATEWAYZONE-BASED FIREWALLDYNAMIC IPV4 LIST

Check versions and capacity

This page adapts the existing Data-Shield UniFi guide. Its documented baseline is UniFi OS 6.0.10 or later, Network 11.0.81 or later and zone-based firewall support. Confirm that Dynamic IPv4 Network Lists are available on your gateway and release channel before continuing.

100,000 entries per dynamic list in the documented workflow. Entries above the limit may be truncated. If the full profile exceeds your per-list limit, add every part from the Standard downloads or your Critical manifest as a separate feed. Each part contains up to 30,000 IPv4 addresses. Check that the gateway can hold the combined entries and list objects, including existing rules.

Back up the configuration and retain trusted management access. Review Ubiquiti's zone-based firewall model before selecting source and destination zones.

Add the profile to UniFi

For Standard, use the complete URL below if the profile fits in one list. For split Standard, use the individual part URLs and repeat these steps for each part.

Community Standard

109,473 unique IPv4 addresses in this published snapshot.

Standard / HTTPS feed URL
https://raw.githubusercontent.com/duggytuxy/Data-Shield_IPv4_Blocklist/refs/heads/main/prod_data-shield_ipv4_blocklist.txt

Published 05 Dec 2026, 03:05 UTC. Check live counts and SHA-256.

Connect Critical Pro

Critical Pro / full IPv4 file HTTPS URL
https://feeds.data-shield.eu/feeds/critical/prod_critical_data-shield_ipv4_blocklist.txt

Use Copy above for the full .txt list. If your device limits the number of entries per feed, open Critical Pro downloads and copy the .txt URL for each split. The JSON manifest provides the file inventory and checksums for software that reads manifests.

Use the device credentials shown after purchase or demo activation. The code sent by email activates the demo. Keep the token out of URLs, logs and support tickets.

For a subscription, create one token per firewall or relay in Manage device tokens. Use the same Device ID and token for every split on that firewall. Replacing that token rotates access for this device only.

If your firewall only accepts a URL, set up a private HTTPS relay to download Critical Pro with its own credentials.

  1. On your private relay, set the upstream HTTPS source to the Critical Pro URL above. Select HTTP Basic, use the Device ID as the username and the Device token as the password. Serve the downloaded text over HTTPS only to your appliance. For a gateway with a 100,000-entry limit, publish a separate private HTTPS file for each Critical split if the complete file exceeds that limit.
  2. In Settings → Networks → Network Lists → Create New, name the list Data-Shield-Critical (add the suffix for a split). Choose IPv4 → Dynamic. Paste the internal HTTPS URL from your relay in the list URL field. Repeat for each required split.
  3. Select Update Now. Compare the preview and loaded count for each file with the same generation in the private manifest before adding the list to a policy.

Community Standard setup

  1. Open Settings → Networks → Network Lists → Create New.
  2. Include the profile and, for a part, its suffix in the name, such as Data-Shield-Standard-aa. Choose IPv4 and set the source to Dynamic.
  3. Paste one raw feed URL into each list object.
  4. Choose 24 Hours, the shortest scheduled interval in the repository workflow. It also documents 48 and 72 hours. The source generation interval does not override this gateway setting.
  5. Use Update Now, inspect the preview and loaded count, then select Add. Resolve any limit or fetch warning before attaching the list to a policy.

Menu names can change between Network releases. If these controls are absent, confirm feature availability rather than creating a static list that will not refresh.

Protect the right destination zone

Create a dedicated block policy whose source zone is External. Select IP → List as the source. Include every part of the chosen profile in the policy. If your release allows one list per rule, apply the same zones, action and ordering to a rule for each part. Use IPv4, all protocols, any source port and an always-active schedule. Enable logging during validation.

Traffic to protectDestination and ordering
Gateway servicesExternal → Gateway. Use the relevant gateway destination and place the block before overlapping allow policies.
Published internal servicesExternal → DMZ, Internal or the custom zone that actually contains the server. Put the block before the matching port-forward allow policy.

A Gateway-zone rule does not automatically cover servers behind a port forward. Review Ubiquiti's port forwarding guide and inspect the effective policy order for your destination zone.

Verify the list and traffic logs

  1. Check the last successful retrieval, loaded count and truncation warnings for each Network List. After all lists have refreshed from the same publication, their counts should add up to the complete profile total.
  2. Use Update Now when validating a recent publication or a whitelist correction. Compare with the matching source snapshot.
  3. Inspect the block policy and confirm it refers to the dynamic list, not a separate manually populated object.
  4. Validate a new connection in a controlled environment using an address you own. Check the matching rule and destination zone in Traffic Flows and traffic logs.

This integration is managed through UniFi Network. The Standard copy buttons provide its public URLs; no gateway shell script is needed.

Operate and roll back cleanly

Check the published part list as the profile changes. Attach new suffixes to the policy. When a suffix is retired, verify coverage of the remaining parts and remove the old rule reference and list object. A shared whitelist correction must be published and retrieved before it changes the policy's source set.

To roll back, disable the dedicated Data-Shield block policies and check connectivity. Remove the Network List only after removing all policy references. Keep unrelated firewall rules and network lists in place.

BETTER DATA. TOGETHER.

Need a correction?

Report a documentation issue or request a review of an address. Keep credentials and private configuration out of public issues.

Report an issue ↗Block request ↗Whitelist request ↗