<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by CEO.THOR #MayaProtocol on Medium]]></title>
        <description><![CDATA[Stories by CEO.THOR #MayaProtocol on Medium]]></description>
        <link>https://medium.com/@molaoshi?source=rss-6fc011df15a8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*PiPLAQuB1kF2zofHoYt4qg.jpeg</url>
            <title>Stories by CEO.THOR #MayaProtocol on Medium</title>
            <link>https://medium.com/@molaoshi?source=rss-6fc011df15a8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 21:01:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@molaoshi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Running a Bare-Metal MAYANode]]></title>
            <link>https://medium.com/@molaoshi/running-a-bare-metal-mayanode-0bbe80b06ac5?source=rss-6fc011df15a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/0bbe80b06ac5</guid>
            <dc:creator><![CDATA[CEO.THOR #MayaProtocol]]></dc:creator>
            <pubDate>Fri, 13 Oct 2023 01:13:56 GMT</pubDate>
            <atom:updated>2023-10-13T01:13:56.064Z</atom:updated>
            <content:encoded><![CDATA[<p>Originally posted on <a href="https://medium.com/@Runetard/bare-metal-mayanode-the-comprehensive-n00b-guide-c0da8af0c941">https://medium.com/@Runetard/bare-metal-mayanode-the-comprehensive-n00b-guide-c0da8af0c941</a></p><p>This instructional guide aims to serve as a ‘paint by numbers’ approach for members of the</p><p><a href="https://medium.com/u/dba334c7ac80?source=post_page-----c0da8af0c941--------------------------------">Maya Protocol</a></p><p>community who are wishing to run a Bare-Metal (BM) MAYANode (node). This guide will include every step from hardware design through to troubleshooting of an active node (and everything in between). <a href="https://docs.mayaprotocol.com/introduction/readme">Maya Protocol Docs</a> does a good job at explaining the basics about running a node and this guide is essentially a carbon copy of my THORNode Bare-metal Guide:</p><h3><a href="https://medium.com/@Runetard/bare-metal-node-n00b-guide-a29c5c067b4a?source=post_page-----c0da8af0c941--------------------------------">Bare-metal Node: n00b Guide</a></h3><h3><a href="https://medium.com/@Runetard/bare-metal-node-n00b-guide-a29c5c067b4a?source=post_page-----c0da8af0c941--------------------------------">The ‘paint by numbers’ guide to creating a bare-metal guide for a THORNode or MAYANode.</a></h3><p><a href="https://medium.com/@Runetard/bare-metal-node-n00b-guide-a29c5c067b4a?source=post_page-----c0da8af0c941--------------------------------">medium.com</a></p><p>This comprehensive guide does not replace the node operator’s onus to have a baseline knowledge in Linux, CLI, Kubernetes, DevOps and other concepts that are required.</p><p>It must be said, running a Maya Protocol MAYANode is no trivial endeavour. The stakes are <strong>VERY</strong> high and there is little to no recourse for catastrophic errors/mistakes/hacks/vulnerabilities. As always, running commands that you found on the internet, provided by an anonymous group called “</p><p><a href="https://medium.com/u/c9e8fe9be209?source=post_page-----c0da8af0c941--------------------------------">Runetard</a></p><p>” is not ideal… you should proceed with skepticism and caution. Fact check, confirm, verify, independently validate and ultimately accept responsibility of your own node. The authors are not liable for mistakes in the guide, or mistakes you make… it is your node and you are 100% responsible for it!</p><h3>Hardware</h3><p>This is a list of the components that we elected to use for our BM node:</p><ul><li><strong>CPU</strong>: AMD Ryzen 9 7950X (16core/32thread)</li><li><strong>CPU Cooler:</strong> Deepcool AG620 Multi Socket CPU Cooler</li><li><strong>Motherboard:</strong> Gigabyte B650 Gaming X AX AM5 ATX</li><li><strong>Memory:</strong> 2 x Corsair 64GB (2x32GB) CMK64GX5M2B5600Z40 Vengeance CL40 x2 (128GB Memory)</li><li><strong>Storage:</strong> 2 x Silicon Power 4TB XS70 PCIe Gen4 M.2 NVMe SSD (8TB NVMe SSD Storage). You can future-proof it with 3 x 4TB but adding more storage later is easy (assuming your Motherboard has slots for it)<br>+<br>1 x Silicon Power 500GB SATA/M.2 SSD (Boot/OS Drive)</li><li><strong>Power Supply: </strong>Corsair RM850e 850W 80+ Gold Fully Modular Power Supply</li><li><strong>Case</strong>: SilverStone Fara R1 V2 Tempered Glass ATX Case — Black<br>140mm Fans x2. Admittedly, the setup is somewhat loud so perhaps a quieter case could be explored. It is fine for the office (not a living space) but noticeable for sure.</li><li><strong>Internet</strong>: 1 GBPS connection (1000MBPS up/ 50MBPS down) with a prosumer ASUS router. More n00b advice, connect it via a LAN cable or you will rob yourself of speed via a WiFi connection.</li><li><strong>UPS:</strong> Unless your router/modem are on the same router it is not so relevant. We went a small 1100VA/660W UPS to protect the hardware against surges and small power outages (&lt;20 mins); more for equipment protection than up-time. Our power grid is ultra-stable, we have solar and can stomach small periods of downtime.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/0*_iShCVLdTFDU9zx2.png" /></figure><p>Bare-metal MAYANode</p><p>The main focus is to get an AMD CPU with enough core/threads to cover the resources you require (see below) and to get the best storage that you can find (definitely M.2 NVMe SSD).</p><p>You can source the parts to build it yourself but your local supplier or computer builder will likely be able to do a better job than you (with none of the frustrations or headaches) for ~$150USD. We just paid the money to have the hardware built for us; highly recommended.</p><h3>Required CPU Resources</h3><blockquote><em>“Can you run 2 MAYANodes on this setup?”</em></blockquote><p>The answer is no. The limiting factor is the CPU resource requirements that are required by the MAYANode and services. Here is the summary (measuring in CPU threads; correct as of 22 August 2023) that can be found in the values.yaml for each service:</p><ul><li>Ethereum Daemon — 2*</li><li>Bitcoin Daemon — 1</li><li>THORNode Daemon — 4</li><li>Bifrost Daemon — 7</li><li>Dash Daemon — 1</li><li>MAYANode Daemon — 4</li></ul><p><strong>TOTAL</strong>: 19 CPU threads<br>* ~ Can be shared across multiple BM nodes.</p><p><a href="https://medium.com/u/5ebd5214a8fa?source=post_page-----c0da8af0c941--------------------------------">D5 Sammy</a></p><p>successfully runs 7 BM nodes (THORNodes and MAYANodes) on his setup but he does have 128 CPU threads. He was clever enough to share the services that are capable of being shared (see the asterisked daemons in the list above). At minimum, each full BM node needs to run 19 threads and each next node needs 17 threads (the un-asterisked daemons above). This means that 2 BM MAYANodes could be run off 36 CPU threads (19 + 17 CPU threads).</p><p>With the knowledge of how to calculate the minimum CPU requirements (and avoiding the temptation to simply lower the resource requirements), you will be able to work out the minimum resources that you need to run multiple nodes.</p><h3>General Advice before software setup</h3><p>Here is an unordered list of advice before starting to setup the software side of your MAYANode:</p><ol><li>Read and re-read all of the guide. Seriously, just print it out, highlight all the sections that are relevant/actionable and write notes for all of the questions that you have. You will resolve each question eventually so you might as well have them written down.</li><li>ChatGPT is amazing to help understand what specific commands are trying to achieve. This is a good starting place if you honestly do not know where to start. Once you grasp the concepts of what is being asked, you can look at other online learning resources to understand it more deeply.</li><li>Join the Maya Protocol Discord and ask advice in the <a href="https://discord.com/channels/915368890475880468/1068969703218888715">#Liquidity-nodes</a> channel. The members in this group are exceptionally generous with their time and knowledge but they will not hold your hand through it all or spoon-feed you basic concepts you can easily learn by reading above in the chat or elsewhere online.</li><li>SSH into your BM node vice using an attached Keyboard and Mouse. It might be obvious to some but it became blatantly obvious to me when I was setting up the WireGuard proxy (lots of copy and paste)!</li><li>Physical security is key. Do not tell anyone IRL about your node and certainly hide behind an anonymous online account. Take all other sensible precautions as if you had a multi-million dollar pile of gold sitting in your living room.</li><li>Make sure that you are comfortable with all of the aspects of running a node <em>before </em>you actually bond to the network. Except for the cost of the hardware (and maybe the opportunity cost of not being churn into the network), you are not losing any money by taking your time. Build the BM node up, add a small amount of $CACAO and run all commands up to sending the full bond (eg: make set-version make set-node-keys etc). After you are comfortable with the building of the BM node, practice maintaining it (make update) and even practice pulling it all back down. You can do this via <a href="https://docs.thorchain.org/thornodes/leaving">Leaving/Destroying</a> or you can just use make recycle (more on this later).</li></ol><h3>Operating System Setup</h3><p><strong>Concept:</strong> You have a brand new BM rig with the base hardware specifications that were suggested above. Now is the stage to install the Linux Ubuntu Server Operating System (OS) which has no graphic interface (it is all CLI). You will setup and configure from the official <a href="https://ubuntu.com/tutorials/install-ubuntu-server#1-overview">Ubuntu Server Guide</a>, then use SSH to remotely access the BM rig and finalise laying the foundation for your BM node.</p><h3>OS Installation:</h3><ol><li><a href="https://ubuntu.com/download/server">Download</a> and install the latest Ubuntu Server LTS (eg: 22.04.02 LTS) on a bootable USB drive (using <a href="https://etcher.balena.io/">etcher</a>).</li><li>Plug-in the bootable USB and restart your BM computer.</li><li>Select ‘Install’, update Installer (if you desire), select Base (Ubuntu Server), choose language, select keyboard layout (google what yours is called).</li><li>Proxy=blank (by default; Enter through it), Mirror=default (Enter through it), Choose the correct drive (500GB OS/boot drive; not 4TB options), deselect LVM (we will do it later), ‘Install Ubuntu’ and accept default networking.</li><li>Select ‘Use an Entire Disk’ for storage and ensure you select the 500GB drive. Accept default partitions and confirm changes (it is a new blank drive so no risk of losing important data).</li><li>Choose preferred naming conventions (plus a long, unique and secure password). This creates a new profile for you (non-root).</li><li>Skip Ubuntu Pro option, Install OpenSSH (so that you enable enable the SSH service) and choose extra packages to install (we did not select any extra beyond the OpenSSH earlier).</li><li>Finalise installation and reboot (it will prompt you to remove the USB drive and reboot again).</li><li>Install and upgrade the latest versions of everything on the new OS:</li></ol><pre>sudo apt update<br>sudo apt upgrade</pre><pre>(&#39;y&#39; to accept the extra storage required)</pre><blockquote><em>Note: If prompted for merging, select the first option, “install the package maintainer’s version”. Accept default restart requests.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6P0UJx-B5sSCRwg3.png" /></figure><p>Ubuntu Server: Profile Setup</p><h3>CPU Optimisation:</h3><p>As you are running a single tenant hardware node, with a known code base, you are able to optimise the CPU for better raw performance.</p><p>Reference: <a href="https://sleeplessbeastie.eu/2020/03/27/how-to-disable-mitigations-for-cpu-vulnerabilities/">https://sleeplessbeastie.eu/2020/03/27/how-to-disable-mitigations-for-cpu-vulnerabilities/</a></p><pre>lscpu<br>sudo nano /etc/default/grub</pre><p>Add mitigations=off to GRUB_CMDLINE_LINUX_DEFAULT</p><pre>GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash mitigations=off”</pre><pre>CTRL+X (to exit), Y (to save the changes), Enter (keep the same name)</pre><p>Reload the file:</p><pre>sudo update-grub</pre><p>Now reboot and confirm mitigations are off before continuing.</p><pre>sudo reboot<br>lscpu</pre><p>Now you can turn your attentions to the ‘swappiness’. It is likely set high (60) but can be reduced with a high RAM server:</p><p>Edit /etc/sysctl.conf as root</p><pre>sudo nano /etc/sysctl.conf</pre><p>Add the following line to the bottom of the file (choose 10 or 20; user preference):</p><pre>vm.swappiness = 20</pre><pre>CTRL+X (to exit), Y (to save the changes), Enter (keep the same name)</pre><p>Reload sysctl.conf:</p><pre>sudo sysctl -p</pre><h3>BIOS Settings</h3><p>Edit the BM server BIOS settings (google how to do it on your specific motherboard) to ensure it reboots after any power loss. This ensures your machine spends minimal time offline after transient power outages (your UPS should help with this too).</p><h3>Remote Access (SSH)</h3><p>Setup remote access (SSH) to your new BM server; you will definitely need this during the WireGuard setup (so that you can copy and paste). SSH is installed as standard as part of the Ubuntu Server package.</p><p>To confirm it is running:</p><pre>sudo systemctl status sshd</pre><p>On your laptop, <a href="https://www.ssh.com/academy/ssh/keygen">generate a new SSH key pair</a> for exclusive use with your BM server; choose ED25519 as it is the newer and superior encryption.</p><pre>[your laptop] <br>ssh-keygen -t ed25519<br>(give it a strong password for another layer of security)</pre><pre>ls ~/.ssh/<br>(you will now see id_ed25519 (Private Key) and id_ed25519.pub (Public key))</pre><h3>Server Setup</h3><p>Initial server setup is pretty standard across all Linux platform, follow this <a href="https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-22-04">DigitalOcean guide</a> as a baseline. It is recommended that the BM server get a reserved IP from the LAN DHCP server (google how to do this on your specific router). Also, you may need to allow Port Forwarding for Port 22 (required for SSH) on your router if you want to use your Public IP address to get SSH access (connecting from outside your network).</p><p>&lt;your IP address&gt; might be your ISP provided IP address or the reserved IP from your local network. If you are only going to connect from your local network you can use your local internal facing IP address (192.168.X.Y), however if you are going to connect externally you need to set this to your ISP provided public IP address (google ‘What is my IP’ if you don’t know it).</p><p>Confirm SSH access to your BM server:</p><pre>[From laptop] <br>ssh &lt;username&gt;@&lt;your IP address&gt;<br>Say &#39;yes&#39; to ECDSA fingerprint.</pre><pre>(it will ask for your username password to access)<br>exit</pre><p>Give &lt;username&gt; your SSH public key:</p><pre>[From laptop]<br>ssh-copy-id -i ~/.ssh/id_ed25519.pub &lt;username&gt;@&lt;your IP address&gt;</pre><pre>(will need the password again to copy it across)</pre><p>Disable Root login and Password logins.</p><pre>sudo nano /etc/ssh/sshd_config<br>PasswordAuthentication no<br>(Change &#39;yes&#39; to &#39;no&#39;; remove the #)<br>PermitRootLogin no <br>(Will need to remove the #)</pre><pre>CTRL+X (to exit), Y (to save), Enter (keep the same name)<br>service sshd restart<br>exit</pre><p>Configure your local machine (laptop) to auto-login using &lt;shortcut alias&gt;(eg replace with mayanode-demo or whatever shortcut alias you want):</p><pre>[your laptop]<br>nano ~/.ssh/config</pre><pre>// Add the following lines to the config file:<br>host &lt;shortcut alias&gt;<br>  user &lt;username&gt;<br>  hostname &lt;your IP address&gt;</pre><pre>[your laptop]<br>ssh &lt;shortcut alias&gt;<br>(You will need your &#39;id_ed25519&#39; password to complete the login)</pre><h3>Storage Configuration (LVM)</h3><p><strong>Concept</strong>: Fundamentally what you are doing is starting at the bottom of the picture below (with your independent hard-drives; 2 x XS70 4TB M.2 NVMe SSDs in our case) and working your way up towards the top of the picture (where you will have a large Volume Group that pools all the storage together).</p><p>Read all instructions available at <a href="https://christitus.com/lvm-guide/">https://christitus.com/lvm-guide/</a> and watch his video (a few times if required). Other useful videos are <a href="https://www.youtube.com/@LearnLinuxTV">Learn Linux TV</a> and <a href="https://www.youtube.com/@ddaltonyvcc">David Dalton</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3NTYB-UC1jtj0WHx.png" /></figure><p>Logical Volume Management (LVM)</p><p>Install lvm:</p><pre>sudo apt install lvm2<br>sudo apt install btrfs-progs</pre><p>Check your current disk space usage:</p><pre>df -h</pre><p>Check partitions and volumes. The physical hard drives (M.2 NVMe SSDs) will be listed something like nvme0n1 and the partition of this physical drive will be something like nvme0n1p1 (if present). Currently only the boot drive is partitioned.</p><pre>sudo lsblk</pre><p>As your new M.2 SSDs are likely not yet partitioned so you will need to make a 100% partition on each before continuing (btrfs). The previously run sudo lsblk will have confirmed whether there is an existing partition available and if not it would at least inform you of the &lt;identifier&gt; for the physical hard drive you are partitioning.</p><pre>sudo fdisk /dev/&lt;identifier&gt;<br>m (to see the full guide)<br>g (new GPT partition table)<br>n (add new partition)<br>Enter, Enter, Enter (all default values)<br>w (write and save)</pre><pre>sudo lsblk<br>(you will now see nmve0n1p1; the new partition)<br>sudo mkfs.btrfs /dev/&lt;identifier of new partition&gt;<br>df -h (to check all physical hard drives have partitions)</pre><p>Repeat the step above for each of your M.2 NVMe SSDs; each needs their own partition.</p><p>Looking back at the LVM graphic (above), you will see we have our actual hard drives, each with a partition, and now we are ensuring that each partition has a Physical Volume. Check for existing Physical Volumes:</p><pre>sudo pvscan</pre><p>Type df -h to note the file system of the second hard drive (if has already been mounted) If your hard drives have not been mounted, use sudo lsblk. It should be something like /dev/nvme0n1p1.</p><blockquote><strong><em>Warning: </em></strong><em>Creating a Physical Volume (PV) will wipe all data on it. Make sure you select the correct partition!</em></blockquote><pre>// Repeat the following step for each partition<br>sudo pvcreate /dev/nvme0n1p1</pre><pre>(&#39;y&#39; to wipe it; nothing is there since it is new)</pre><p>Working up the LVM graphic, we can now add all of the Physical Volumes into a single Volume Group. Check for existing Volumes Groups (VG):</p><pre>sudo vgscan</pre><p>As we are setting up LVM for the first time, we will need to create a new VG. nvmevg0 is the name being create and it is using /dev/nvme0n1p1, /dev/nvme1n1p1 and /dev/nvme2n1p1.</p><pre>sudo vgcreate nvmevg0 /dev/nvme0n1p1 /dev/nvme1n1p1 /dev/nvme2n1p1</pre><p>To make it easier to understand, we will check what we created and how much data it has to allocate:</p><pre>sudo vgdisplay</pre><p>Finally we want to add the VG to a Logical Volume (LV). We can check for any existing LVs but it will likely return as empty (there are no LVs):</p><pre>sudo lvscan</pre><p>Again, since it is a new setup, there is no LV. Time to create a LV:</p><pre>sudo lvcreate -l 100%FREE nvmevg0 -n nvmelv0</pre><p>There is an option to <a href="https://www.linuxsysadmins.com/create-striped-logical-volume-on-linux/">create a striped logical volume</a> with sudo lvcreate -l {value} -i 2 -I 128k nvmevg0 -n nvmelv0 but striping makes storage expansion (adding more M.2 storage) impossible. Only run this command if you have maxed out your storage and do not ever plan to use an expansion card.</p><ul><li>{value}— The value of data that you want to use (100%FREE will use all available space)</li><li>-i 2— Number of stripes (the numbers of disks needed to be used for stripes; ie: 3 x 4TB)</li><li>-I 128k— Size of a single stripe</li></ul><p>Final scan to see the newly created and format LVM setup:</p><pre>sudo lvscan</pre><p>Now that we have an “ACTIVE” LV (/dev/nvmevg0/nvmelv0) to use as a combined storage, we will need to mount it and ensure it remains mounted automatically:</p><pre>// Format the LV into btrfs<br>sudo mkfs.btrfs /dev/nvmevg0/nvmelv0</pre><pre>// Find the UUID (copy the UUID for use shortly)<br>sudo blkid /dev/nvmevg0/nvmelv0</pre><pre>// Create where you want to mount the LV (&lt;name&gt; is up to you eg: /data4)<br>sudo mkdir /&lt;name&gt;</pre><pre>// Open /fstab to add the LV (to remain mounted automatically)<br>sudo nano /etc/fstab</pre><pre>//Add the following line (&lt;value&gt; is the UUID from the blkid command):<br>UUID=&lt;value&gt; btrfs /data4 defaults 0 0</pre><pre>(exit nano; CTRL+X, &#39;y&#39;, enter)</pre><pre>// Mount the LV<br>sudo mount -a</pre><p>Now you can do a final confirmation that the storage is setup correctly:</p><pre>df - h</pre><h3>Kubernetes Setup</h3><p><strong>Concept</strong>: Your BM server has now been configured to a point that it has a solid foundation to run applications and services. The next step is to configure the server so that it is capable of running a MAYANode. To do this, Kubernetes needs to be install, configured and optimised for MAYNode operations. This guide will use k8s (MicroK8s) as the Kubernetes client.</p><h3>Microk8s</h3><p>Install microk8s:</p><pre>sudo snap install microk8s --classic</pre><p>Confirm installation:</p><pre>sudo microk8s status<br>sudo microk8s kubectl get nodes</pre><p>Enable add-ons (dns, hostpath-storage, metrics-server):</p><pre>sudo microk8s enable dns hostpath-storage metrics-server metallb</pre><p><strong>dns</strong> — is required for hostnames between pods, it is important that this is installed before the first namespace/pod is created on the server.<br><strong>hostpath-storage</strong> — is required to put pod storage on host NVMe.<br><strong>metrics-server</strong> — is required to run kubectl top node.<br><strong>metallb</strong> — is required to assign IP to specific nodes.</p><p>metallb will prompt to enter an IP range for MetalLB, enter any place-holder IP to be replaced later (1.2.3.4/32).</p><h3>Kube Environment Configuration</h3><p>This configuration allows the kube client and tools (such as k9s) to interact with our kube node/cluster.</p><pre>mkdir ~/.kube</pre><pre>// Export Kube Config<br>sudo microk8s config &gt; ./.kube/config</pre><pre>// Edit bashrc<br>nano .bashrc</pre><p>Add the following content in .bashrc and save file:</p><pre># Config for K9s<br>export KUBECONFIG=~/.kube/config<br># Use nano instead of vi as default editor<br>export KUBE_EDITOR=&quot;nano&quot;<br># Autocomplete kubectl<br>source &lt;(kubectl completion bash)</pre><pre>// Reload bashrc to apply the changes to the current session<br>source .bashrc</pre><p>Install kubetcl:</p><pre>sudo snap install kubectl --classic</pre><h3>Install k9s Console</h3><p>k9s is a simple and easy to use console to monitor/interact with the pods of our THORNode cluster (sudo snap install k9s does not work).</p><pre>// Go to Home Directory<br>cd</pre><pre>// Download k9s from their GitHub (check for latest version)<br>wget <a href="https://github.com/derailed/k9s/releases/download/v0.27.4/k9s_Linux_amd64.tar.gz">https://github.com/derailed/k9s/releases/download/v0.27.4/k9s_Linux_amd64.tar.gz</a></pre><pre>// Extract the downloaded k9s file<br>tar -xvzf k9s_Linux_amd64.tar.gz</pre><pre>// Move k9s to Binary folder<br>sudo mv k9s /bin</pre><pre>// Clean Up the unneccessary extra files<br>rm LICENSE README.md k9s_Linux_amd64.tar.gz</pre><pre>// Open k9s to explore<br>k9s</pre><pre>// To close k9s<br>Ctrl+C</pre><p>For troubleshooting:</p><pre>// Get Environment Info (Config and Log files location)<br>k9s info</pre><p>Note: “<em>ERR refine failed error=”Invalid kubeconfig context detected</em>” indicates that the KUBECONFIG variable was not found.</p><h3>Setup StorageClass:</h3><p>StorageClass indicate where Microk8s will store pods storage on our BM server; this is our newly created LVM storage.</p><p>This is not required when adding anew kube node to a cluster.</p><p>Prepare StorageClass object for NVMe Raid:</p><pre>cd ~<br>mkdir mk8sconfig<br>nano mk8sconfig/nvme-hostpath-sc.yaml</pre><p>Copy the following content into the nvme-hostpath-sc.yaml:</p><pre># nvme-hostpath-sc.yaml<br>kind: StorageClass<br>apiVersion: storage.k8s.io/v1<br>metadata:<br>  name: nvme-hostpath<br>provisioner: microk8s.io/hostpath<br>reclaimPolicy: Delete<br>parameters:<br>  pvDir: /data4<br>volumeBindingMode: WaitForFirstConsumer</pre><blockquote><em>pvDir: is the place you mounted your LV storage (eg </em><em>/data4)</em></blockquote><p>Create StorageClass:</p><pre>kubectl apply -f mk8sconfig/nvme-hostpath-sc.yaml</pre><pre>// Confirm creation of new StorageClass<br>kubectl get storageclass</pre><p>Set Default StorageClass:</p><pre>// Display StorageClass<br>kubectl get storageclass</pre><pre>// Set Default<br>kubectl patch storageclass microk8s-hostpath -p &#39;{&quot;metadata&quot;: {&quot;annotations&quot;:{&quot;storageclass.kubernetes.io/is-default-class&quot;:&quot;false&quot;}}}&#39;<br>kubectl patch storageclass nvme-hostpath -p &#39;{&quot;metadata&quot;: {&quot;annotations&quot;:{&quot;storageclass.kubernetes.io/is-default-class&quot;:&quot;true&quot;}}}&#39;</pre><pre>// Confirm the new Default<br>kubectl get storageclass</pre><p><strong>Note</strong>: If using a multi-node kube cluster, the same storageClass will be used for each node in the cluster. They will all refer to the same path (ie: /data4) which will be interpreted locally (each to their own /data4 folder) on the server a new pod is created. It is important that each server of the cluster uses the same path for their data folder.</p><h3>WireGuard Proxy</h3><p><strong>Concept</strong>: Holistically what you are trying to achieve is to setup a new Virtual Machine (VM), via a cloud provider (like DO or AWS etc), to act as the proxy for your BM node which will be connected together via a WireGuard (VPN) tunnel. This will use the randomly assigned VM static IP in order to hide your actual IP and hence hide your physical location behind the proxy. Incoming traffic will be routed from the VM proxy to the BM node but the node will use your local internet connection to download/sync the chain-daemons etc; this is why it is important to have 1GPBS internet for the BM server.</p><p><a href="https://medium.com/u/5ebd5214a8fa?source=post_page-----c0da8af0c941--------------------------------">D5 Sammy</a></p><p>’s guide is great if you know what you are doing but we found the linked <a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-wireguard-on-ubuntu-20-04">DO WireGuard guide</a> to be (unsurprisingly) more comprehensive. To remove as much potential for user error, we stuck with the variables provided by the guide (eg: wg0 and 10.8.0.1/24 etc). Once we confirmed the service was working, we changed the variables to something less obvious and more unique to our connection (always keep ’em guessing!).</p><p>As a very general rule, pay very close attention to the <strong>exact IP</strong> being asked of you by the guide (eg: 1.8.0.0 or 1.8.0.1 or 1.8.0.2 etc in the wg0.conf). This might feel obvious but we misplaced a single, final digit (putting .1 instead of .0) and it took a lot of focus and frustration to find and fix it. Further more, the subnet (ie: 1.8.0.1<strong>/24</strong> or 1.8.0.1<strong>/32</strong>) is important, ensure you <a href="https://www.freecodecamp.org/news/subnet-cheat-sheet-24-subnet-mask-30-26-27-29-and-other-ip-address-cidr-network-references/">allocate the correct subnet</a> while setting up WireGuard.</p><p>Don’t run sudo systemctl &lt;command&gt; wg_quick@wg0.service (commands being enable, start, status, restart, reload etc) until the very end of the WireGuard setup. Until you have everything finished and working, just use sudo wg-quick up wg0 (to bring up the service) or sudo wg-quick down wg0 (to bring down the service). This will allow you to keep editing and changing the wg0.conf file (while the network connection is down) without having to reload/restart the service. Once you have a good connection (which you can see by running sudo wg and witnessing the “Latest handshake” and matching the “transfer” between the Proxy and the BM) you can bring the service down, update all of the variables slowly/deliberately and then bring up and test the connection again. If it is working as advertised then you can run the 3 sudo systemctl &lt;command&gt; wg_quick@wg0.service commands and have it automated.</p><h3>VM Proxy Setup</h3><p>Once you have <a href="https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-22-04">created and setup a basic VM</a> (the cheapest is fine; 512MB memory, 10GB SSD storage and 1 vCPU = $4USD/month), update the OS:</p><pre>sudo apt update<br>sudo apt upgrade</pre><blockquote><em>Note: If prompted for merging, select the first option, “install the package maintainer’s version”.</em></blockquote><p>Install Networking and Monitoring Tools:</p><pre>sudo apt install nmap net-tools netcat iperf3 speedtest-cli</pre><ul><li>nmap — Network Mapper</li><li>net-tools — Controlling network subsystem</li><li>netcat —Port Scanning</li><li>iperf3 — Used to test latency between Proxy and BM</li><li>speedtest-cli — Test the Up/Down speed of the Proxy and/or BM</li></ul><p>Install WireGuard:</p><pre>sudo apt install wireguard</pre><p>Restart to reload services and new kernel if required:</p><pre>sudo reboot</pre><p>Generate WireGuard Private and Public KeyPairs:</p><pre>// Generate KeyPair for WireGuard Server (The VM Proxy acting as the WireGuard Server)<br>wg genkey | sudo tee /etc/wireguard/wg0server.key<br>sudo chmod go= /etc/wireguard/wg0server.key<br>sudo cat /etc/wireguard/wg0server.key | wg pubkey | sudo tee /etc/wireguard/wg0server.pub</pre><pre>// Generate KeyPair for THORChain Node (The BM server acting as the WireGuard Client)<br>wg genkey | sudo tee /etc/wireguard/wg0node.key<br>sudo chmod go= /etc/wireguard/wg0node.key<br>sudo cat /etc/wireguard/wg0node.key | wg pubkey | sudo tee /etc/wireguard/wg0node.pub</pre><blockquote><strong><em>Note</em></strong><em>: The VM Proxy that is running WG is </em><em>server and the BM is </em><em>node. The Private Key ends in </em><em>.key and the Public Key ends in </em><em>.pub. You can save these Keys in a secure Note as you go (deleting after it is configured) with appropriate titles/explanations to help later.</em></blockquote><p>Create Config File for Server</p><pre>sudo nano /etc/wireguard/wg0.conf</pre><p>Copy the following contents into wg0.conf:</p><pre>[Interface]<br>Address = 10.8.0.1/24<br>PrivateKey = &lt;wg0server.key&gt;<br>ListenPort = 51820<br>SaveConfig = false</pre><pre>PostUp = ufw route allow in on wg0 out on eth0<br>PostUp = iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE</pre><pre>PreUp = iptables -A FORWARD -i eth0 -o wg0 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT<br>PreUp = iptables -A FORWARD -i wg0 -o eth0 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT<br>PreUp = iptables -A FORWARD -i eth0 -o wg0 -p tcp --syn --match multiport --dports 6040,5040,27146,27147 -m conntrack --ctstate NEW -j ACCEPT<br>PreUp = iptables -t nat -A PREROUTING -i eth0 -p tcp --match multiport --dports 6040,5040,27146,27147 -j DNAT --to-destination 10.8.0.2<br>PreUp = iptables -t nat -A POSTROUTING -o wg0 -p tcp --match multiport --dports 6040,5040,27146,27147 -d 10.8.0.2 -j SNAT --to-source 10.8.0.1</pre><pre>PreDown = ufw route delete allow in on wg0 out on eth0<br>PreDown = iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE</pre><pre>PostDown = iptables -D FORWARD -i eth0 -o wg0 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT<br>PostDown = iptables -D FORWARD -i wg0 -o eth0 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT<br>PostDown = iptables -D FORWARD -i eth0 -o wg0 -p tcp --syn --match multiport --dports 6040,5040,27146,27147 -m conntrack --ctstate NEW -j ACCEPT<br>PostDown = iptables -t nat -D PREROUTING -i eth0 -p tcp --match multiport --dports 6040,5040,27146,27147 -j DNAT --to-destination 10.8.0.2<br>PostDown = iptables -t nat -D POSTROUTING -o wg0 -p tcp --match multiport --dports 6040,5040,27146,27147 -d 10.8.0.2 -j SNAT --to-source 10.8.0.1</pre><pre># Node<br>[Peer]<br>PublicKey = &lt;wg0node.pub&gt;<br>AllowedIPs = 10.8.0.2/32</pre><p>Variables:</p><ul><li>Replace &lt;wg0server.key&gt; and &lt;wg0node.pub&gt; with the long Alpha-Numeric keys provided before.</li><li>IPv4 Range should be randomly selected by yourself. Replace 10.8.0.x with something of your choosing; <a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-wireguard-on-ubuntu-20-04#step-2-a-choosing-an-ipv4-range">refer to DigitalOcean Guide for the available ranges</a>.</li><li>eth0 is the most common Ethernet Interface but yours may be labelled differently.</li></ul><p>Enable IP Forwarding to ensure you BM server can use the VM proxy’s public IP:</p><pre>sudo nano /etc/sysctl.conf</pre><pre>// Unhash the following (to allow IPv4 forwarding)<br>net.ipv4.ip_forward=1</pre><pre>// Apply Changes<br>sudo sysctl -p</pre><p>Bring up WireGuard manually:</p><pre>sudo wg-quick up wg0</pre><blockquote><strong><em>Note</em></strong><em>: If you already have an </em><em>ufw setup on your BM server, you will need to add a rule to allow connections on </em><em>51820. Reminder that you need to Disable and then Enable the Firewall for it to come into effect.</em></blockquote><h3>BM Server Setup</h3><p>Back on the BM Server, configure WireGuard to connect to the VM Proxy that we just created.</p><p>Install WireGuard on the BM server:</p><pre>sudo apt install wireguard</pre><p>Install the WireGuard dependency:</p><pre>sudo apt install openresolv</pre><p>Create the wg0.conf file for the BM server:</p><pre>sudo nano /etc/wireguard/wg0.conf</pre><p>Copy the following contents into wg0.conf:</p><pre>[Interface]<br>Address = 10.8.0.2/24<br>PrivateKey = &lt;wg0node.key&gt;<br>DNS = 9.9.9.9<br>SaveConfig = false</pre><pre>[Peer]<br>PublicKey = &lt;wg0server.pub&gt;<br>EndPoint = &lt;Proxy Server Public IP&gt;:51820<br>AllowedIPs = 10.8.0.0/24<br>PersistentKeepalive = 25</pre><p>Variables:</p><ul><li>Replace &lt;wg0node.key&gt; and &lt;wg0server.pub&gt; with the long Alpha-Numeric keys provided before.</li><li>IPv4 Range must match those originally configured in the VM proxy.</li><li>&lt;Proxy Service Public IP&gt; is the Public IP for the VM proxy. The Proxy Service Public IP is the IP you use to access the VM (eg: ssh root@Public IP).</li></ul><p>Bring up WireGuard manually:</p><pre>sudo wg-quick up wg0</pre><p>Check for a successful connection. You will run this command both on the BM server and the VM proxy. Both should list a ‘Latest Handshake’ and the data transfer should match.</p><pre>sudo wg show</pre><p>From your BM server, conduct a Ping Test to your VM proxy:</p><pre>ping 10.8.0.1</pre><p>Now that you have established a connection, you can bring down the service and slowly change all the variables:</p><pre>sudo wg-quick down wg0</pre><p>After you have changed and tested all of the components that you want, you can bring WireGuard back up and set as an automatic service. Start by running all of these command on the VM proxy and then do the BM server:</p><pre>sudo systemctl enable wg-quick@wg0.service<br>sudo systemctl start wg-quick@wg0.service<br>sudo systemctl status wg-quick@wg0.service</pre><p>On both the VM proxy and the BM server, setup the firewall configuration (these must be done in this order):</p><pre>sudo ufw reset<br>sudo ufw default allow incoming<br>sudo ufw default allow outgoing<br>sudo ufw allow in on eth0 to any port 22<br>sudo ufw allow in on eth0 to any port 5040<br>sudo ufw allow in on eth0 to any port 6040<br>sudo ufw allow in on eth0 to any port 27146<br>sudo ufw allow in on eth0 to any port 27147<br>sudo ufw allow in on eth0 to any port 51820<br>sudo ufw deny in on eth0<br>sudo ufw enable<br>sudo ufw status numbered</pre><p>Try connecting another SSH Session before closing the current one to confirm that you can still access the VM proxy and BM server after the firewall changes.</p><p>From a seperate computer, test that the Ports:</p><pre>nmap -Pn -p 22,80,5040,6040,8080,26656,26657,27146,27147,51820 &lt;ProxyPublicIP&gt;</pre><p>After everything is configured the following ports should be Open: 22, 5040, 6040, 27146, 27147, 51820, everything else would be Filtered. If it does not report like this (the Ports may need an active service to report ‘Open’, you can check the individual Ports:</p><pre>// On BM Server (replacing &lt;Port&gt; with 22, 5040, 6040. 27146, 27147 or 51820)<br>nc -l &lt;Port&gt;</pre><pre>// On the independent computer (&lt;Proxy Public IP&gt; being the forwarded proxy IP)<br>nc &lt;Proxy Public IP&gt; &lt;Port&gt;</pre><h3>Multiple Nodes</h3><p>Each BM node will require its own Static Public IP and hence its own VM proxy. All of the instructions are the same but the connections are managed with wg1.conf and wg2.conf that have their own unique variables (IPv4 range, Private/Public Key pairs and wg1 labelling).</p><p>Repeat the full guide to create a WireGuard Proxy for each Validator Node.</p><blockquote><strong><em>Note</em></strong><em>: If the second WG service was configured in the addresspool before the WireGuard service is brought up (</em><em>sudo wg-quick up wg1) on Microk8s, the platform becomes unstable and every pod will die. They will all recover automatically (in a few minutes) but you should monitor their recovery via k9s and intervene where and when required.</em></blockquote><h3>Configure MetalLb on BM server</h3><p>Configure the WireGuard IP in metallb:</p><pre>kubectl edit ipaddresspool default-addresspool --namespace=metallb-system</pre><p>Add the IP to the IP list:</p><pre>spec:<br>  addresses:<br>  - 10.8.0.2/32</pre><p>Confirm Change</p><pre>kubectl describe ipaddresspool default-addresspool --namespace=metallb-system</pre><p>Multiple IPs can be added to the IP list; repeat for each VPN Tunnel.</p><h3>Create and configure a MAYANode</h3><p><strong>Concept</strong>: All the previous steps were required to get to the current step of being able to clone the <a href="https://gitlab.com/mayachain/devops/node-launcher">Maya Protocol Gitlab Repository</a> and start to create your MAYANode. <a href="https://docs.mayaprotocol.com/dev-docs/mayanodes/overview">https://docs.mayaprotocol.com/dev-docs/mayanodes/overview</a> still remains the reference document for this and all commands from here will be followed (with some small adjustments like not using make set-ip-address).</p><h3>Install the MAYANode</h3><p>For this setup we will create a distinct git working directory for each validator node ( n1=Node 1). Each validator will need it’s own directory (n2, n3 etc).</p><p>Prepare git folder:</p><pre>cd ~<br>git clone https://gitlab.com/mayachain/devops/node-launcher<br>cd node-launcher<br>git checkout master<br>git config pull.rebase true<br>git config rebase.autoStash true</pre><blockquote><strong><em>Note: </em></strong><em>The </em><em>git config stuff at the bottom is required for BM operations as you do not want your mandatory changes to be reversed with every upgrade.</em></blockquote><p>Install tools:</p><pre>make helm<br>make helm-plugins<br>make tools</pre><p>Verify all pods are healthy:</p><pre>k9s</pre><pre>// If you are not running k9s, this will also work:<br>kubectl get pods -A</pre><h3>Set loadBalancerIP parameter for Gateway</h3><p>These steps will force MetalLB to assign a specific IP to this validator. This is required for the node to receive from the proxy public IP (from the WireGuard setup).</p><pre>nano gateway/templates/service.yaml</pre><p>Add the following values in the section metadata (under annotations):</p><pre>metadata:<br>  annotations:<br>    #MetalLb - WireGuard Setup<br>    metallb.universe.tf/loadBalancerIPs: 10.8.0.2</pre><h3>Set External Environment IP for bifrost</h3><p>This will allow bifrost to broadcast the proxy public IP as the IP to be reached from the other Validators.</p><pre>nano bifrost/templates/deployment.yaml</pre><p>Hardcode the EXTERNAL_IP value in the section env section with the Public Proxy IP (&lt;Proxy Public IP&gt;) that was enabled with the WireGuard setup (# out the rest):</p><pre>env:<br>  - name: EXTERNAL_IP<br>    value: &quot;&lt;Proxy Public IP&gt;&quot;<br>  #  valueFrom:<br>  #    configMapKeyRef:<br>  #      name: {{ include &quot;bifrost.fullname&quot; . }}-external-ip<br>  #      key: externalIP</pre><h3>Set External Environment IP for THORNode</h3><p>This will allow mayanode to broadcast the proxy public IP as the IP to be reached from other Validators.</p><pre>nano mayanode/templates/deployment.yaml</pre><p>Hardcode the EXTERNAL_IP value in the section env section with the Public Proxy IP (&lt;Proxy Public IP&gt;) that was enabled with the WireGuard setup (# out the rest):</p><pre>env:<br>  - name: EXTERNAL_IP<br>    value: &quot;&lt;Proxy Public IP&gt;&quot;<br>  #  valueFrom:<br>  #    configMapKeyRef:<br>  #      name: {{ include &quot;thornode.fullname&quot; . }}-external-ip<br>  #      key: externalIP</pre><p>Run Make Install to create your MAYANode</p><pre>NAME=mayanode TYPE=validator NET=mainnet make install</pre><p>Confirm Pods are starting correctly</p><pre>k9s</pre><pre>// If you are not running k9s, this will also work:<br>kubectl get pods -A</pre><h3>Sync ETH Beacon Chain from Snapshot</h3><p>The Ethereum blockchain is by far the slowest to spin up; taking 1–2 weeks.</p><p><a href="https://medium.com/u/5ebd5214a8fa?source=post_page-----c0da8af0c941--------------------------------">D5 Sammy</a></p><p>has a spare ETH daemon running for redundancy but we elected to conserve the CPU thread resources and use the <a href="https://gitlab.com/thorchain/devops/node-launcher/-/merge_requests/817/diffs?commit_id=6d695128eef76ca72b4531992f4b08361b3465d4#e271ffbc912e77631009f28693f7fa22410a561c">ETH Beacon Chain from snapshot</a>:</p><p>When setting up fresh, after make install ETH beacon will start to sync. Find a trusted <a href="https://eth-clients.github.io/checkpoint-sync-endpoints/">Ethereum Beacon Chain checkpoint sync endpoint</a>. Ensure you select from “Mainnet” (eg: we chose <a href="https://mainnet-checkpoint-sync.attestant.io/).">https://mainnet-checkpoint-sync.attestant.io/).</a></p><pre>cd node-launcher/ethereum-daemon<br>sudo nano ethereum-daemon/values.yaml</pre><p>Insert your chosen ETH Beacon Chain checkpoint into beaconCheckpointSyncUrl:</p><pre>beaconCheckpointSyncUrl: &quot;https://mainnet-checkpoint-sync.attestant.io/&quot;</pre><pre>CTRL+X (to exit), Y (to save), Enter (keep the same name)</pre><p>Push the changes to the active ETH daemon:</p><pre>cd ~/node-launcher<br>NAME=mayanode TYPE=daemons NET=mainnet make install</pre><p>Verify that the ETH Beacon chain is syncing from the snapshot:</p><pre>make logs --&gt; ETH Daemon --&gt; Beacon Chain</pre><p>Once it is fully sync’d you want to confirm that the Slot and State Root are correct. Compare the figures against an Ethereum Explorer of your choosing.</p><pre>make verify-ethereum</pre><h3>Sync thornode from Snapshot</h3><p>The THORChain blockchain can take a fair amount of time to download. To save time, you can sync thornode from a nine-realms snapshot.</p><pre>NAME=mayanode TYPE=validator NET=mainnet make recover-ninerealms</pre><pre>// Select the Pruned</pre><pre>// Select the latest (Highest) Block available, there are multiple snapshots</pre><h3>Confirmation</h3><p>Before you proceed, you must ensure that all of the chains are completely up-to-date and 100% sync’d.</p><pre>NAME=mayanode TYPE=validator NET=mainnet make status</pre><p>It is also a good habit to check the latest block for each chain against the published latest block on an independent blockchain explorer.</p><h3>Configure MAYANode</h3><p><strong>Concept</strong>: <a href="https://docs.mayaprotocol.com/dev-docs/mayanodes/joining">docs.mayaprotocol.org</a> details the full steps and can be followed exactly as described with the exception of the make set-ip-address command.</p><p>Confirm all chains are up-to-date:</p><pre>NAME=mayanode TYPE=validator NET=mainnet make status</pre><blockquote><em>N</em><strong><em>ote</em></strong><em>: This will also display your MAYANode address.</em></blockquote><p>Use <a href="https://www.eldorado.market/">Eldorado Wallet</a> (or similar wallet with Custom Memo) to send in some $CACAO to your MAYANode for gas fees. The initial steps require $CACAO to pay the gas fees but the actual bond for MAYANodes come from the LP units.</p><p>Using Eldorado (or only wallet with Custom Memo option), bond in a small initial LP unit to whitelist your node. Make sure that you send it from the correct controlling wallet as this will become the admin wallet that is permanently attached to this MAYANode. Ensure you are using bond and not send.</p><blockquote><strong><em>Note:</em></strong><em> You will need to import your wallet to Eldorado (which many have done without issue). Some NOs are waiting for </em><a href="https://github.com/thorchain/asgardex-electron/releases/"><em>Asgardex Wallet</em></a><em> integration so that they do not exposure their seed phrase at all.</em></blockquote><p>Custom Memo (replacing &lt;Node Address&gt; with your MAYANode address):<br>BOND:THOR.RUNE:1:&lt;Node Address&gt;</p><p>Publicly publish your node keys:</p><pre>make set-node-keys</pre><p>Publicly publish your node version:</p><pre>make set-version</pre><p>This is the step that is different from the guide and is required when using a proxy IP (WireGuard setup). Replace &lt;name&gt; with the namespace you chose (eg: n1) and &lt;Proxy Public IP&gt; with the Public IP from the WireGuard Proxy:</p><pre>kubectl exec -it -n &lt;name&gt; deploy/thornode -- /kube-scripts/set-ip-address.sh &quot;&lt;Public Proxy IP&gt;&quot;</pre><p>Check that you are now “ready” and will be available to churn in on the next churn (assuming enough bond to win that churn’s bond war):</p><pre>NAME=mayanode TYPE=validator NET=mainnet make status</pre><p>Bond in your full bond amount (to that same MAYANode address) and wait to be churned in when you are competitive.</p><p>Custom Memo:</p><p>BOND:&lt;Asset Pool&gt;:&lt;LP Unit Amount&gt;:&lt;Node Address&gt;</p><blockquote><em>eg: </em><em>BOND:BTC.BTC:500000000000000:maya10sy79jhw9hw9sqwdgu0k4mw4qawzl7czewzs47</em></blockquote><h3>Troubleshooting</h3><p>There are far too many issues that can occur in the process of setting up your BM node. Each of the previous guides (linked at the start) provide a good list (and explanation) of some common issues and ways to fix or troubleshoot them.</p><p>Read through the previous guides, especially</p><p><a href="https://medium.com/u/5ebd5214a8fa?source=post_page-----c0da8af0c941--------------------------------">D5 Sammy</a></p><p>, for common advice and if still stuck then ask <a href="https://discord.com/channels/915368890475880468/1068969703218888715">#Liquidity-nodes</a> Discord Channel and we will attempt to update this guide with the most common issues. It is a good practice to search for keywords on the issue prior to asking as it might already by answered. Please DM or @ tag me on these so that I can add common issues to the guide.</p><h3>Personalisation (Optional)</h3><p><strong>Concept</strong>: All previous steps were mandatory for your BM node setup (except those specifically labelled as “Optional”) but the following steps are for personalisation. Of note,</p><p><a href="https://medium.com/u/87573bf5ec45?source=post_page-----c0da8af0c941--------------------------------">Scorch</a></p><p>and</p><p><a href="https://medium.com/u/d1599b6c56cc?source=post_page-----c0da8af0c941--------------------------------">Hildisvíni Óttar</a></p><p>used oh-my-zsh (.zsh) but</p><p><a href="https://medium.com/u/5ebd5214a8fa?source=post_page-----c0da8af0c941--------------------------------">D5 Sammy</a></p><p>used .bash; it is a personal preference (we chose .bash).</p><p>Edit .bashrc:</p><pre>nano ~/.bashrc</pre><pre>// Add the following at the bottom (under your previous additions):<br>alias ms=&#39;NET=mainnet NAME=mayanode TYPE=validator make status&#39;<br>alias n=&#39;cd ~/node-launcher&#39;</pre><pre>//Reload .bashrc<br>source ~/.bashrc</pre><h3>Backing up MAYANode</h3><p><strong>Concept:</strong> Backing up and securing of your BM node is largely dictated by the risk tolerance of the node operator. In saying this, the following are the <em>minimum</em> backup and security measures that must be followed by all BM node operators.</p><p>The first step to backing up your node is to physically secure the Mnemonic and Password. We prefer to save them in an ultra-secure storage facilities that is not easily accessible and at a different location to the BM node.</p><pre>// Physically save your Mnemonic and secure it like you have your wallet seed-phrase<br>NAME=mayanode TYPE=validator NET=mainnet make mnemonic</pre><pre>// Physically save your Password and secure safely (similar to the mnemonic)<br>NAME=mayanode TYPE=validator NET=mainnet make password</pre><p>Your mayanode and bifrost backups will need to be secured digitally:</p><pre>mkdir ~/BackupN1</pre><pre>// Generate a mayanode Backup (This is a backup of mayanode, it only needs to be done once)<br>NAME=mayanode TYPE=validator NET=mainnet SERVICE=mayanode make backup</pre><pre>// The backup function will display the path to the backup folder<br>cp ./backups/mayanode/2023-XX-XX/mayanode-16XXXXXXXX.tar.gz ~/BackupN1/</pre><pre>// Generate a bifrost Backup (This is a backup of the current bifrost, if migrating it must be since the last churn)<br>NAME=mayanode TYPE=validator NET=mainnet SERVICE=bifrost make backup</pre><pre>// The backup function will display the path to the backup folder<br>cp ./backups/bifrost/2023-XX-XX/bifrost-16XXXXXXXX.tar.gz ~/BackupN1/</pre><pre>// Save ~/BackupN1 offline; can send to laptop first to the store remotely.<br>[Your Laptop] scp -r &lt;user&gt;@&lt;host of source node&gt;:~/BackupN1 ~</pre><p>The combination of ~/BackupN1/ and the securely stored Mnemonic+Password is all we need to restore our Validator from scratch (if necessary).</p><blockquote><strong><em>Reminder:</em></strong><em> You are MUCH more likely to have your BM node (or wallet really) compromised by someone getting access to your backups or recover phrases (mnemonics) than some super hacker getting into your system. There is lots on the line so invest an appropriate amount into personal security and adequate remote secure storage!</em></blockquote><h3>MAYANode Maintenance</h3><p><strong>Concept:</strong> Getting your BM node up and running is only the beginning, there is still <em>heaps</em> of (near daily) work required to keep your BM node running correctly. This section will detail how to maintain, update, provide governance to the MP and other generic node operators actions that will be expected of you.</p><h3>Useful MAYAode commands</h3><pre>// To see the full list of `make` commands<br>make help</pre><pre>// To debug or check on specific chain daemons<br>make logs</pre><pre>// If you want to keep all chain daemons and services but have a new mayanode<br>make recycle</pre><pre>// When a daemon/pod/service is struggling or stuck<br>make restart<br>(This just kills and restarts the pod; safe to use)</pre><pre>// When a daemon/service is corrupted or needs a fresh start<br>make reset<br>(This command is destructive and will wipe all data and start fresh; use cautiously)</pre><pre>// To provide governance on the Maya Protocol network<br>make mimir<br>(You will be voting on something and need the mimir Key and Value)</pre><pre>// To anonymously ask questions in #mainnet or #devops<br>make relay</pre><pre>// To pause the global Maya Protocol network for 1hr (suspected nefarious behaviour)<br>make pause</pre><pre>// To resume the global Maya Protocol network after a &#39;make pause&#39; (all clear)<br>make resume</pre><h3>Updating Validators</h3><p>If you are only running a single BM node then this step will cover everything required.</p><pre>cd ~/node-launcher<br>git checkout master<br>git pull --rebase --autostash<br>NAME=mayanode TYPE=validator NET=mainnet make update</pre><h3>Rebooting the BM Server</h3><p>Scaling down Pods prior to rebooting server can help prevent chain corruptions.</p><pre>// Scale down all Pods<br>kubectl -n mayanode scale deployments --replicas=0 --all</pre><pre>// Wait for all pods to terminate completely<br>k9s</pre><pre>sudo shutdown -h now</pre><p>After you boot-up the BM server, the Pods will need to be scaled back up.</p><pre>// Scale up all Pods<br>kubectl -n mayanode scale deployments --replicas=1 --all</pre><pre>// Monitor to see they all come back online correctly<br>k9s</pre><pre>// Complete a final check of the node<br>n (this is if you added the alias; else, cd ~/node-launcher)<br>ms (this is if you added the alias; else, make status)</pre><h3>Monitoring</h3><p>The best way to monitor your BM node is via SSH and make status but you can also keep an eye on it while out and about at <a href="https://www.mayascan.org/network">https://www.mayascan.org/network</a>.</p><h3>Conclusion</h3><p>This guide was our best attempt to provide a comprehensive ‘paint-by-numbers’ n00b guide for making a MAYANode BM node. Yes, the required base knowledge is high. Yes, it is a lot harder than centralised cloud provider or participating in a pooled-node. But, no, it is not an insurmountable endeavour. The monthly $$$ savings along are reason enough to go BM but the added decentralisation to Maya Protocol and control over your MAYANode are added benefits too!</p><p>Our BM nodes would not have been possible if it were not for the insanely generous community members like</p><p><a href="https://medium.com/u/5ebd5214a8fa?source=post_page-----c0da8af0c941--------------------------------">D5 Sammy</a></p><p>,</p><p><a href="https://medium.com/u/87573bf5ec45?source=post_page-----c0da8af0c941--------------------------------">Scorch</a></p><p>and</p><p><a href="https://medium.com/u/d1599b6c56cc?source=post_page-----c0da8af0c941--------------------------------">Hildisvíni Óttar</a></p><p>(plus all those on the <a href="https://discord.com/channels/915368890475880468/1068969703218888715">#Liquidity-nodes</a> Discord Channel). Everyone has been extremely helpful and any thanks should be directed towards them. We are just trying to do our best to pay it forward.</p><p>Any further questions or queries should be fielded in Discord and this guide will be updated. Good luck!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0bbe80b06ac5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Protecting Asgardex from IP leaks. AKA trade crypto anonymously and permissionlessly]]></title>
            <link>https://medium.com/@molaoshi/protecting-asgardex-from-ip-leaks-aka-trade-crypto-anonymously-and-permissionlessly-bbc4f209bdb4?source=rss-6fc011df15a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/bbc4f209bdb4</guid>
            <category><![CDATA[cross-chain-dex]]></category>
            <dc:creator><![CDATA[CEO.THOR #MayaProtocol]]></dc:creator>
            <pubDate>Fri, 13 Oct 2023 01:09:13 GMT</pubDate>
            <atom:updated>2023-10-13T01:09:54.047Z</atom:updated>
            <content:encoded><![CDATA[<p>Originally published on <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#protecting-asgardex-from-ip-leakage">https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#protecting-asgardex-from-ip-leakage</a></p><p>Certain protocols, such as <a href="https://www.getmonero.org/resources/about/">Monero</a>, <a href="https://docs.zano.org/docs/getting-started">Zano</a> and <a href="https://grin.mw/">Grin</a> and <a href="https://documentation.beam.mw/#private-transactions">Beam</a> offer “privacy by default” — whether using the Graphic User Interface (GUI) of the plebs or the Command Line Interface (CLI) of the Patricians. That privacy, however, is often related solely to your transactions: with such “privacy coins,” no one can view the contents of your wallet, even if they happen to know your wallet’s address. <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fn-1-c774eb4dea67516a89c07a90d37c60ab">1</a></p><p>With public ledger coins such as Bitcoin, on the other hand, one must take additional measures beyond the protocol to preserve similar transactional privacy. It is here where coinjoin projects like Samourai’s <a href="https://samouraiwallet.com/whirlpool">Whirlpool</a> are important.</p><p>Few people, however, consider another aspect of privacy: IP privacy. Of the protocols mentioned above, some have gone beyond transactional privacy to also take into account IP privacy, while others haven’t. Monero, Zano, and some Bitcoin wallets such as <a href="https://sparrowwallet.com/docs/mixing-whirlpool.html">Sparrow</a> (which uses Whirlpool), include features to prevent IP leakage, while other wallets, such as Beam’s and Thorchain’s <a href="https://github.com/thorchain/asgardex-electron#readme">Asgardex</a> do not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/0*2tUU0m08QmGyljmD" /></figure><h3><a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#the-ip-problem">The IP Problem</a></h3><p>So, as we’ve just mentioned, transactions aren’t the only thing that ought be anonymized. Just recently, in fact, users of Metamask learned this the hard way. <a href="https://cryptoslate.com/infura-co-founder-metamask-ip-collection-backlash-is-blown-out-of-proportion/">Infura revealed</a> that it was collecting users’ IP addresses! So even if you were diligent enough to acquire non-KYC <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fn-2-c774eb4dea67516a89c07a90d37c60ab">2</a> Ethereum — thus <em>thinking</em> you had successfully preserved your pseudonymity (while surely paying a premium for your ETH) — Infura seems to have sold you out. Although they may not have your name, phone number or street address, as far as the Three Letter Agencies are concerned, they have your identity no less. Ask yourself what Infura will say when Caligula comes looking for your data? Sadly, we all know the answer.</p><p>Sure, in many cases one can just avoid connecting a wallet via third parties. Web wallets and remote nodes are notoriously <em>not</em> best practice for a reason. However, even using a desktop wallet connected through one’s own integrated node is insufficient in certain cases. Wallets often have internal applications — applications we often need! — that <em>require</em> connecting to third parties. As an example, Beam’s <a href="https://beamx.gitbook.io/atomic-swaps-desktop-guide/configuring-atomic-swaps-in-desktop-wallet">Atomic Swaps</a> with Ethereum require using our fair-weather friends at Infura via Metamask! And although there is no reason to think that Beam has access to, and is storing, IP addresses, we had no reason to think this about Infura either. Though we may implicitly trust Asgardex more than Beam, we should remember that there ought be no trust in this realm, or at least as little as technologically possible.</p><p>Must we concede, throwing up our hands? Should we just admit that verified privacy is too hard a goal for which to even aim any more, contrary to the core crypto-ethos? Is it time to just embrace Clown World?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*Tip4vE_822Q10lpe" /></figure><p>No, we must throw down the fuckin’ gauntlet, reminding ourselves of Fox Mulder: Trust No One!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/0*5Yv-gz57t2SlN7lx" /></figure><p>So do VPN providers keep logs of IP addresses? Many, such as Nord, have stated emphatically that they do not; and they have even had third-parties verify their claims. But once again, what will <em>Perfect Privacy VPN Company</em> say when Caligula comes knocking with his court order for them to <em>begin</em> to track and log IPs? We know their answer:</p><blockquote><em>However, if a court order were issued according to laws and regulations, if it were legally binding under the jurisdiction that we operate in, and if the court were to reject our appeal, then there would be no other option but to comply [sc. and track IPs]. The same applies to all existing VPN companies if they operate legally. In fact, the same applies to all companies in the world. (</em><a href="https://nordvpn.com/blog/how-nordvpn-protects-the-privacy-of-its-customers/"><em>NordVPN Blog, their emphasis</em></a><em>)</em></blockquote><p>Thankfully, there’s a service anyone with a Linux OS can run in order to anonymize himself: <a href="https://linuxhint.com/proxychains-tutorial/">proxychains</a> — and I truly mean <em>anyone</em>. Setting up and running this service takes little more than 15 minutes, and no more skill than opening the terminal! When I discovered how easy this was to use, I honestly couldn’t understand why more people weren’t talking about it. It provides a major, much-needed privacy protection.</p><h3><a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#the-ip-solution">The IP Solution</a></h3><p>So first, what is proxychains? Most generally, one can think of it as putting numerous links between you and your final online destination. If a VPN adds a single intermediary, proxychains adds numerous.</p><p>Imagine something like this, where X, Y and Z are proxies: <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fn-3-c774eb4dea67516a89c07a90d37c60ab">3</a></p><p>YOU→X→Y→Z →DESTINATION→Z→Y→X →YOU</p><p>But these intermediaries merely make following the clear, causal steps in the chain more time-consuming! After all, the links are all still very much there and visible for anyone with the time and energy — and Caesar has <em>lots</em> of both.</p><p>So although we have surely added privacy, insofar as difficulty increases privacy, we have not fundamentally secured it. Further, the added difficulty of tracking you down has perhaps done little more than piss someone off…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/0*XIEtZ5efBBXFITn7" /></figure><p>This is where Tor Service comes in. <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fn-4-c774eb4dea67516a89c07a90d37c60ab">4</a> Tor obfuscates these otherwise visible (and thus causally traceable) links. Our above example would now look more like this:</p><p>YOU→X→?1→?2→DESTINATION →?3→?4→Q→YOU</p><p>Thus with proxychains (as intermediaries) and Tor Service (as an anonymizer), we can achieve a strong degree of true IP anonymity. <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fn-5-c774eb4dea67516a89c07a90d37c60ab">5</a> We can launch our wallet without worrying (too much) about IP leaks to third parties. We can Trust No One!</p><h3><a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#set-up">Set-Up</a></h3><p>So unless you’re running certain privacy-hardened Linux distros like (bad-ass) Kali Linux, which comes with proxychains preinstalled, we must download it.</p><p>Step 1:<a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fn-6-c774eb4dea67516a89c07a90d37c60ab">6</a></p><pre>sudo apt install proxychains tor -y</pre><p>Next, we need to modify the configuration file. So select the text editor of your choice (I’ll be using Nano).</p><p>Step 2: <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fn-7-c774eb4dea67516a89c07a90d37c60ab">7</a></p><pre>sudo nano /etc/proxychains.conf</pre><p>OK, plebs like myself who are reading this are probably freaking out looking through this configuration file. Fear not! There are only a few important choices, and then possible changes, that we’ll need to make.</p><p>First, observe that we have three main options as to how the proxychain is treated: dynamic, strict and random. It’s easiest to explain these starting with “strict.”<a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fn-8-c774eb4dea67516a89c07a90d37c60ab">8</a></p><p>If we select “strict,” the proxies will follow a (surprise!) <em>strict</em> order set down by us in the .conf file — and it will make <em>no</em> exception to the number and ordering of the proxies. If we know certain proxies, and trust them far more than any others, this is a sensible approach. However, if just <em>one</em> goes down, the chain is entirely broken, since the dead proxy will not be skipped over. It’s thus not the most convenient option.</p><p>“Dynamic” is basically the same as strict, except that it will skip over any dead proxies — in fact, it will skip over <em>all</em> dead proxies and continue working, so long as there is just <em>one</em> live proxy. The costs and benefits of this are clear and proportionate.</p><p>Finally, there’s “random.” With this option, each proxy is selected at random (surprise, again!) from a list. It seems to me that this is the best of the three, since it doesn’t demand a <em>particular</em> set of proxies, but also will not potentially run through just one (as is the worst case scenario with dynamic).</p><p>Now scroll down to random_chain.</p><p>Step 3:</p><p>Uncomment <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fn-9-c774eb4dea67516a89c07a90d37c60ab">9</a>: random_chain</p><p>In the steps that follow, some configurations may already be properly set. If so, all the better!</p><p>Step 4:</p><p>Uncomment Proxy DNS requests – no leak for DNS data</p><p>Uncommenting the above makes possible the following options.</p><p>Step 5</p><p>Uncomment proxy_dns</p><p>This step hides our DNS requests, thus further preventing location leaks.</p><p>(Step 6 is probably already properly configured, but just in case…)</p><p>Step 6:</p><p>Uncomment the following four lines</p><p>tcp_read_time_out 15000</p><p>tcp_connect_time_out 8000</p><p>socks4 127.0.0.1 9050</p><p>socks5 127.0.0.1 9050</p><p>The last two set the loopback interface to our local host (127.0.0.1) as well as the default port for Tor Service (9050). If the socks5 line isn’t already there to uncomment, just add it in.</p><p>OK, now write (ctr+o) and close (ctr+x) that file. You’re almost done!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6Kt1LmayR6g8aA73" /></figure><p>In order that we don’t have to restart the Tor Service every time we reboot, we’re going to set it to autostart on boot.</p><p>Step 7:</p><pre>sudo systemctl enable tor</pre><p>Restart the terminal with reset, and then check Tor’s status:</p><p>Step 8:</p><pre>service tor status</pre><p>It should tell you that it’s “loaded” and “active.” If so, hit ctr+c to close the status check, and let’s give it a test-run with Firefox (or whichever browser you wish)! Open a terminal.</p><p>Step 9:</p><pre>proxychains firefox</pre><p>Your browser should have opened. Now search for: What is my IP? If it is different from your actual IP, you’ve done everything right! <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fn-10-c774eb4dea67516a89c07a90d37c60ab">10</a></p><p>We’re ready for the goal of all this: running Asgardex (though this works with any wallet that lacks built-in IP protections).</p><p>Go to the directory with your Asgardex wallet application. We’ll be using the latest GUI AppImage, but just substitute whichever wallet app you have. Open a terminal in the directory.</p><p>Step 10</p><pre>proxychains ./ASGARDEX-1.18.5-linux.AppImage</pre><p>If you’ve followed me to here, your Asgardex wallet is now running through proxychains via Tor Service. To close your wallet, just exit it as usual.</p><p>Congrats!!! Your IP is now as safe as any but the most powerful Master Shit-poasting Techlords can achieve. <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fn-11-c774eb4dea67516a89c07a90d37c60ab">11</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/0*Cn-tj0Ik6uUgH1dK" /></figure><p>If you found this little tutorial playfully helpful, Monero tips are appreciated:</p><pre>85bbj7Ytydfb2og4QT1mvu2ZFdo56bAC5GVxrmQtSWau3TLSyEmTboXauenRxnerodKimH1txtAwzBy17oQ35sZATL7YVNZ</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/213/0*o6F9TT56R36iRAir" /></figure><h3>Footnotes</h3><ol><li>As a side, those of us in the privacy-loving community ought ardently push back against this terminology: Monero, Zano, Firo, Dero and Beam, etc., aren’t “privacy” coins; Bitcoin, Ethereum, etc., are transparency. No one refers to US dollars as “privacy” dollars. Privacy is the monetary, default standard — it is the protocoals with a public ledger that are doing something non-standard. And this does not even touch on the ways the terminology of “privacy coin” is used rhetorically by State Actors to wage a war on privacy. Will we soon have not only bedrooms, but also privacy bedrooms? <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fnref-1-c774eb4dea67516a89c07a90d37c60ab">↩</a></li><li>Know Your Customer, i.e., KYC exchanges such as Coinbase or Binance require you to provide personal, identification, in contrast to, say, Bisq, Kucoin or Thorchain which are all quite different types of non-KYC exchanges, i.e., exchanges that don’t require any personal information (except, maybe an email for verification, though, of course, that need not be connected to you). <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fnref-2-c774eb4dea67516a89c07a90d37c60ab">↩</a></li><li>You can also randomize the intermediary proxies, but that would change little from a privacy standpoint. <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fnref-3-c774eb4dea67516a89c07a90d37c60ab">↩</a></li><li>Remember, this is not the Tor Browser, but rather Tor Service. You will need to either start it each time you reboot your PC, or, as we will do, add it to your Startup services. <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fnref-4-c774eb4dea67516a89c07a90d37c60ab">↩</a></li><li>Note, when dealing with state actors, there are never any perfect guarantees — one ought always keep this in mind! <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fnref-5-c774eb4dea67516a89c07a90d37c60ab">↩</a></li><li>The -y flag merely eliminates the further need to confirm your command — it just runs it. <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fnref-6-c774eb4dea67516a89c07a90d37c60ab">↩</a></li><li>If this happens to not be the location of proxychains on your PC, simple enter the following command, and substitute the address found: locate proxychains <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fnref-7-c774eb4dea67516a89c07a90d37c60ab">↩</a></li><li>I encourage you to also read through the .conf file itself — it’s actually fairly intelligible! <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fnref-8-c774eb4dea67516a89c07a90d37c60ab">↩</a></li><li>I.e., delete the # at the start of the line. <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fnref-9-c774eb4dea67516a89c07a90d37c60ab">↩</a></li><li>Be aware that not all software can be successfully run through this service. For more on this, see <a href="https://support.torproject.org/#faq_staying-anonymous">How can we help? | Tor Project | Support</a> <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fnref-10-c774eb4dea67516a89c07a90d37c60ab">↩</a></li><li>As a final, additional superuser trick, switch out your proxified, torified IP address every now and then by entering: sudo service tor restart. <a href="https://github.com/Eumaios1212/Asgardex-Proxychains-Tor/blob/main/proxychain_tor.md#user-content-fnref-11-c774eb4dea67516a89c07a90d37c60ab">↩</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbc4f209bdb4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>