Skip to content

Universal Path gateway

When you set up a Universal Path gateway — a gateway without a DNSLink record — you are creating an unrestricted gateway that allows users to access any content hosted on the IPFS network.

This differs from a restricted gateway, which restricts the gateway to a particular piece of content (either a specific Content Identifier (CID) or an Interplanetary Name Service (IPNS) hostname).

How is it used with Cloudflare?

You can add a Universal Path gateway just as you would create any gateway.

Likely, you will also want to add items to the gateway blocklist, which allows you to block content access through the Universal Path gateway for one or more:

  • CIDs (QmPZ9gcCEpqKTo6aq61g2nXGUhM4iCL3ewB6LDXZCtioEB)
  • IPFS content (/ipfs/QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG/readme)
  • IPNS content paths (/ipns/example.com)