Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Best Practice for SSH remote tunnel usage on Cloudron

Best Practice for SSH remote tunnel usage on Cloudron

Scheduled Pinned Locked Moved Support
4 Posts 3 Posters 1.0k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • KubernetesK Offline
    KubernetesK Offline
    Kubernetes
    App Dev
    wrote on last edited by
    #1

    Hi there,

    I have some local services running at home that I would like to make available via Cloudron App Proxy for my Cloudron Users via Internet.

    Therefore I have setup a ssh remote tunnel from my local server to Cloudron. On Cloudron I configured an App Proxy to use http://127.0.0.1:8123 as upstream.

    As this solution does work reliable and I would expand this use to more local services I wonder what Port Range would be the best safe to use for my remote tunnels on Cloudron?

    I think I read somewhere in the Cloudron Documentation that there was a range of ports that could be used safely, but I cannot find it anymore.

    Best,
    Michael

    necrevistonnezrN 1 Reply Last reply
    1
    • KubernetesK Kubernetes

      Hi there,

      I have some local services running at home that I would like to make available via Cloudron App Proxy for my Cloudron Users via Internet.

      Therefore I have setup a ssh remote tunnel from my local server to Cloudron. On Cloudron I configured an App Proxy to use http://127.0.0.1:8123 as upstream.

      As this solution does work reliable and I would expand this use to more local services I wonder what Port Range would be the best safe to use for my remote tunnels on Cloudron?

      I think I read somewhere in the Cloudron Documentation that there was a range of ports that could be used safely, but I cannot find it anymore.

      Best,
      Michael

      necrevistonnezrN Online
      necrevistonnezrN Online
      necrevistonnezr
      wrote on last edited by
      #2

      @Kubernetes Sorry to piggyback: Is this a way to access e.g. my Plex server, which is currently running local only at 192.168.1.50:32400 (as I need it only for my home theater setup), from outside?

      KubernetesK 1 Reply Last reply
      0
      • necrevistonnezrN necrevistonnezr

        @Kubernetes Sorry to piggyback: Is this a way to access e.g. my Plex server, which is currently running local only at 192.168.1.50:32400 (as I need it only for my home theater setup), from outside?

        KubernetesK Offline
        KubernetesK Offline
        Kubernetes
        App Dev
        wrote on last edited by
        #3

        @necrevistonnezr yes, exactly - but not sure how good it works with streaming use case

        the command i execute on my local server is:

        ssh -R CLOUDRONPORT:127.0.0.1:LOCALPORT -N -o ServerAliveInterval=60 -o ServerAliveCountMax=3 USER@CLOUDRONSERVER
        
        1 Reply Last reply
        1
        • fbartelsF Offline
          fbartelsF Offline
          fbartels
          App Dev
          wrote on last edited by
          #4

          You may want to replace ssh with autossh, so that the connection is restored in case it stops working. This howto looks quite complete: https://m0agx.eu/yet-another-autossh-tutorial.html

          1 Reply Last reply
          4

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search