XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Attempting open source proxy (Resolved)

    Scheduled Pinned Locked Moved Xen Orchestra
    6 Posts 3 Posters 767 Views 2 Watching
    Loading More Posts
    • 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.
    • S Offline
      sluflyer06
      last edited by sluflyer06

      I realize this is unsupported but wondered if anyone else has tried to use ronivay proxy install, i'm pretty sure the install issue is just a lack of linux fu on my part, it gets all the way to the very end and then I get this and it fails, i've tried last night and today to attempt to check the port and add FW rule and many other things but I think my know-how is lacking. Anyone able to assist me?

      Dec 02 19:16:22 xo-ce xo-proxy[5932]: 2022-12-02T19:16:22.415Z xo:proxy:bootstrap INFO starting
      Dec 02 19:16:22 xo-ce xo-proxy[5932]: 2022-12-02T19:16:22.456Z xo:proxy:bootstrap WARN Web server could not listen on https://localhost:443
      Dec 02 19:16:22 xo-ce xo-proxy[5932]: 2022-12-02T19:16:22.457Z xo:proxy:bootstrap WARN Address already in use.

      A 1 Reply Last reply Reply Quote 0
      • splastunovS Offline
        splastunov
        last edited by

        Hello!

        Are you trying to install it on xcp-ng host directly?
        If yes 443 is used by default by host.
        You can check it with command

        ss -ntupl | grep 443
        
        1 Reply Last reply Reply Quote 0
        • A Offline
          Andrew Top contributor @sluflyer06
          last edited by

          @sluflyer06 Right... It should be deployed on it's own VM server, not the same as the XO server. You might be able to use the same VM on a different port but I have not tried and I don't think it's supported. As it's just a small VM, just spin up a new one for the proxy.

          I just gave it a try and it works fine if you start with a new VM Debian 11 server. On first install it will also print out the information you need (Token and UUID) so you can add it to your main XO setup (manually using the CLI).

          If you are using the proxy behind a real firewall then you need to add NAT rules for it too so the outside can access it.

          S 1 Reply Last reply Reply Quote 1
          • S Offline
            sluflyer06 @Andrew
            last edited by sluflyer06

            @Andrew ooooo OK, I did not realize it should be its own VM, I was attempting to install it alongside XO, I will try spinning up a new VM. Thank You.

            I also want to add, should I not even be trying this? Is this supposed to be licensed only? I don't want to do anything I shouldn't, I'm just a home user curious about any performance differences just to play around but still...

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              Andrew Top contributor @sluflyer06
              last edited by

              @sluflyer06 Go for it. Give it a try.

              But you don't need it if your XO install can see all the XCP hosts.

              If you have remote XCP hosts without a VPN connection, then you can install the XO Proxy remotely on a VM, open a hole in the firewall and add the proxy info to your local main XO setup.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sluflyer06 @Andrew
                last edited by

                @Andrew I got it working, thank you for your help. I just like to learn and test stuff out for fun, frequently unnecessarily, heh.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post