this post was submitted on 08 Apr 2024
13 points (72.4% liked)

Programming

17313 readers
246 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

I want to access an unrestricted desktop at home (preferably a docker novnc desktop container), from the very restricted office laptop/network.

The foundations are clear, started a docker container with novnc access published the porst, forwarded the required ports on my router, and i can access it from outside using my phone, or my own laptop, but can't from the office.

The novnc landing page loads, but the connection to remote desktop fails, probably because the websockets connections are also blocked in office, so only the plain http(s) accesses are allowed (not even RDP is allowed).

(Not even dyndns providers are allowed, but i can note my current ip address in my phone :D )

Ofc i barely can install anything on office laptop, so i can create fe openvpn tunnel, etc...

Do you have some hints if it can be solved?

you are viewing a single comment's thread
view the rest of the comments
[–] NightEagle 4 points 7 months ago (1 children)

You can setup Apache Guacamole on your server. It uses Websockets by default, but it also has an automatic fallback to plain http/https. It will be ultra slow, but at least it will be working. It will behave like any other website, so no security risks for your company if they already have a proxy server to monitor your Internet traffic.

[–] cm0002 5 points 7 months ago (1 children)

Was about to post to use Guacamole too, web sockets will work over HTTPS, OP is likely trying to do websockets over another port that's getting blocked.

But over HTTPS with Guac should be fine because I did this exact thing on a very locked down work network

[–] NightEagle 2 points 7 months ago* (last edited 7 months ago)

Some proxies block Websocket Connections by default for unknown URLs, even for port 443. Don't ask me how I know :D