I hereby claim:
- I am tommyv1987 on github.
- I am tommyvez (https://keybase.io/tommyvez) on keybase.
- I have a public key ASDP3H1LUBJD6gH9BRbpuI8cFzNcfFL10cXFT9Qg8yw1lQo
To claim this, I am signing this object:
| #!/bin/bash | |
| check_dependencies() { | |
| if ! command -v wscat &> /dev/null; then | |
| echo "wscat is not installed. Installing wscat..." | |
| sudo npm install -g wscat | |
| else | |
| echo "wscat is already installed." | |
| fi |
| #!/bin/bash | |
| NODE_TYPE=$1 # this can be nym-api or nym-node | |
| ENV=$2 # upstream change of envs for upgrade info | |
| NODE_ID=$3 # the id set up when configuring your node | |
| NYMVISOR_URL="https://github.com/nymtech/nym/releases/download/nym-binaries-v2024.5-ragusa/nymvisor" # amend this value if you desire | |
| NYMVISOR_BINARY="nymvisor" # binary name for nymvisor | |
| PATH_TO_NODE_BINARY="/root/${NODE_TYPE}" # amend this value for your root path on your binary | |
| if [ -z "$NODE_TYPE" ] || [ -z "$ENV" ] || [ -z "$NODE_ID" ]; then |
| #!/bin/bash | |
| echo "---------------------------------------" | |
| echo | |
| echo "checking IPv4 forwarding status..." | |
| cat /proc/sys/net/ipv4/ip_forward | |
| echo "---------------------------------------" | |
| echo | |
| echo "checking IPv6 forwarding status..." |
| #!/bin/bash | |
| network_device=$(ip route show default | awk '/default/ {print $5}') | |
| tunnel_interface="nymtun0" | |
| wg_tunnel_interface="nymwg" | |
| if ! dpkg -s iptables-persistent >/dev/null 2>&1; then | |
| sudo apt-get update | |
| sudo apt-get install -y iptables-persistent | |
| else |
| #!/bin/bash | |
| # ----------------------------------------- | |
| # this script is designed to monitor the load on your mixnode or gateway | |
| # whilst there's plenty of ways to do this, this is a simple cron service that polls the nym binary every minute to check CPU | |
| # you can amend this script on your own accord to do what you need with the results | |
| # in the interim this will write to a simple log file | |
| # ----------------------------------------- | |
| # add to your crontab -e | |
| # chmod +x node_cpu_usage.sh |
| #!/bin/bash | |
| echo "do you want to sign a message with a mixnode or a gateway? enter 'mixnode' or 'gateway':" | |
| read NODE_TYPE | |
| case $NODE_TYPE in | |
| mixnode) | |
| NODE_TYPE="mixnode" | |
| CONFIG_PATH_NODE="mixnodes" | |
| ;; |
| #!/bin/bash | |
| echo "welcome to the nym-cli installation" | |
| echo | |
| release_url="https://api.github.com/repos/nymtech/nym-vpn-client/releases" | |
| current_file_version=$(curl -s $release_url | jq -r '.[].tag_name' | grep '^nym-vpn-cli-v' | sort -Vr | head -n 1 | awk -F'-v' '{print $NF}') | |
| linux_cli="nym-vpn-cli_${current_file_version}_ubuntu-22.04_amd64.tar.gz" | |
| mac_cli="nym-vpn-cli_${current_file_version}_macos_universal.tar.gz" | |
| download_page="https://github.com/nymtech/nym-vpn-client/releases/tag/nym-vpn-cli-v${current_file_version}" | |
| sandbox_env_url="https://raw.githubusercontent.com/nymtech/nym/develop/envs/sandbox.env" |
| #!/bin/bash | |
| echo "welcome to the NYM client installation" | |
| echo "this will now use the NYX mainnet network" | |
| echo "enjoy" | |
| release_url="https://api.github.com/repos/nymtech/nym-vpn-client/releases" | |
| version=$(curl -s $release_url | jq -r '.[].tag_name' | grep '^nym-vpn-desktop-v' | sort -Vr | head -n 1 | awk -F'-v' '{print $NF}') | |
| mac_file="nym-vpn-desktop_${version}_macos_universal" | |
| linux_file="nym-vpn-desktop_${version}_ubuntu-22.04_x86_64" |
| #!/bin/bash | |
| set -x | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "you need to root :)" | |
| exit 1 | |
| fi | |
| read -rp "enter the service file to stop (e.g., nym-mixnode.service): " SERVICE_NAME |
I hereby claim:
To claim this, I am signing this object: