Spread the word.

Share the link on social media.

Share
  • Facebook
Have an account? Sign In Now

Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In
Continue with Facebook
Continue with Google
or use

Browse


Have an account? Sign In Now

Sign In

Login to our ITSupportBD questions & Answers Engine to ask questions answer people’s questions & connect with other IT people.

Sign Up Here
Continue with Facebook
Continue with Google
or use


Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Have an account? Sign In Now

You must login to ask a question.

Continue with Facebook
Continue with Google
or use


Forgot Password?

Need An Account, Sign Up Here

Please type your username.

Please type your E-Mail.

Please choose an appropriate title for the post.

Please choose the appropriate section so your post can be easily searched.

Please choose suitable Keywords Ex: post, video.

Browse

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

IT Support BD Logo IT Support BD Logo
Sign InSign Up

IT Support BD

IT Support BD Navigation

  • Home
  • Blog
  • Download
  • Support Hour Booking
Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Terms and Conditions
  • Privacy Policy
  • Cookie Policy
Home/ Questions/Q 7620
Next
In Process

IT Support BD Latest Questions

Asked: January 12, 20232023-01-12T12:05:28+06:00 2023-01-12T12:05:28+06:00In: Server

How to create own remote desktop server infrastructure.

Abak
AbakIT Manager

I want to create my own remote desktop server infrastructure in my origination. How to create?

1
  • 2
  • 2
  • 1 1 Answer
  • 928 Views
  • 0 Followers
  • 0
Share
  • Facebook

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Continue with Facebook
    Continue with Google
    or use


    Forgot Password?

    Need An Account, Sign Up Here
    Continue with Facebook
    Continue with Google

    1 Answer

    • Voted
    • Oldest
    • Recent
    • Random
    1. admin
      admin IT Partner
      2023-01-12T18:11:11+06:00Added an answer on January 12, 2023 at 6:11 pm
      This answer was edited.

      An open-source alternative to TeamViewer and AnyDesk is RustDesk. It offers businesses free remote desktop services on its self-hosted and cloud infrastructure.

      Requirements is: OS need Ubuntu 22.04 and Allow udp port 21117 on firewall and OS.

      1. Connect to the server via SSH using root access by following the command:

      sudo -i

      2. Update the Server OS Packages
      Make sure that wget is installed on the server. This utility is needed to run the panel installation script. If wget isn’t installed in the OS, execute the following commands to install it:

      1. Docker install Commands on Ubuntu 22.04

      Step 1: Update the system

      The first step is to refresh the repositories. To do so, run the command:

      $ sudo apt update

      Step 2: Install dependencies

      Some dependencies are needed for the installation to go along seamlessly. Therefore, run the following command to install them:

      $ sudo apt install apt-transport-https curl gnupg-agent ca-certificates software-properties-common -y
      

      Step 3: Install Docker on Ubuntu 22.04

      With the requirements installed, the next step is to install Docker. We will install the Docker Community Edition ( Docker  CE ) which is opensource and free to download and use.

      To do so, we will add the GPGK key

      $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
      
      

      Since Ubuntu 22.04 is yet to be officially released, add the repository for Ubuntu 20.04 Stable.

      $ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"

      With the GPG key and the repository added, run the following command to install Docker and associated packages.

      $ sudo apt install docker-ce docker-ce-cli containerd.io -y
      

      Step 4: Confirm that Docker is installed

      To verify that Docker is installed, run the command:

      $ docker version
      

      Step 5: Manage Docker Service

      By default, Docker autostarts upon installation. To verify this, run the command:

      $ sudo systemctl status docker

      If, for any reason, Docker is not running, simply execute the following command:

      $ sudo systemctl start docker

      To enable Docker to start automatically every time on system startup, run the command:

      $ sudo systemctl enable docker

      To restart Docker  run:

      $ sudo systemctl restart docker

      the volume that Portainer Server will use to store its database

      docker volume create portainer_data

      Download and install the Portainer Server container

      Next, we will download and install the Portainer container. To do that, use the following:

      docker run -d -p 8000:8000 -p 9443:9443 --name portainer \
          --restart=always \
          -v /var/run/docker.sock:/var/run/docker.sock \
          -v portainer_data:/data \
          portainer/portainer-ce:2.11.1

      RustDesk Repository copy:

      # useradd rustdesk

      # usermod -aG sudo rustdesk

       

      Enter your password

      mkdir /rustdesk

      cd /rustdesk

      nano docker-compose.yaml

      version: '3'
      
      networks:
        rustdesk-net:
          external: false
      
      services:
        hbbs:
          container_name: hbbs
          ports:
            - 21115:21115
            - 21116:21116
            - 21116:21116/udp
            - 21118:21118
          image: rustdesk/rustdesk-server:latest
          command: hbbs -r <your-cool.server.com>:21117
          volumes:
            - ./hbbs:/root
          networks:
            - rustdesk-net
          depends_on:
            - hbbr
          restart: unless-stopped
      
        hbbr:
          container_name: hbbr
          ports:
            - 21117:21117
            - 21119:21119
          image: rustdesk/rustdesk-server:latest
          command: hbbr
          volumes:
            - ./hbbr:/root
          networks:
            - rustdesk-net
          restart: unless-stopped

       

      # press Esc button and type :wq and hit enter

       

      run the server

      # sudo docker-compose up -d

       

      3. Install RustDesk on clients and configure the server IP.

      Go to RustDesk.com and click the Download button.  If you’re running the client on a Linux machine, you can also try their new Appendage file to see if it will work. Make sure you get the latest release, and look for the .appendage file.

      Once downloaded, if you need to run the installer, run it per your Distros requirements.  Windows is a zipped file, with an executable inside, so extract the file, then run the .exe to install.

      Once you run the client it will connect to the RustDesk default servers.  You’ll see an ID number and passcode (hidden by default).  Next to the ID you’ll see a 3-dot icon. Click it, and select “ID/Relay Server”.

      Allow the rustdesk port  by using the ufw command:

      sudo ufw allow 21115
      sudo ufw allow 21116
      sudo ufw allow 21117
      sudo ufw allow 21118
      sudo ufw allow 21119

      Take care everyone and happy coding.

       

       

        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Sidebar

    Ask A Question

    Stats

    • Questions 162
    • Answers 164
    • Best Answers 79
    • Users 16k
    • Popular
    • Answers
    • Jaylon S

      When I turn my Pc in a Server with Ehcp ...

      • 5 Answers
    • Abak

      ক্রিপ্টোকারেন্সি কি?

      • 4 Answers
    • admin

      Which is the first website of Bangladesh?

      • 3 Answers
    • admin
      admin added an answer If you're running OpenWRT on a router with limited internal… April 13, 2025 at 10:05 am
    • Support
      Support added an answer 10 Best Methods on How to Use IDM for Torrent… November 14, 2024 at 1:27 pm
    • admin
      admin added an answer When choosing a printer for book printing in Dubai, consider… October 30, 2024 at 3:31 pm

    Related Questions

    • Watch Free Bollywood and Bengali Movies Online

      • 0 Answers
    • How to build network monitoring and problem-solving tools?

      • 1 Answer
    • I want to host site using xamp on internet

      • 1 Answer
    • How can I Create own storage server and intagreate it ...

      • 1 Answer
    • Why is my server always signing out

      • 1 Answer

    Top Members

    admin

    admin

    • 14 Questions
    • 1k Points
    IT Partner
    Arif

    Arif

    • 35 Questions
    • 790 Points
    IT Moderator
    Support

    Support

    • 29 Questions
    • 477 Points
    IT Senior Coordinator

    Trending Tags

    bd movie 365 computer custom pvc patches custom rom hosting mobile nas network online movies online pvc patches uk os pvc patches question server sim storage website windows 11 wordpress xrp price prediction

    Explore

    • Home
    • Add group
    • Groups page
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges
    • Users
    • Help
    • Shop

    Footer

    IT Support BD

    We hope you enjoy our blog as much as We enjoy offering them to you. If you have any questions or comments, please don't hesitate to contact us.

    About Us

    • Meet The Team
    • Blog
    • About Us
    • Contact Us

    Legal Stuff

    • Terms and Conditions
    • Privacy Policy
    • Cookie Policy

    Help

    • Knowledge Base
    • Support

    Follow

    © 2018-2025 IT Support BD. All Rights Reserved

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.