From 44eec91074d5f8b4ae7164411ceb30c8fa21595a Mon Sep 17 00:00:00 2001 From: HemaOnGit Date: Mon, 16 Feb 2026 06:33:17 +0100 Subject: [PATCH] docs: add firewall and ports configuration table Add a reference table for required network ports (P2P vs RPC) to guide operators on secure firewall configuration. --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 1cbaad17d..b9e070da2 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,17 @@ Base is a secure, low-cost, developer-friendly Ethereum L2 built on Optimism's [ # For testnet with a specific client: NETWORK_ENV=.env.sepolia CLIENT=reth docker compose up --build ``` +### Firewall & Ports + +To ensure proper connectivity with the Base network while maintaining security, configure your firewall as follows: + +| Port | Type | Description | Exposure | +|:---|:---|:---|:---| +| **30303** | TCP/UDP | P2P Peering | **Open to Internet** | +| **8545** | TCP | JSON-RPC | Localhost / VPN only | +| **8546** | TCP | WebSocket | Localhost / VPN only | + +> **Security Note:** Never expose RPC ports (8545/8546) to the public internet without proper authentication or a proxy. ### Supported Clients