Comments (10)
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.
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.
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.
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.
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.
Yeah I can do that.
Firstly, a set of requirements and/or recommendations.
- Distro selection - Even a mention would be helpful for newbies
- Some clarification of Make and Go versions - I bumped into issues here, not sure if that was related to the above
- 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.
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.
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.
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.
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)
- BUG: There has been an update in the RDPGW code what broke disk passtrough old image from 20-07-2023 does work same host
- Template default.rdp please add remoteapplicationmode:i:1 HOT 3
- Some issues after recent work: boolean fields in RDP template can't be parsed + entrypoint inhibits args HOT 3
- cannot login into windows servers through rdpgw by windows remote desktop client HOT 1
- No success with tokeninfo HOT 6
- Error running docker-compose local.yml HOT 1
- How to us it?Enable rdpgw locally HOT 10
- Connection RDP template wont add all options only some but not allow font smoothing:i:1 i cant get it turned on HOT 3
- KDC Proxy HOT 3
- HTTP_TUNNEL_RESPONSE OptionalFields Capability flags have a different type than the official protocol spec HOT 1
- Working without xrdp? HOT 1
- Docker image not using environmental variables or rdpgw.yml HOT 2
- RDS Session Collection HOT 1
- docker: keycloak | unknown option
- mstsc stucks on "configuring remote session..." HOT 1
- Can't figure out how to use it at all HOT 1
- token validation failed due to cannot get token HOT 1
- Working docker-compose? HOT 3
- Is there any quickstart or step by step guide available? HOT 6
- Bug: Disk pass trough stopt working after some MS update need config file change but wont take over from template
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdpgw.