1. Home
  2. Flux Marketplace
  3. Categories
  4. Flux Dapps
  5. Guide: How To Host Your Own Simplex Servers on Flux

Guide: How To Host Your Own Simplex Servers on Flux

Deploying your SimpleX servers on Flux offers flexibility and control over your setup. Whether you’re looking to run public or private servers for private chat, choose between clearnet or Tor configurations, or even a combination of both, this guide will walk you through one specific scenario: Deploying SimpleX SMP over both Clearnet and Tor.

By the end of this guide, you’ll have your SimpleX server online and accessible via both Clearnet and Tor. Let’s dive in!

Why Run SimpleX on Flux?

Flux provides a decentralized infrastructure where you control how your server operates, what network it resolves over, and how you manage payments. Running on Flux allows you to:

  • Run public or private SimpleX servers with or without passwords.
  • Choose between clearnet, Tor, or both for server access.
  • Experiment with advanced networking setups, like clearnet servers that can communicate with Onion addresses.

In this guide, we’ll focus on deploying SimpleX SMP over both Clearnet and Tor.

Getting Started: What You’ll Need

Before we start, ensure you have the following:

  • Flux in your Zelcore or SSP Wallet for payments (or choose fiat payments if you prefer).
  • A Flux account and access to the Run on Flux dashboard.

Don’t have a wallet? Download Zelcore or SSP Wallet before proceeding.

Step 1: Deploy SimpleX SMP to Flux Marketplace

  1. Login to Flux Dashboard
    Head over to Run on Flux and log in using your preferred method (crypto wallets or SSO options).
  2. Navigate to the Marketplace
    Visit the Flux Marketplace and search for “SimpleX.”
  3. Choose Your Deployment Type
    Select either:
    • Public SMP (no password required)
    • Private SMP (password protected)
  4. Launch the Deployment
    Your deployment will take around 10 minutes to be ready.

Include deployment screenshots for ease of use!

Step 2: Access Your Flux SimpleX Deployment

  1. Open the Flux Dashboard
    Once your server is deployed, tap on “Applications” from the side menu, then select “Management”.
  2. Find Your Deployment
    Locate your SimpleX server under “My Active Apps”. Tap the “Manage” button next to the server.
  3. Manage Your App
    Confirm your choice by clicking the “Manage App” button. You now have access to your live deployment!

Step 3: Configuring Onion Address on Your SimpleX Server

  1. Copy Your App Name
    Next to the blue back button, copy your app’s name for reference.
  2. Update and Renew
    From the inside menu, tap “Update/Renew” to begin configuring the server’s address.

Step 4: Get Your Server and Onion Addresses

  1. Check the Log Output
    In the side menu, tap “Log File”. From here, you’ll see two important pieces of information:
    • Server Address: The address for your server.
    • Onion Address: The hidden service address that only resolves via Tor.
  2. Grab the IP Address
    Under the “Applications” heading, next to the blue back button, you’ll find the IP address at the end of a string of text.

Conclusion

By following these steps, you’ll have your SimpleX SMP server running on Flux, accessible over both clearnet and Tor. This setup provides versatility, privacy, and control, whether you’re experimenting with networking or building a secure communication server. Enjoy the power and flexibility of running your SimpleX servers on Flux!

{"name":"simplexsmp","compose":[{"name":"smp","description":"","repotag":"simplexchat/smp-server:latest","ports":[],"domains":[],"environmentParameters":["ADDR=127.0.0.1","PASS=TestPass"],"commands":[],"containerPorts":[],"containerData":"g:/etc/opt/simplex","cpu":0.1,"ram":100,"hdd":1,"tiered":false,"secrets":"","repoauth":""},{"name":"onion","description":"Hidden Onion Service","repotag":"wirewrex/hiddenonion:latest","ports":[],"domains":[],"environmentParameters":["SERVICE_HOST=fluxsmp_simplexsmp","SERVICE_PORT=5223","ONION_PORT=5223"],"commands":[],"containerPorts":[],"containerData":"g:/var/lib/tor","cpu":0.1,"ram":100,"hdd":1,"tiered":false,"secrets":"","repoauth":""}],"contacts":[],"description":"Simplex.chat SMP Server with Onion Routing","expire":22000,"geolocation":[],"hash":"","height":1685283,"instances":3,"nodes":[],"owner":"","staticip":false,"version":7}

Updated on October 16, 2024

Related Articles