[Ethereum] Port requirements for a Full-Node

firewallsnodesport-numbers

Do I need to open BOTH TCP and UDP 30303 on my router? Or only TCP?

EDIT: I am also unclear if the UDP protocol should be opened on Port 30301 instead (as discussed on this page: https://github.com/ethereum/wiki/wiki/enode-url-format).

EDIT: I am really just looking for settings for a default Wallet running to support the network. What protocols and what ports need to be permitted through my firewall to be running a full node fully supporting the Ethereum network?

EDIT: I was able to get a clear answer from the Devs on which ports and protocol should be opened if you want to run a full-node:

"Peer discovery is UDP only. This means that on 30303 you are using both TCP (ETH and LES protocols) and UDP (old peer discovery for finding ETH peers), on 30304 only UDP is used."

What this means is that these ports need to be opened on your firewall:

— Port 30303 (TCP and UDP)

— Port 30304 (UDP)

Best Answer

The Devs provided a definitive answer on which ports and protocols should be opened if you want to run a full-node:

Quoted from discussion, "Peer discovery is UDP only. This means that on 30303 you are using both TCP (ETH and LES protocols) and UDP (old peer discovery for finding ETH peers), on 30304 only UDP is used."

What this means is that these ports need to be opened on your firewall:

-- Port 30303 (TCP and UDP)

-- Port 30304 (UDP)

Related Topic