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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Problem with setting up a VPN tunnel from on premises machine to Cloudron in Cloud

Problem with setting up a VPN tunnel from on premises machine to Cloudron in Cloud

Scheduled Pinned Locked Moved Solved Support
vpnwireguardnetworking
4 Posts 2 Posters 170 Views 2 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.
  • A Offline
    A Offline
    arnej
    wrote on last edited by
    #1

    Hi, we are experiencing a strange issue when attempting to set up a Wireguard tunnel from an on premises workstation to the Cloudron Server which is hosted on Hetzner.

    After starting the VPN connection on the local server, the connection does not get established. Apparently the Cloudron side is not responding.

    The VPN configuration is a standard Wireguard one. We tested the setup with a 2nd machine on Hetzner that was just running a standard Ubuntu OS. With that VM, our local machine was able to establish a connection.

    We double-checked both the Firewall rules on Hetzner as well as our own ones. They were fine.

    Do you have any idea why that may be?

    1 Reply Last reply
    1
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote on last edited by
      #2

      Hello @arnej

      @arnej said in Problem with setting up a VPN tunnel from on premises machine to Cloudron in Cloud:

      With that VM, our local machine was able to establish a connection.

      This sentence confuses me a little.
      A You did set up a VM on Hetzner with a Wireguard server and connected your on premise computer with that server
      B You did connect a Hetzner VM to the Cloudron Wireguard

      @arnej said in Problem with setting up a VPN tunnel from on premises machine to Cloudron in Cloud:

      Do you have any idea why that may be?

      Could this maybe be an issue with IPv6 and IPv4?
      Can you share some insights if you use IPv6 local and in Cloudron?

      1 Reply Last reply
      2
      • jamesJ james marked this topic as a question on
      • A Offline
        A Offline
        arnej
        wrote last edited by arnej
        #3

        Hi James,

        sorry for the delayed response. We initially had the problem that the Wireguard tunnel between an on premises system and a Cloudron Server on Hetzner couldn't be established.

        The WG config was correct. We tried it on a different server on Hetzner with no problem. There seemed to be a problem with the Cloudron Server.

        Then, my colleague figured out that there was a problem with the Cloudron internal firewall. Once he changed the settings there, the connection was established with no problem.

        Thanks!
        Arne

        jamesJ 1 Reply Last reply
        1
        • A arnej

          Hi James,

          sorry for the delayed response. We initially had the problem that the Wireguard tunnel between an on premises system and a Cloudron Server on Hetzner couldn't be established.

          The WG config was correct. We tried it on a different server on Hetzner with no problem. There seemed to be a problem with the Cloudron Server.

          Then, my colleague figured out that there was a problem with the Cloudron internal firewall. Once he changed the settings there, the connection was established with no problem.

          Thanks!
          Arne

          jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by
          #4

          @arnej said in Problem with setting up a VPN tunnel from on premises machine to Cloudron in Cloud:

          there was a problem with the Cloudron internal firewall. Once he changed the settings there, the connection was established with no problem.

          Could you please elaborate what the issue was?
          Do we need to fix something? Also, useful for future readers who have a similar issue.
          I could bet you know the feeling of searching a solution and just finding a "I solved it, thanks" post somewhere and think yourself AND HOW?.

          1 Reply Last reply
          0
          • J joseph has marked this topic as solved
          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