Giter VIP home page Giter VIP logo

rport-docker's Introduction

rport-docker

repository to build a docker container for rport, this version contains guacd to use RDP via web browser (remember to disable nla authentication for RDP). Fail2ban and iptables are also running to further protect rport from scanner and password guessing attacks. You will need to add a config file.

to use this correctly you will need your own registered domain and create 2x A Records pointing to the host server IP rport.mydomain.com and connect.rport.mydomain.com the first will be used for the UI and API and second for the backend 8080. I recommend using Nginx Proxy Manager and setting up 2x reverse proxy with letsencrypt on pointing to container IP and port 3000 ( API/UI ) and to port 8080. In the advanced section you need to enable tls v1.3 for port 3000.

docker-compose

version: '3.9'
services:
  rport-server:
    container_name: rport
    image: mrea303/rport-docker:latest
    cap_add:
     - sys_nice
    ulimits:
      nproc: 65535
      nofile:
        soft: 262144
        hard: 262144
    restart: always
    privileged: true
    ports:
      - 3000:3000
      - 4822:4822
      - 10000:8080
      - 20000-20100:20000-20100
    volumes:
      - ./rportData/rportd.conf:/etc/rport/rportd.conf                                      #Store rportd.conf in docker directory
      - ./rportData/client-auth.json:/var/lib/rport/client-auth.json                        #Use encrypted password (see rport help for json format)
      - ./rportData/api-auth.json:/var/lib/rport/api-auth.json                              #Use encrypted password (see rport help for json format)
      - /home/user/nginx/letsencrypt/live/npm-7/privkey.pem:/var/lib/rport/privkey.pem      #Location of letsencrypt key for your domain
      - /home/user/nginx/letsencrypt/live/npm-7/fullchain.pem:/var/lib/rport/fullchain.pem  #Location of letsencrypt cert for your domain
      - data:/var/lib/rport/
    
    networks:
      BackendProxy:
        ipv4_address: 172.10.0.10 #DO NOT CHANGE set in rportd.conf and Nginx Reverse Proxy

volumes:
  data:

networks:
  BackendProxy: # This is the network provided by Nginx Proxy Manager (set IP to 172.10.0.0/24)
    external: true

rport-docker's People

Contributors

matthewreed303 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

rxwatcher czen

rport-docker's Issues

Error: rportd.conf is a directory

First of all, thank you for this docker template, this is exactly what I was looking for: a simple and easy-to-setup solution for RPort.

Sadly this isn't working out of the box for me :( I tried to start the container with docker-compose but the container log shows an error: Invalid config: error reading config file: read /etc/rport/rportd.conf: is a directory. Do I need to set up a folder structure before starting the container? Or what am I missing?

regards

guacamole/guacd and apt

It appear as if guacamole/guacd:1.4.0 is the latest version that supports 'apt' called on lines 30-32 in 'Dockerfile'. Using 'latest' results in an error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.