New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
Registration is currently disabled, please try again later.
What's wrong?
It was never public. I am only dealing privately for now. But i think i need a host rep tag if I want to say more on that, so for now I will 🤐. People are talking about it because they want to deploy their own instance (it is open source) and make it free and public.
root@ubuntu2204:~/haproxy-panel-next# npm run build
[email protected] build
next build
sh: 1: next: not found
root@ubuntu2204:~/haproxy-panel-next# npm install next
npm WARN deprecated [email protected]: Please use another csrf package
npm notice
npm notice New major version of npm available! 8.19.4 -> 10.2.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.0
npm notice Run npm install -g [email protected] to update!
npm notice
npm ERR! code 1
npm ERR! path /root/haproxy-panel-next/node_modules/bcrypt
npm ERR! command failed
npm ERR! command sh -c -- node-pre-gyp install --fallback-to-build
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-10-06T09_41_06_381Z-debug-0.log
full log:
edit: It probly does not like the root user lol.
Yeah, that was the issue:
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
sudo npm install --unsafe-perm=true --allow-root
Then it worked.
I will setup demo stuff up now, and once its working I migrate to production.
Great work @stefeman and thanks for all the great work on creating something actually useful @fatchan![:heart: :heart:](https://lowendtalk.com/resources/emoji/heart.png)
So, I got it up and running, but what's the default admin user/password for the panel?
@fatchan
And thanks for the continued help![:) :)](https://lowendtalk.com/resources/emoji/smile.png)
node reset.js
jUWS7Ylx/NZpdsLU8Plsw2PhJ04=
I logged in with:
admin
jUWS7Ylx/NZpdsLU8Plsw2PhJ04=
and it briefly shows menu and goes back to login page in 1 second. Is this due to missing haproxy-protect as I only have the panel cloned and up?
You are running in production mode without https, so the
Secure
session cookie isnt set. Use https or dont run in production modeThanks for the fast reply.
How would I change the mode?
And how would I change to https? it just gives ERR_SSL_PROTOCOL_ERROR since the site does not listen for 443
@fatchan
Soooooooooo. What's the state of this basedflare
Works great, its clean, dashboard is amazing and you can customize the shit out of it. Protection works great as well.
In my basement
I have never tested it. Did you sign up for $ 9.99/mo?
Were you able to self host and test it's features?
Currently a beta tester.
Certainly, it's fully open source; although, as has become evident in this thread, the documentation for the panel isn't the best.
https://gitgud.io/fatchan/haproxy-panel-next
https://gitgud.io/fatchan/haproxy-protection
Yes, I've mentioned the same in my previous comment from this same thread.
https://lowendtalk.com/discussion/comment/3672728/#Comment_3672728
I have a few people using it, and I am taking their suggestions and slowly improving on pain points of running multi tenant setup. It works well enough for the level of attacks atm, and most importantly its fun.
You can email me or dm me if you want to know more.
The Panel makes DNS queries to a DNS server IP you can configure in .env
I don't understand why though.
Without any response to these queries the Panel is unable to load/function at all.
@fatchan can you explain why and what purpose they have?
I thought you make changes, these are written to either redis or mongodb and getting sync to the dns servers.
But apparently the Panel on its own makes DNS queries to its own nameservers?
Nevermind, actually got it working now.
Will play a bit around and report back.
Will play a bit around and report back.
W, always nice to get things working, gives you the good feelings.
Live Deploy soon![:D :D](https://lowendtalk.com/resources/emoji/lol.png)
Maybe you guys can do a pull request with additional information you have gathered so far.
It does work though http://test.serv.app
https does not work though, because it uses ACME and that needs the dns server part working.
You might be able to change the challenge order to http-01 first (grep the code), if you setup each haproxy to forward .well-known/acme-challenge to the control panel. The code for writing the files in tmp is still there, I jist stopped using because dns is easier, faster, and allows wildcards.
Can you just share your plugin version as "no lisence" separately? Should not be an issue as long as you dont bundle it. Otherwise this entire thing is pretty much unusable as intended.
If nobody can deploy it as it's supposed to work most optimally, its useless to share the source to begin with. =/
I made a dns integration for basedflare with gdnsd.
https://github.com/Ne00n/basedflare-gdnsd
It works, it gets a certificate but its unable to upload the certificate to haproxy.
I rather not do that publicly, it is technically copyright infringement and there are too many contributors on the repo to get all their permission. Eventually, I can release a freshly rewritten version. For now, it sounds like people were able to implement another DNS server anyway, see below. It just needs to read from redis after all, nothing special.
Probably this is because the fetch call is passed
agent
which is a https agent, but your dataplaneapi url is http. You can try to remove it, or configure dataplaneapi to use https and add a certificate. You can set ALLOW_SELF_SIGNED_SSL=1 in env and use a self signed cert in dataplaneapi, or install a trusted certificate.