Giter VIP home page Giter VIP logo

Comments (10)

bolkedebruin avatar bolkedebruin commented on June 3, 2024 1

Hi @maop

It might warrant a INSTALL doc indeed. Let’s see if we can work out the beginnings here.

First you would need to compile the binary. For this you need the “go” compiler installed on your system. And then you clone the repository (git clone ...). To compile follow the instructions in the README.

For authentication it is currently required to have an OpenID Connect provider. This can be Keycloak, for self hosting, or Google, OKTA, etc. Keycloak can be run in a docker container see https://www.keycloak.org/getting-started/getting-started-docker. Configuring Keycloak is out of scope, but isnt too hard: create a realm (kind of like an organizational unit) and add some users, then create a client “rdpgw” and obtain the credentials so can use them for configuring the RDP Gateway.

The configuration file for the Gateway is documented in de README. Make sure to set the random keys at the right locations. You can often generate these in a password generator. Add the servers you want to allow to connect to to the config file.

Thinking about it, you probably run into a bit of a challenge with the generated RDP file as you cannot specify the server you want to connect to. You can edit the RDP file to change that. This should be made easier. Note you only have limited time frame to do so for security reasons.

I hope this helps to get you started!

Cheers
Bolke

from rdpgw.

MaFreiberger avatar MaFreiberger commented on June 3, 2024 1

Yeah, a docu would be good. I wanted to use that project for it's purpose, but i think it's just not far enough and it's usecase too limited. No drop-in replacement for a MS-RD-GW, at least not till now.

from rdpgw.

ITGuyattheplace avatar ITGuyattheplace commented on June 3, 2024 1

I too am suuuuper keen to use this but it's too hard. I'm an admin of many years, well versed in a lot of technologies, but not a Linux neck-beard. Is there any way I can help to make installation easier?

from rdpgw.

thoj avatar thoj commented on June 3, 2024

About specifying host. I get these errors if i change the rdp file:

2021/05/18 09:30:26 Client specified host 172.16.4.11:3389 does not match token host any
2021/05/18 09:30:26 Not allowed to connect to 172.16.4.11:3389 by policy handler

I have "any" in hosts.

from rdpgw.

bolkedebruin avatar bolkedebruin commented on June 3, 2024

If you could provide a kind of table of contents of what you would expect we could iterate over it and create the content together.

from rdpgw.

ITGuyattheplace avatar ITGuyattheplace commented on June 3, 2024

Yeah I can do that.

Firstly, a set of requirements and/or recommendations.

  1. Distro selection - Even a mention would be helpful for newbies
  2. Some clarification of Make and Go versions - I bumped into issues here, not sure if that was related to the above
  3. Any other required packages and at least a brief mention of any config that's not default

I didn't get much further than this in my first attempt. Essentially, give a newcomer an example of a working setup that can then be modified. From my experience, most of us admin types can fire up pretty much any box, isolate it via layer 2/3 networking and bump it along from there.

I'd be very happy to do some writing and screenshots etc, if you can help me through some of it.

from rdpgw.

bolkedebruin avatar bolkedebruin commented on June 3, 2024

Is there a reason why you would not use the docker version? That removes alle your issues basically and replaces it with "how to run this in docker".

from rdpgw.

ITGuyattheplace avatar ITGuyattheplace commented on June 3, 2024

Fair call. The use case I have in front of me, I'd rather not have a docker host in there as I'd have to run it as a VM. I'm not a huge fan of layering virtulisation but probably not the end of the world.

from rdpgw.

WayneArant avatar WayneArant commented on June 3, 2024

I am also very interested, and am using Docker, which I am fairly new to.
I'd also like to see an installation guide of some sort, and would be willing to help.

I have gotten to the point where everything is running, but I get a failed redirect to keycloak.
I suspect some of my issues are just lack of familiarity with the various technologies in play.

I did run into an issue with the Go version, but was able to get past it fairly easily.
I'm considering spinning up a new OS instance and starting fresh so I can capture every step.
I'm a Citrix guy by trade, so I'm hoping that helps with the concepts as I dig in...

One thing I would like (and maybe this would not be necessary for someone with more experience) is fuller descriptions of the options and the impacts each choice has in the configuration file.
UPDATE: I was originally going to ask for ANY description, but I noticed that the readme file on this page has a YAML file with comments, those don't seem to be in the file that is generated in the build...

from rdpgw.

bmullan avatar bmullan commented on June 3, 2024

@bolkedebruin

Is there a reason why you would not use the docker version? That removes alle your issues basically and replaces it with "how to run this in docker".

For me personally, I use LXD for both my "system" containers and for VMs because the LXD cmd syntax to create/start/stop/delete/clone is very similar for either. LXD also provides easy management of both local and remote LXD
Containers & VMs
note: "system" container = LXD runs a complete Distro (centos, debian, ubuntu, suse, alpine etc) with each container sharing the Host's Kernel.

Its easy enough to run a Docker container "nested" in an LXD container but I'd prefer not to incur that additional redundant overhead if possible

So I'd prefer to have a native installation method in addition to the docker approach.

from rdpgw.

Related Issues (20)

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.