STEP 1 : Execute the script : $ sudo bash "script file" IMPORTANT: You need to open the following ports on your server (Ref: https://docs.autonity.org/node-operators ...
subprocess.run(["iptables", "-A", "INPUT", "-s", ip_address, "-j", "DROP"], check=True) subprocess.run(["iptables", "-A", "OUTPUT", "-d", ip_address, "-j", "DROP ...