Skip to content

Tunneling into a labrad computer with dynamic ip #353

@zibrov-zlobin

Description

@zibrov-zlobin

Hi guys,
I'm not sure this is the right place to raise an issues since its not really an issue. But I was wondering if any of you had any experience setting up a tunnel, say ngrok-like or similar to connect to labrad?

the problem is that we often end up measuring not in our lab but in shared facilities. We run labrad on a laptop that is usually connected to a wifi like eduroam. Have you had any experience/success in accessing the labrad manager remotely in this case? My most simplest attempt in using the free ngrok to create a tunnel didnt work, either because the free version doesnt support TLS or because its a stupid idea in the first place. Seems like it should work easily with any web-interface easily.

I guess the alternative is to setup a VPN connection to the remote computer.

And on a related topic: when setting up a remote connection I always end up editing /etc/hosts to create an alias for the remote labrad ip address. Is there a way to connect to generate a proper self-signed certificate based on IP address? Googling showed that it is possible but not very used often and could be done by adding an "alternative name" in the openssl request. But I am not sure if this is the right way to go around it.

Any recommendations/best practices would be great!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions