Attempting open source proxy (Resolved)
-
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. -
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 commandss -ntupl | grep 443
-
@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.
-
@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...
-
@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.
-
@Andrew I got it working, thank you for your help. I just like to learn and test stuff out for fun, frequently unnecessarily, heh.