Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Docs val net reqs (backport #18122) (#18130)
Browse files Browse the repository at this point in the history
* docs: don't suggest cloud instances for validators

(cherry picked from commit cf187dc)

* docs: flesh out validator network requirements

(cherry picked from commit 93dd965)

Co-authored-by: Trent Nelson <trent@solana.com>
  • Loading branch information
mergify[bot] and t-nelson authored Jun 22, 2021
1 parent 6f37648 commit c48ec02
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions docs/src/running-validator/validator-reqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,29 @@ releases at [solanalabs/solana](https://hub.docker.com/r/solanalabs/solana).
- We build and run on Ubuntu 20.04.
- See [Installing Solana](../cli/install-solana-cli-tools.md) for the current Solana software release.

Be sure to ensure that the machine used is not behind a residential NAT to avoid
NAT traversal issues. A cloud-hosted machine works best. **Ensure that IP ports 8000 through 10000 are not blocked for Internet inbound and outbound traffic.**

Prebuilt binaries are available for Linux x86_64 on CPUs supporting AVX2 \(Ubuntu 20.04 recommended\).
MacOS or WSL users may build from source.

## Networking
Internet service should be at least 300Mbit/s symmetric, commercial. 1GBit/s preferred

### Port Forwarding
The following ports need to be open to the internet for both inbound and outbound

It is not recommended to run a validator behind a NAT. Operators who choose to
do so should be comfortable configuring their networking equipment and debugging
any traversal issues on their own.

#### Required
- 8000-10000 TCP/UDP - P2P protocols (gossip, turbine, repair, etc). This can
be limited to any free 11 port range with `--dynamic-port-range`

#### Optional
For security purposes, it is not suggested that the following ports be open to
the internet on staked, mainnet-beta validators.
- 8899 TCP - JSONRPC over HTTP. Change with `--rpc-port RPC_PORT``
- 8900 TCP - JSONRPC over Websockets. Derived. Uses `RPC_PORT + 1`

## GPU Requirements

CUDA is required to make use of the GPU on your system. The provided Solana
Expand Down

0 comments on commit c48ec02

Please sign in to comment.