Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.93 KB

ValidatorToSentry.md

File metadata and controls

51 lines (33 loc) · 1.93 KB

HOW TO CONNECT VALIDATOR NODE TO SENTRY

image

Here I have two instances.

Validator: L.IP: 172.31.12.127 P.IP: 3.8.220.108 Sentry: L.IP: 172.31.5.169 P.IP: 3.9.22.158

Both share the same network interface.

PING: Validator -> Sentry

image

docker exec -it validator netstat -nptw | grep -E '$(hostanme -I | awk "{print $1}")|26656|36656|56656' | grep ESTABLISHED

Validator outgoing traffic. All incoming traffic is blocked.

image

docker exec -it sentry netstat -nptw | grep -E '$(hostanme -I | awk "{print $1}")|26656|36656|56656' | grep ESTABLISHED

Sentry outgoing traffic. All incoming traffic is blocked.

image

First thing we want to turn off pex reactor. To check its status:

docker exec -it validator cat /root/.sekaid/config/config.toml | grep pex

Let's configure

globSet CFG_pex "false" /docker/shared/common/validator/kiraglob
globSet EXTERNAL_ADDRESS "tcp://172.31.12.127:36656" /docker/shared/common/validator/kiraglob
globSet CFG_persistent_peers "tcp://[email protected]:26656" /docker/shared/common/validator/kiraglob
globSet CFG_private_peer_ids "2e87bd3a016f0230d35501b90ebc58ef72544bcb" /docker/shared/common/validator/kiraglob

Restart container. We might want to check if we connected to sentry node

image

The end

image