!!!rdgw on OpenBSD 7.5 ARMv7 on BBB {{category OpenBSD,nolink}}[rdgw|https://github.com/tamx/rdgw] は Microsoft の Remote Desktop Protocol を中継する Gateway サーバー の Go 実装。 ただ、rdgw には TLS 実装がないので、[centrifuge|https://github.com/tamx/centrifuge] などで TLS 接続の処理を行う必要がある。 これによって、HTTP(S) 経由で リモート デスクトップ のクライアントから接続が可能になる。 [BeagleBone Black|https://beagleboard.org/black] に入れた、[OpenBSD|https://www.openbsd.org/] で、ゲートウェイ サーバを構築する。 * GitHub - tamx/rdgw ** https://github.com/tamx/rdgw * GitHub - tamx/centrifuge ** https://github.com/tamx/centrifuge * 自作プログラム rdgw の紹介 ** https://zenn.dev/greek_academy/articles/article20240321-rdgw !!!ビルド・インストール !!Go のインストール パッケージ で Go をインストールする。 $ doas pkg_add -U go !!ソース入手 git リポジトリから取得すればよいが、git コマンドがないので、リポジトリからソースファイルを取得し、ZIPを展開して、転送する。 !!ビルド $ cd rdgw $ go build go: downloading github.com/gobwas/ws v1.4.0 go: downloading github.com/tamx/golang-digest v0.0.0-20241001234009-a71988532f57 go: downloading golang.org/x/net v0.30.0 cd ../centrifuge