From b2e9d8816c6a96fa1313594b4ed59b35090d7ae4 Mon Sep 17 00:00:00 2001 From: Kartik Chopra Date: Wed, 28 Aug 2024 13:59:55 -0400 Subject: [PATCH] feat: revert everthing back but override cidr to be fully unmasked --- .../templates/jobs/mev-commit-geth.nomad.j2 | 1 + .../nomad/playbooks/variables/profiles.yml | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 b/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 index c52b81f2e..ba91f1b67 100644 --- a/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 +++ b/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 @@ -87,6 +87,7 @@ job "{{ job.name }}" { {% if job.env['type'] != 'signer' %} PUBLIC_NODE_IP="{{ job.env['public_ip'] }}" {% endif %} + NET_RESTRICT="0.0.0.0/32" GETH_NODE_TYPE="{{ job.env['type'] }}" GETH_VERBOSITY={{ job.env.get('log-verbosity', '3') }} GETH_LOG_FORMAT="{{ job.env.get('log-format', 'json') }}" diff --git a/infrastructure/nomad/playbooks/variables/profiles.yml b/infrastructure/nomad/playbooks/variables/profiles.yml index d2c1829ba..0e1c8b355 100644 --- a/infrastructure/nomad/playbooks/variables/profiles.yml +++ b/infrastructure/nomad/playbooks/variables/profiles.yml @@ -59,6 +59,7 @@ jobs: env: ip: 0.0.0.0 public_ip: 0.0.0.0 + net_restrict: 0.0.0.0/0 type: bootnode mev_commit_geth_signer_node1: &mev_commit_geth_signer_node1_job name: mev-commit-geth-signer-node1 @@ -75,6 +76,8 @@ jobs: p2p: to: 30311 env: + ip: 0.0.0.0 + net_restrict: 0.0.0.0/0 type: signer mev_commit_geth_signer_node2: &mev_commit_geth_signer_node2_job @@ -92,6 +95,8 @@ jobs: p2p: to: 30312 env: + ip: 0.0.0.0 + net_restrict: 0.0.0.0/0 type: signer mev_commit_geth_signer_node3: &mev_commit_geth_signer_node3_job @@ -109,6 +114,12 @@ jobs: p2p: to: 30313 env: + ip: 0.0.0.0 + net_restrict: 0.0.0.0/0 + type: signer + env: + ip: 0.0.0.0 + net_restrict: 0.0.0.0/0 type: signer mev_commit_geth_member_node: &mev_commit_geth_member_node_job @@ -131,6 +142,7 @@ jobs: env: ip: 0.0.0.0 public_ip: "{{ ansible_facts['default_ipv4']['address'] }}" + net_restrict: 0.0.0.0/0 type: member sync_mode: snap