A
Admincraftβ€’9mo ago
harmen

pterodacytl failing after sudo reboot

ubuntu 24.04 php 8.2 custom fresh install of pterodactyl, no wings Someone told me to disable apache and install caddy, how do i install caddy and how do i disable apache?
1032 Replies
Admincraft Meta
Admincraft Metaβ€’9mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by h.reijerman#0
Jenkins
Jenkinsβ€’9mo ago
okay, so sudo systemctl disable apache then, execute below:
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install caddy
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install caddy
Jenkins
Jenkinsβ€’9mo ago
Then follow from bellow, depending if you want SSL or not: https://pterodactyl.io/panel/1.0/webserver_configuration.html#caddy-without-ssl
Webserver Configuration | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
harmen
harmenOPβ€’9mo ago
Could you please explain why caddy is a better option then apache? I am also a web-developer, these topics intrest me greatly
ProGamingDk
ProGamingDkβ€’9mo ago
apache sucks in everything caddy is easy to setup, but fast, and have nice qol features like not sending certificates domain name on http/https requests helps protect backend ips
Jenkins
Jenkinsβ€’9mo ago
Apache is extremely old, hard to configure, not really modern, and it's a PITA in general Caddy is more modern, faster, easier to configure, automatic TLS support, very good ecosystem Basically these^
harmen
harmenOPβ€’9mo ago
Failed to disable unit: Unit file apache.service does not exist.
Jenkins
Jenkinsβ€’9mo ago
Then you already don't have apache running?
harmen
harmenOPβ€’9mo ago
i think that was a false report, because i cannot acces my pterodactyl panel anymore and nginx was not installed
Arthurmeade12
Arthurmeade12β€’9mo ago
You probably have to reconfigure pterodactyl for caddy since you installed that
Deer Jerky
Deer Jerkyβ€’9mo ago
^^^^^
harmen
harmenOPβ€’9mo ago
in this tutorial it specifies <domain>. Is that: https://customdomain.com or http://customdomain.com or customdomain.com I want to enable ssh
Jenkins
Jenkinsβ€’9mo ago
Do you want https? or actually
harmen
harmenOPβ€’9mo ago
yes
Jenkins
Jenkinsβ€’9mo ago
do you have a domain
harmen
harmenOPβ€’9mo ago
that too
Jenkins
Jenkinsβ€’9mo ago
also what do you mean i want ssh you meant tls?
harmen
harmenOPβ€’9mo ago
no https i want https
Jenkins
Jenkinsβ€’9mo ago
okay
harmen
harmenOPβ€’9mo ago
and i have a domain
Jenkins
Jenkinsβ€’9mo ago
Webserver Configuration | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
Jenkins
Jenkinsβ€’9mo ago
you follow this there's no http:// or https:// just put your domain directly and a subdomain if you want one
harmen
harmenOPβ€’9mo ago
so <domain> becomes "panel.customdomain.com"
No description
Jenkins
Jenkinsβ€’9mo ago
yeah correct
harmen
harmenOPβ€’9mo ago
aight
Jenkins
Jenkinsβ€’9mo ago
do you use cloudflare in proxy mode by the way?
harmen
harmenOPβ€’9mo ago
?
Jenkins
Jenkinsβ€’9mo ago
what domain provider do you use
harmen
harmenOPβ€’9mo ago
hetzner dedicated hosting
Jenkins
Jenkinsβ€’9mo ago
do you use cloudflare
harmen
harmenOPβ€’9mo ago
hetzner
Jenkins
Jenkinsβ€’9mo ago
okay just follow that then
harmen
harmenOPβ€’9mo ago
#. systemctl restart caddy Job for caddy.service failed because the control process exited with error code. See "systemctl status caddy.service" and "journalctl -xeu caddy.service" for details.
harmen
harmenOPβ€’9mo ago
No description
Jenkins
Jenkinsβ€’9mo ago
you already have something listening on 443
harmen
harmenOPβ€’9mo ago
how can i check that? How can i check whats listening there?
Jenkins
Jenkinsβ€’9mo ago
sudo lsof -i:443
harmen
harmenOPβ€’9mo ago
I currently get a "502 Bad Gateway" when accessing the website trough my custom sub-domain and a "ERR_SSL_PROTOCOL_ERROR" while accessing the IP. The custom domain gets a 502 and the ip gets absolutely no response (i looked trough the network tab)
Jenkins
Jenkinsβ€’9mo ago
The IP isn't meant to get a response, that's normal
harmen
harmenOPβ€’9mo ago
ah good
Jenkins
Jenkinsβ€’9mo ago
You followed with Automatic SSL right? Are you sure the site files are correctly installed? And you didn't fuck up PHP?
harmen
harmenOPβ€’9mo ago
I am currently at the "Configure" stage for setting up pterodactyl with wings jup, re-installed them 3x how do you mean that?
Jenkins
Jenkinsβ€’9mo ago
Are you sure caddy has perms to access the site files?
harmen
harmenOPβ€’9mo ago
No, i only saw commands to preform that action for apache and nginx. I assumed that it automaticlly had those prems because you said it was easy to set up :D is "xcaddy build" not missing here?
Jenkins
Jenkinsβ€’9mo ago
Uhhh, I don't think that's required Could you check Caddy logs?
harmen
harmenOPβ€’9mo ago
sure
Jenkins
Jenkinsβ€’9mo ago
journalctl -u caddy Then scroll to the bottom
harmen
harmenOPβ€’9mo ago
any way to make putty timeout longer? ah its saying 80 is already in use I rebooted bc caddy was listening there
SilentBot
SilentBotβ€’9mo ago
Did you ever stop / disable apache?
harmen
harmenOPβ€’9mo ago
yup sure did 3x even
SilentBot
SilentBotβ€’9mo ago
netstat -tlupn | grep 443 should tell you what process is listening on port 443 if I remembered the flags correctly Likewise replace 443 with 80 for http
harmen
harmenOPβ€’9mo ago
yea i did that, 443 was filled with caddy after i swapped. Currently its just talking about port 80 already being occupied. So i rebooted, because port 80 was used by caddy itself
harmen
harmenOPβ€’9mo ago
No description
harmen
harmenOPβ€’9mo ago
its failing starting on port 80
Jenkins
Jenkinsβ€’9mo ago
You're not meant to do that... Use port 443
harmen
harmenOPβ€’9mo ago
i didn't
Jenkins
Jenkinsβ€’9mo ago
Just use the example config in the pterodactyl docs
harmen
harmenOPβ€’9mo ago
i did wierd, lemme re-make that file then
Jenkins
Jenkinsβ€’9mo ago
If it's trying to start on port 80 then it isn't using the config file you gave it Make sure to put it in the correct path It may be different than the docs
harmen
harmenOPβ€’9mo ago
No description
SilentBot
SilentBotβ€’9mo ago
(it may try and start on port 80 for certbot / LE, I can't remember though) journalctl -u caddy -n 100 -f
harmen
harmenOPβ€’9mo ago
i used etc/caddy/Caddyfile ?
SilentBot
SilentBotβ€’9mo ago
logs
Jenkins
Jenkinsβ€’9mo ago
Run that
harmen
harmenOPβ€’9mo ago
mke
harmen
harmenOPβ€’9mo ago
Once again conflicting with itself?
No description
Jenkins
Jenkinsβ€’9mo ago
Are you absolutely sure nothing is running on 443 already
harmen
harmenOPβ€’9mo ago
No description
Jenkins
Jenkinsβ€’9mo ago
Try this
harmen
harmenOPβ€’9mo ago
bruh apache2 forced its restart after sudo reboot
SilentBot
SilentBotβ€’9mo ago
then systemctl disable apache2
harmen
harmenOPβ€’9mo ago
how to kill apache so that it doesnt revive? ah good also did: sudo systemctl stop apache2 Just to make sure its dead dead I made a request to the server while having logs up and this popped up: : {"level":"error","ts":1719418083.4575362,"logger":"http.log.error.log0","msg":"dialing backend: dial unix /run/php/php8.1-fpm.sock: connect: no such file or directory","request":{"remote_ip":"<redacted>","remote_port":"<redacted>","client_ip":"<redacted>","proto":"HTTP/3.0","method":"GET","host":"<subdomain.domain.com>","uri":"/auth/login","headers":{"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (<redacted>) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 OPR/109.0.0.0"],"Sec-Fetch-Site":["none"],"Sec-Fetch-Mode":["navigate"],"Sec-Fetch-Dest":["document"],"Cache-Control":["max-age=0"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Accept-Language":["<redacted>;q=0.9,en-US;q=0.8,en;q=0.7"],"Sec-Ch-Ua":[""Opera GX";v="109", "Not:A-Brand";v="8", "Chromium";v="<redacted>""],"Sec-Ch-Ua-Mobile":["?0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Sec-Ch-Ua-Platform":[""Windows""],"Sec-Fetch-User":["?1"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h3","server_name":"<subdomain.domain.com>"}},"duration":0.000380314,"status":502,"err_id":"u1c4x9ews","err_trace":"reverseproxy.statusError (reverseproxy.go:1269)"}
Jenkins
Jenkinsβ€’9mo ago
You still have default values somewhere I think There's a <subdomain>.domain.com in that log
harmen
harmenOPβ€’9mo ago
rm /etc/caddy/Caddyfile did this no i changed that
SilentBot
SilentBotβ€’9mo ago
This error indicates phpfqm is not running at the expected path /run/php/php8.1-fpm.sock
harmen
harmenOPβ€’9mo ago
in order to not advertise
Jenkins
Jenkinsβ€’9mo ago
Oh
harmen
harmenOPβ€’9mo ago
im using php 8.2 any way to tell caddy what php version to use?
SilentBot
SilentBotβ€’9mo ago
Then check that /run/php/php8.2-fpm.sock exists If so, update it in caddy (I'm unsure where, never used caddy)
harmen
harmenOPβ€’9mo ago
no such file or directory ???
Jenkins
Jenkinsβ€’9mo ago
Well, then you didn't set it up
SilentBot
SilentBotβ€’9mo ago
/etc/caddy/config/php-fpm.conf is where you set it
harmen
harmenOPβ€’9mo ago
i did use 8.2 during setup, and i had pterodactyl running on multiple occasions
SilentBot
SilentBotβ€’9mo ago
service --status-all verify that you can see php-fqm in that list and copy the exact name
harmen
harmenOPβ€’9mo ago
no such file or directory
SilentBot
SilentBotβ€’9mo ago
then do systemctl <name you copied> status
harmen
harmenOPβ€’9mo ago
no php there
SilentBot
SilentBotβ€’9mo ago
You may have php_fastcgi unix//run/php/php8.1-fpm.sock in your actual .conf then
harmen
harmenOPβ€’9mo ago
what do you mean <name you copied> ?
SilentBot
SilentBotβ€’9mo ago
Then you didn't install all the required dependencies From the service --status-all command, if php-fpm was there.
harmen
harmenOPβ€’9mo ago
command not found
SilentBot
SilentBotβ€’9mo ago
It's not a command...
harmen
harmenOPβ€’9mo ago
oh my bad did sudo apt-get install php8.2-fpm
SilentBot
SilentBotβ€’9mo ago
Follow the instructions on the pterodactyl site exactly as they're written 8.1 would start working with your current config And is what the ptero docs say iirc?
ProGamingDk
ProGamingDkβ€’9mo ago
8.1 is recommended yes
No description
harmen
harmenOPβ€’9mo ago
Its super wierd, i followed the dependencies multiple times, exactly as written
ProGamingDk
ProGamingDkβ€’9mo ago
No description
SilentBot
SilentBotβ€’9mo ago
You must have missed some steps
harmen
harmenOPβ€’9mo ago
I will downgrate to 8.1 then
Arthurmeade12
Arthurmeade12β€’9mo ago
It was only having trouble connecting to the php-fpm socket at the default path You may just need to change the expected path of the socket in the caddy config
SilentBot
SilentBotβ€’9mo ago
Given the php-fpm service wasn't installed as a service There's probably a lot more going on than just not being at the default path
harmen
harmenOPβ€’9mo ago
I have downgraded all packages to 8.1, do i need to tell caddy that i have done so? Sorry, i took a bit of a break Still getting that pesky 500 internal server error Caddy logs also no longer add information once i make a call to the server I cannot find the following php 8.1 extentions: tokenizer openssl pdo
SilentBot
SilentBotβ€’9mo ago
Then install them php8.1- followed by the extension name
harmen
harmenOPβ€’9mo ago
fr? sudo apt-cache search php8.1-tokenizer And changing the parts behind the "-" does not bring up enything
harmen
harmenOPβ€’9mo ago
No description
harmen
harmenOPβ€’9mo ago
is there any way to see caddy's log files of php?
ProGamingDk
ProGamingDkβ€’9mo ago
Getting Started | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
harmen
harmenOPβ€’9mo ago
i did that a while ago like 780 lines of commands ago
Skullians
Skulliansβ€’9mo ago
apt -y install php8.1 php8.1-{common,cli,gd,mysql,mbstring,bcmath,xml,fpm,curl,zip}
harmen
harmenOPβ€’9mo ago
No description
Skullians
Skulliansβ€’9mo ago
have you uninstalled php 8.2
harmen
harmenOPβ€’9mo ago
2nd paragraph πŸ™ƒ
Skullians
Skulliansβ€’9mo ago
mb try running this
harmen
harmenOPβ€’9mo ago
these are executed commands on the server btw
harmen
harmenOPβ€’9mo ago
No description
harmen
harmenOPβ€’9mo ago
did, see img above
Skullians
Skulliansβ€’9mo ago
Right so what now What’s happening
harmen
harmenOPβ€’9mo ago
maybe i can find it in the php log files because its a 500 error Thats most of the time a php error, in the php logs i will find a reason its not working
ProGamingDk
ProGamingDkβ€’9mo ago
have you checked ptero queue service? systemctl status pteroq
Skullians
Skulliansβ€’9mo ago
^
harmen
harmenOPβ€’9mo ago
I couldn't find how to access php logs from caddy on google thats good to know
Skullians
Skulliansβ€’9mo ago
run it show the output
harmen
harmenOPβ€’9mo ago
"Failed to start Pterodactyl Queue Worker."
No description
Skullians
Skulliansβ€’9mo ago
have you tried rebooting your machine
ProGamingDk
ProGamingDkβ€’9mo ago
systemctl reset-failed pteroq && systemctl restart pteroq
harmen
harmenOPβ€’9mo ago
yess will do now will try next no sigar, same issue
ProGamingDk
ProGamingDkβ€’9mo ago
show systemctl status pteroq
harmen
harmenOPβ€’9mo ago
fair lol i don't have that command installed
harmen
harmenOPβ€’9mo ago
No description
ProGamingDk
ProGamingDkβ€’9mo ago
remove the show i meant to show the outpout output*
harmen
harmenOPβ€’9mo ago
lol my bad 🀣
harmen
harmenOPβ€’9mo ago
Was thinking about it for a while, then this
No description
ProGamingDk
ProGamingDkβ€’9mo ago
run tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99
harmen
harmenOPβ€’9mo ago
No description
harmen
harmenOPβ€’9mo ago
Does that upload the logs to a log website of pterodactyl? Or does it show the logs in console?
ProGamingDk
ProGamingDkβ€’9mo ago
website
harmen
harmenOPβ€’9mo ago
any way i can review what data is send or not?
Skullians
Skulliansβ€’9mo ago
just it will output a link send it here
harmen
harmenOPβ€’9mo ago
mke Hmm it seems to have struggles with redis again, i tought i fixed that https://pteropaste.com/v4lw
Skullians
Skulliansβ€’9mo ago
What did you put for the redis password in the .env
harmen
harmenOPβ€’9mo ago
That is the same as i have set for the redis server
Skullians
Skulliansβ€’9mo ago
ERR AUTH <password> called without any password configured for the default user. Are you sure your configuration is correct?
harmen
harmenOPβ€’9mo ago
I used: config set requirepass <yourpasswordhere> to set the password for redis
Skullians
Skulliansβ€’9mo ago
you have specified a password in ptero .env
harmen
harmenOPβ€’9mo ago
Yes
Skullians
Skulliansβ€’9mo ago
but redis default user has no set password
harmen
harmenOPβ€’9mo ago
No description
Skullians
Skulliansβ€’9mo ago
yes but redis itself
harmen
harmenOPβ€’9mo ago
How do i set that password? yes i did:
Skullians
Skulliansβ€’9mo ago
Redis defaults to no password
harmen
harmenOPβ€’9mo ago
redis-cli config set requirepass <yourpasswordhere> After restart too ?
Skullians
Skulliansβ€’9mo ago
Stack Overflow
How to set password for Redis?
I'm working with redis on my local machine so I dont really need to set up a password to connect to the server with my php client (I'm using predis as a client). However, I'm moving my app to a live
harmen
harmenOPβ€’9mo ago
i tought the command fixed that
Skullians
Skulliansβ€’9mo ago
:Shrug: try set the password in .env to nothing for now Once you get everything working you can mess with redis
harmen
harmenOPβ€’9mo ago
Is redis exposed to the internet? According to what i read its a database that only exists in memory
ProGamingDk
ProGamingDkβ€’9mo ago
not by default
harmen
harmenOPβ€’9mo ago
Where is the redis.conf file located?
ProGamingDk
ProGamingDkβ€’9mo ago
its set to safemode
harmen
harmenOPβ€’9mo ago
good
ProGamingDk
ProGamingDkβ€’9mo ago
untill you add a password 😭
harmen
harmenOPβ€’9mo ago
whut?
ProGamingDk
ProGamingDkβ€’9mo ago
yeah
Skullians
Skulliansβ€’9mo ago
redis defaults to no password
harmen
harmenOPβ€’9mo ago
It automaticlly exposes itself to the internet if you give it a password??
Skullians
Skulliansβ€’9mo ago
hence why when setting up ptero it says that
harmen
harmenOPβ€’9mo ago
Yea no worries, i will remove it from the .env
SilentBot
SilentBotβ€’9mo ago
It stops listening on 127.0.0.1 and goes to 0.0.0.0, yes
ProGamingDk
ProGamingDkβ€’9mo ago
^^
harmen
harmenOPβ€’9mo ago
That is absolutely insane why???
SilentBot
SilentBotβ€’9mo ago
It wouldn't be public if you have a firewall setup
Skullians
Skulliansβ€’9mo ago
because redis is typically used for internal use
harmen
harmenOPβ€’9mo ago
i find that cringe
Skullians
Skulliansβ€’9mo ago
theres no point having it publicly available
SilentBot
SilentBotβ€’9mo ago
Or you know, firewall it like you should be with other services
Skullians
Skulliansβ€’9mo ago
^
harmen
harmenOPβ€’9mo ago
Still gotta figure all that out, ngl kinda stupid of me but still
SilentBot
SilentBotβ€’9mo ago
Seems like this all is 😭
harmen
harmenOPβ€’9mo ago
?
SilentBot
SilentBotβ€’9mo ago
I misread your message as it (firewall) being new to you
Skullians
Skulliansβ€’9mo ago
Right so harmen have you cleared the .env redis password
harmen
harmenOPβ€’9mo ago
ah, reading my first few messages explains a lot, I'm a web software developer with 3 years of experience and i am quite familiar with laragon and packages like used here. But just not with debugging trough linux terminal yes how do i restart ptero again? I cannot re-find that command in my mess of commands
SilentBot
SilentBotβ€’9mo ago
You don't restart pterodactyl, you restart pteroq, caddy or php-fpm
Skullians
Skulliansβ€’9mo ago
systemctl restart pteroq
harmen
harmenOPβ€’9mo ago
ty systemctl status pteroq status: active http 500 error
SilentBot
SilentBotβ€’9mo ago
pteroq being active/inactive wouldn't help, that's for emails / scheduled tasks
harmen
harmenOPβ€’9mo ago
sudo reboot :D?
Skullians
Skulliansβ€’9mo ago
at this point just reboot yeah
harmen
harmenOPβ€’9mo ago
90 sec one of the main reasons i wanted to do this is because my community needs it, but i also like learning new stuff. Kinda difficult to find solutions online tho...
Skullians
Skulliansβ€’9mo ago
once you’ve rebooted send the logs of pteroq, etc
harmen
harmenOPβ€’9mo ago
https://pteropaste.com/i9lw Only outdated info
harmen
harmenOPβ€’9mo ago
Active
No description
Skullians
Skulliansβ€’9mo ago
Are you able to connect To the panel
harmen
harmenOPβ€’9mo ago
nopes still http 500 error
harmen
harmenOPβ€’9mo ago
Can this be viable?
No description
harmen
harmenOPβ€’9mo ago
I found it on a reddit thread
Skullians
Skulliansβ€’9mo ago
do this again
ProGamingDk
ProGamingDkβ€’9mo ago
thats literally what weve been doing
ProGamingDk
ProGamingDkβ€’9mo ago
can you just in case show the error page?
SilentBot
SilentBotβ€’9mo ago
You should get new logs when it 500 errors, send those
ProGamingDk
ProGamingDkβ€’9mo ago
redis error, password when no password is configured
harmen
harmenOPβ€’9mo ago
Yes, but like i said, those errors are outdated
Skullians
Skulliansβ€’9mo ago
Did you save the .env
harmen
harmenOPβ€’9mo ago
Sure did
Skullians
Skulliansβ€’9mo ago
hm
ProGamingDk
ProGamingDkβ€’9mo ago
^
harmen
harmenOPβ€’9mo ago
No description
Skullians
Skulliansβ€’9mo ago
remove the β€œβ€ from the REDIS_PASSWORD And this Screenshot it
harmen
harmenOPβ€’9mo ago
No description
harmen
harmenOPβ€’9mo ago
Needed to remove data to coply with rules, took a bit sorry I am calling it trough a dns record made using bisect hosting. The subdomain points to the main server IP
ProGamingDk
ProGamingDkβ€’9mo ago
bisecthosting 😭
harmen
harmenOPβ€’9mo ago
Exactly the reason of this entire thing. The ubuntu server that this thread revolves around is hosted at "Hetzner".
Skullians
Skulliansβ€’9mo ago
Maybe try delete the log file?
harmen
harmenOPβ€’9mo ago
lol sure how? as in idk where its saved
Skullians
Skulliansβ€’9mo ago
rm /var/www/pterodactyl/storage/logs/laravel-$(date+%F).log try that
harmen
harmenOPβ€’9mo ago
ty Cannot find (date+%F)
harmen
harmenOPβ€’9mo ago
No description
Skullians
Skulliansβ€’9mo ago
send the output of ls /var/www/pterodactyl/storage/logs
harmen
harmenOPβ€’9mo ago
No description
harmen
harmenOPβ€’9mo ago
server location and my location do not differ in timezone
Skullians
Skulliansβ€’9mo ago
remove laravel-2024/06-27.log
harmen
harmenOPβ€’9mo ago
rm /var/www/pterodactyl/storage/logs/laravel-2024/06-27.log no wait rm /var/www/pterodactyl/storage/logs/laravel-2024-06-27.log empty output
Skullians
Skulliansβ€’9mo ago
Run the ls command of the folder see if it’s still there
harmen
harmenOPβ€’9mo ago
No description
harmen
harmenOPβ€’9mo ago
only yesterday
Skullians
Skulliansβ€’9mo ago
right restart pteroq then try connect
harmen
harmenOPβ€’9mo ago
sudo reboot After that i'll: tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99 and send that
Skullians
Skulliansβ€’9mo ago
yeah
harmen
harmenOPβ€’9mo ago
It didn't generate new logs
Skullians
Skulliansβ€’9mo ago
even with the 500 error?
ProGamingDk
ProGamingDkβ€’9mo ago
systemctl status caddy systemctl status pteroq
harmen
harmenOPβ€’9mo ago
Could it be that my firewall is wrongly setup? Does it allow 443 by default seeing that i have changed nothing about the firewall? http 500 error ye
ProGamingDk
ProGamingDkβ€’9mo ago
wouldnt return 500 error what firewall are you using?
harmen
harmenOPβ€’9mo ago
Both running I didn't install one Maybe hetzner has one ?
SilentBot
SilentBotβ€’9mo ago
500 error indicates it's an issue with caddy speaking with php-fpm or the php being evaluated
harmen
harmenOPβ€’9mo ago
ye can i see php logs?
Skullians
Skulliansβ€’9mo ago
check caddy logs and iirc php logs are in /var/logs somewhere
harmen
harmenOPβ€’9mo ago
ty i went to root and did: tree -d To show all directories, no files I cannot find a "caddy" directive at all The caddy directive does exist, its hidden. But it only shows the caddyfile Sorry, i do not know how to reach caddy logs, i will keep looking Should i delete php 8.2 and 8.3 .ini files?
Skullians
Skulliansβ€’9mo ago
log (Caddyfile directive) - Caddy Documentation
Caddy is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go
Skullians
Skulliansβ€’9mo ago
any logs for php?
harmen
harmenOPβ€’9mo ago
i feel stupid, i have been looking at that for a bit. But i cannot find any commands to execute to get the logs. Nor does it give me a directive to look for.... "output stderr" says that the command "output" is not installed
Skullians
Skulliansβ€’9mo ago
cat path_to_log do you know Linux?
harmen
harmenOPβ€’9mo ago
i do know the "cat" command yes, its for reading files and nano is for writing. But i cannot find the logs anywhere in my file system. What is "path_to_log" because thats the part i need.
Skullians
Skulliansβ€’9mo ago
send the contents of /var/log
harmen
harmenOPβ€’9mo ago
ty for the help, going amazing
harmen
harmenOPβ€’9mo ago
found it finally
No description
Skullians
Skulliansβ€’9mo ago
nice
harmen
harmenOPβ€’9mo ago
sorry for spam:
Admincraft Meta
Admincraft Metaβ€’9mo ago
We have uploaded your file to a paste service for better readability
Paste services are more mobile friendly and easier to read than just posting a file
Requested by h.reijerman#0
harmen
harmenOPβ€’9mo ago
it just says 500 error again....
SilentBot
SilentBotβ€’9mo ago
Your php-fpm logs will be more useful
harmen
harmenOPβ€’9mo ago
i tought so too, still no sigar ;(
harmen
harmenOPβ€’9mo ago
No description
harmen
harmenOPβ€’9mo ago
No description
harmen
harmenOPβ€’9mo ago
all the logs i got, and yes apache is still dead
SilentBot
SilentBotβ€’9mo ago
And you're sure caddy is pointed at php8.1-fpm and not 8.2 after your downgrade?
harmen
harmenOPβ€’9mo ago
no, i asked how to tell caddy this tho. How would i go about doing that?
harmen
harmenOPβ€’9mo ago
HostnExtra
Enable PHP Using Caddy on Ubuntu Chapter - HostnExtra
In this article, we'll explain how to enable PHP using Caddy on Ubuntu based server. We have described steps to install and configure PHP.
SilentBot
SilentBotβ€’9mo ago
Should be something like php_fastcgi in your caddy config, which points to the socket Unsure which config though
harmen
harmenOPβ€’9mo ago
Seems to say php8.1-fpm.sock
No description
harmen
harmenOPβ€’9mo ago
Could previous https certificates be conflicting from certbot?
Skullians
Skulliansβ€’9mo ago
at this point just reinstall your OS lmao
harmen
harmenOPβ€’9mo ago
sigh, i tought of that too No idea how to do that tho Do i need to contact Hetzner? We bring out the nucliar options
ProGamingDk
ProGamingDkβ€’9mo ago
no tbh
ProGamingDk
ProGamingDkβ€’9mo ago
yes
harmen
harmenOPβ€’9mo ago
keyboard layout: us right? for normal european qwerty? Englisch typing countries
Skullians
Skulliansβ€’9mo ago
yeah
harmen
harmenOPβ€’9mo ago
ty, ill nuke it and then re-install everything exactly according to docs. A friend of mine told me to install php 8.3 so ill just do only nessesary and recommended steps etc. Using caddy. Ill let know once im done and have results
Skullians
Skulliansβ€’9mo ago
yeah, follow the doc step by step
harmen
harmenOPβ€’9mo ago
lets hope i didn't ruin my server, lol
harmen
harmenOPβ€’9mo ago
bruh
No description
harmen
harmenOPβ€’9mo ago
So just to confirm: <domain> is supposed to be replaced with?: "panel.minecraftserver.com" "https://panel.minecraftserver.com" "minecraftserver.com"
No description
ProGamingDk
ProGamingDkβ€’9mo ago
Panel.minecraftserver.com
harmen
harmenOPβ€’9mo ago
ty Does that count for all refrences of <domain>?
SilentBot
SilentBotβ€’9mo ago
yes
harmen
harmenOPβ€’9mo ago
the bullsh*t continues:
No description
harmen
harmenOPβ€’9mo ago
Any way to completely remove nginx after accidentally installing it?
ProGamingDk
ProGamingDkβ€’9mo ago
You could also just use nginx, caddy isnt a requirement
harmen
harmenOPβ€’9mo ago
sure, i just want it to work of once how do i fix the error?
SilentBot
SilentBotβ€’9mo ago
There isn't an error message in the attached screenshot journalctl -u nginx -n 100 Probably that you didn't generate the SSL certificates for your domain and put them at the path in the config So it's failing to load them
harmen
harmenOPβ€’9mo ago
ah so i gotta run certbot again
SilentBot
SilentBotβ€’9mo ago
check the logs first and then check they exist in /etc/letsencrypt/live/
harmen
harmenOPβ€’9mo ago
well i know i didnt create the ssl
harmen
harmenOPβ€’9mo ago
Im starting to loose my patience How do i "deploy a DNS TXT record"?
No description
ProGamingDk
ProGamingDkβ€’9mo ago
systemctl stop nginx then remove --nginx from the certbot command you also set preferred challenge mode to dns, just dont include that
harmen
harmenOPβ€’9mo ago
Ill try that later :D i thank you so much sir(?) Allrighty, so whe are back where i was. I want to install wings now, but i am afraid that that will break anything like it did before. Any advise on that?
SilentBot
SilentBotβ€’9mo ago
Wings is a standalone process that shouldn't touch anything you've setup with Pterodactyl Minus pointing at the domain you've setup in the config
harmen
harmenOPβ€’9mo ago
ye okey Does pterodactyl and its dependencies automaticlly restart when i sudo reboot? Bc i think redis doesn't. I did configure it to do so I'll install wings then
SilentBot
SilentBotβ€’9mo ago
If they're installed as services, and are enabled Yeah
harmen
harmenOPβ€’9mo ago
How close to the sun should i fly with the memory and storage allocations for a pterodactyl node ? I have 63000 mb of memory left so i am gonna use 60000 I have 918gb of storage left so i can use 900 or 850gb?
No description
harmen
harmenOPβ€’9mo ago
(sorry for asking the silly questions now, i just want to make sure im done with this)
SilentBot
SilentBotβ€’9mo ago
Memory seems fine Disk space, just be aware if you run other services on the host (e.g. SQL servers, these can eat up disk space with stuff like coreprotect)
harmen
harmenOPβ€’9mo ago
damn, good call Arent those hosted trough pterodactyl too tho? Or is that still trough the root installation of mysql server? meaning same database as where the "panel" database is
Skullians
Skulliansβ€’9mo ago
you have to set up MySQL to allow users to make databases when you set up a database on ptero, you input the connection & auth details which is typically your local db
harmen
harmenOPβ€’9mo ago
ah ok, ty man
Skullians
Skulliansβ€’9mo ago
which is on your local storage
harmen
harmenOPβ€’9mo ago
aight, then i'll probably take 700gb for the server and leave the rest
harmen
harmenOPβ€’9mo ago
appearently i wasn't out of the waters yet. I currently have this issue while trying to start wings
No description
ProGamingDk
ProGamingDkβ€’9mo ago
you need a certificate for it
harmen
harmenOPβ€’9mo ago
erm, how do i make a certificate for a pterodactyl node? its based on its own ip adress
ProGamingDk
ProGamingDkβ€’9mo ago
the same way you did for the panel
harmen
harmenOPβ€’9mo ago
play.ourdomain is already in use by our other server. Does that block me from making a certificate now?
No description
Skullians
Skulliansβ€’9mo ago
you make a ssl cert for the panel and node domain
harmen
harmenOPβ€’9mo ago
yes, i want to make one for the node domain right now
Skullians
Skulliansβ€’9mo ago
if your panel is panel.ourdomain.com, make a SSL cert for that if your node FQDN is node.ourdomain.com, make a SSL cert for that. If you're node is on the same machine as the panel, put the panel domain as your node's FQDN
harmen
harmenOPβ€’9mo ago
I got it to work, amazing! First of all, thank you so much for helping me here, i wouldn't have figured it out otherwise! The server is well and truely up, and i can use it as expected I only need a firewall, ddos protection and a file system implementatioj, (most likely ftps) I will look into these myself and come back if i need additional information, any knowledge that is usefull regarding these topics is always handy.
Skullians
Skulliansβ€’9mo ago
firewall.. just use ufw or firewalld
harmen
harmenOPβ€’9mo ago
good to know, ty man
Skullians
Skulliansβ€’9mo ago
(firewalld > ufw) πŸ˜‰
ProGamingDk
ProGamingDkβ€’9mo ago
"ftps" nah sftp is builtinto pterodactyl and ssh server
harmen
harmenOPβ€’9mo ago
lol, exactly why i need help πŸ™ƒ
ProGamingDk
ProGamingDkβ€’9mo ago
ufw doesnt work well with docker, "ddos protection" is, a complicated topic, especially since with panel it isnt super easy (and the cheap options arent easy to setup)
harmen
harmenOPβ€’9mo ago
hmm, a guy from this discord told me i would need it because hetzners default isnt great. Any way to nip that one in the but? sorry, talking about ddos protection here will 100% do
Skullians
Skulliansβ€’9mo ago
apologies
harmen
harmenOPβ€’9mo ago
np chief, i didn't specify
ProGamingDk
ProGamingDkβ€’9mo ago
as said not a easy topic
Skullians
Skulliansβ€’9mo ago
but you are right, hetzner ddos sucks, and there's an infinite number of ddos prot providers
ProGamingDk
ProGamingDkβ€’9mo ago
good ones are "expensive", and most dont have easy setup
harmen
harmenOPβ€’9mo ago
as in money wise? expensive?
ProGamingDk
ProGamingDkβ€’9mo ago
yes
harmen
harmenOPβ€’9mo ago
thats not good
ProGamingDk
ProGamingDkβ€’9mo ago
can be anywhere from 10-100 usd per month, for a single server(machine) depending on provider/setup
Skullians
Skulliansβ€’9mo ago
^
harmen
harmenOPβ€’9mo ago
and free?
ProGamingDk
ProGamingDkβ€’9mo ago
none well
harmen
harmenOPβ€’9mo ago
damn
ProGamingDk
ProGamingDkβ€’9mo ago
oracle cloud tunneling, but thats not great
Skullians
Skulliansβ€’9mo ago
:OMEGALUL: there are some free providers (iirc?) but their bandwidth allowances are so low it's not worth it
ProGamingDk
ProGamingDkβ€’9mo ago
well not the only issue. Panel will leak backend ip unless he switches to a cloudflare/internalized panel and node, cloudflare non enterprise cant do ptero's sftp etc 100 mb panel upload limit
Skullians
Skulliansβ€’9mo ago
essentially the only option would be to move the panel to another server right? and have it connect to the node externally
ProGamingDk
ProGamingDkβ€’9mo ago
then you have to also protect wings with cloudflare
Skullians
Skulliansβ€’9mo ago
right true
harmen
harmenOPβ€’9mo ago
fr*ck me
ProGamingDk
ProGamingDkβ€’9mo ago
generally what i do is cloudflare proxying + cloudflare only + caddy + then external antiddos but thats not a "easy" nor supported setup (ptero doesnt support cloudflare proxy setups)
harmen
harmenOPβ€’9mo ago
how does this one look?: https://tcpshield.com
Jenkins
Jenkinsβ€’9mo ago
for website ddos protection..? no gosh
harmen
harmenOPβ€’9mo ago
no for the minecraft server we are discussing :D
Jenkins
Jenkinsβ€’9mo ago
ah You will have to reconfigure a lot but if you have time, you can set up Tailscale for you panel It's not really DDoS protection but instead a VPN Will prevent the panel from leaking your backend ip, and connections to the panel can ONLY BE MADE from those who are connected to Tailsclae That's what I usually do Works like a charm
harmen
harmenOPβ€’9mo ago
we have a domain. That should protect our ip no? Other people from here told me that the panel leaks my ip tho
Jenkins
Jenkinsβ€’9mo ago
no. it will not protect your ip It's extremely easy to see DNS records Even if you proxy it through Cloudflare, people can still use stuff like Censys to find it very easily Just use Tailscale @ProGamingDk^ Opinions on this solution?
ProGamingDk
ProGamingDkβ€’9mo ago
for a single users accessing panel, sure, for most people dont know how to use tailscale
harmen
harmenOPβ€’9mo ago
so ports that are blocked by firewall cannot be ddos'ed?
Jenkins
Jenkinsβ€’9mo ago
Uhh, no
ProGamingDk
ProGamingDkβ€’9mo ago
they can, it still has to see
Jenkins
Jenkinsβ€’9mo ago
The point is you need to hide the main IP
ProGamingDk
ProGamingDkβ€’9mo ago
if its blocked or not using cpu etc
harmen
harmenOPβ€’9mo ago
good t o confirm
ProGamingDk
ProGamingDkβ€’9mo ago
you can also just cloudflare proxy, and then block non cloudflare ips from connecting works generally fine or use caddy which doesnt leak cert, can change nginx to not leak cert either
Jenkins
Jenkinsβ€’9mo ago
For DDoS protection itself if you feel a little crazy you can proxy your server through OVH VAC(OVH VPSes are extremely cheap, even for high bandwith) May increase ping by about 3-10ms but it's pretty cheap
ProGamingDk
ProGamingDkβ€’9mo ago
do note it adds around 17 ping, and its not layer 7
harmen
harmenOPβ€’9mo ago
but how about ddos protecting the actual minecraft server? Not the panel.
Jenkins
Jenkinsβ€’9mo ago
If both servers are in Frankfurt it shoulnd't be that bad
ProGamingDk
ProGamingDkβ€’9mo ago
the vps dont have the game protection hetzner doesnt have frankfurt. its falkenstein
Jenkins
Jenkinsβ€’9mo ago
oh. Okay, well It will add ping but that is imo the cheapest solution The panel will leak the server's IP Even if the port is closed they can still DDoS the actual machine
harmen
harmenOPβ€’9mo ago
hmm, but people can also ddos our "play.servername.com" domain no? on port 25565
Jenkins
Jenkinsβ€’9mo ago
I mean, you do need to remind him that NeoProtect costs like 90EUR/m for infinite bandwith while OVH has all that for free...
ProGamingDk
ProGamingDkβ€’9mo ago
can be prevented
Jenkins
Jenkinsβ€’9mo ago
Yes If behind DDoS prot, no
ProGamingDk
ProGamingDkβ€’9mo ago
using the methods said above*
Jenkins
Jenkinsβ€’9mo ago
I recommend Tailscale It's the easiest and most secure imo
ProGamingDk
ProGamingDkβ€’9mo ago
depends on your clean mbit a second usage
Jenkins
Jenkinsβ€’9mo ago
NeoProtect may have additional features but most of the gaps can be filled with other software regardless
harmen
harmenOPβ€’9mo ago
how would that work?
ProGamingDk
ProGamingDkβ€’9mo ago
90 euros gives 400 mbit
Jenkins
Jenkinsβ€’9mo ago
Tailscale Β· Best VPN Service for Secure Networks
Tailscale is a zero config VPN for building secure networks. Install on any device in minutes. Remote access from any network or physical location.
Jenkins
Jenkinsβ€’9mo ago
I mean, it is unlimited on OVH so Plus you have very fancy extra features
ProGamingDk
ProGamingDkβ€’9mo ago
i was talking about neoprotect and how that wasnt 90/m for infinite bandwidth
Jenkins
Jenkinsβ€’9mo ago
You are limited by the VPSes bandwith limit, not the DDoS protections at that point oh I meant bandwith as in traffic
Jenkins
Jenkinsβ€’9mo ago
No description
Jenkins
Jenkinsβ€’9mo ago
All their plans have a traffic limit
ProGamingDk
ProGamingDkβ€’9mo ago
i was talking for their full machine protection that fair use is bullshit imo
ProGamingDk
ProGamingDkβ€’9mo ago
No description
No description
Jenkins
Jenkinsβ€’9mo ago
lmao NeoProtect does have nice features but imo I do not think it is worth the price Also you can't really get access to the good PoPs unless you pay at least 30EUR/m
harmen
harmenOPβ€’9mo ago
English isn't my first language, so i cannot follow the spirit of this conversation. As i currently think there are 2 potential solutions would you mind enlightening me?
Jenkins
Jenkinsβ€’9mo ago
Just use Tailscale
harmen
harmenOPβ€’9mo ago
tailscale is a vpn, usually used to protect a computer using a remote server. How would this work as ddos protection and how do i set it up?
Jenkins
Jenkinsβ€’9mo ago
It is not for DDoS protection It is to prevent exposing the panel to the internet
harmen
harmenOPβ€’9mo ago
aha, and how do i prevent the game server from getting ddos'ed?
Jenkins
Jenkinsβ€’9mo ago
Get a DDoS protection provider Neo, TCPShield, or what I told you("DIY" DDoS protection via OVH)
harmen
harmenOPβ€’9mo ago
like baseclly preventing port 25565 from being reached. Because panel and server are on the same machine How would i go about doing that?
Jenkins
Jenkinsβ€’9mo ago
uhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Eternal
Eternalβ€’9mo ago
how is it easier to use or more functionality neo doesn't offer l7 :sad:
Jenkins
Jenkinsβ€’9mo ago
vac
Eternal
Eternalβ€’9mo ago
surf uses them you still need a proxy like tcp
Jenkins
Jenkinsβ€’9mo ago
no not really OVH has custom game shields for minecraft
ProGamingDk
ProGamingDkβ€’9mo ago
it does what
ProGamingDk
ProGamingDkβ€’9mo ago
this is l7
No description
ProGamingDk
ProGamingDkβ€’9mo ago
No description
Eternal
Eternalβ€’9mo ago
does it work with remoteshield tho
ProGamingDk
ProGamingDkβ€’9mo ago
not sure*
Eternal
Eternalβ€’9mo ago
:eyes_dilate:
ProGamingDk
ProGamingDkβ€’9mo ago
its stateful so possibly?
harmen
harmenOPβ€’9mo ago
any one has any idea?
Jenkins
Jenkinsβ€’9mo ago
Okay, I can help right now Just wait a little
harmen
harmenOPβ€’9mo ago
Snapcraft
Install Easy TCP Server/Client Tool on Ubuntu using the Snap Store ...
Get the latest version of Easy TCP Server/Client Tool for on Ubuntu - Easily install to test TCP connections.
harmen
harmenOPβ€’9mo ago
got it boss
Jenkins
Jenkinsβ€’9mo ago
No don't do that
harmen
harmenOPβ€’9mo ago
mke
Jenkins
Jenkinsβ€’9mo ago
What IP is your panel running on 0.0.0.0 or 127.0.0.1
harmen
harmenOPβ€’9mo ago
prettysure its 127.0.0.1 but how can i double check?
Jenkins
Jenkinsβ€’9mo ago
Where is the pterodactyl .env file you generated Actually it should be 127.0.0.1 yeah Can you install Tailscale really quickly
Jenkins
Jenkinsβ€’9mo ago
Tailscale Β· Best VPN Service for Secure Networks
Tailscale is a zero config VPN for building secure networks. Install on any device in minutes. Remote access from any network or physical location.
Jenkins
Jenkinsβ€’9mo ago
Then login on both your PC and your server
harmen
harmenOPβ€’9mo ago
yea, only 127.0.0.1 there
Jenkins
Jenkinsβ€’9mo ago
Alright good Just install Tailscale now
harmen
harmenOPβ€’9mo ago
what was tailscale again?
harmen
harmenOPβ€’9mo ago
Download Β· Tailscale
Tailscale is a zero config VPN for building secure networks. Install on any device in minutes. Remote access from any network or physical location.
Jenkins
Jenkinsβ€’9mo ago
VPN
harmen
harmenOPβ€’9mo ago
No description
harmen
harmenOPβ€’9mo ago
loggin in now, is that ok?
Jenkins
Jenkinsβ€’9mo ago
yeah Just log in to Tailscale
harmen
harmenOPβ€’9mo ago
ah thats gonna be a problem, the credentials for the company emails are with my boss. So only he can login. He says i can probably be back around 14:00 (2 PM) my current time: <t:1719906415> (GMT +2) sorry for that allrighty i logged in with tailscale Whats next chief @Jenkins ? chief? How do I install the vpn so that only I can reach it? @ProGamingDk you mind helping me out with this tomorrow? Bisect has majorly screwed us again, forcing us to speed up this process.
ProGamingDk
ProGamingDkβ€’9mo ago
no, unfortunately not, got a job interview and this isnt the setup i usually do anyways
Eternal
Eternalβ€’9mo ago
woah pgdk is getting a job
ProGamingDk
ProGamingDkβ€’9mo ago
Mandated by education
DogeConomy
DogeConomyβ€’9mo ago
work experience?
ProGamingDk
ProGamingDkβ€’9mo ago
Ig you can call it thqt, just a 5 year internship that goes handin hand with the education, can only be done at authorized businesses
DogeConomy
DogeConomyβ€’9mo ago
oh interesting
ProGamingDk
ProGamingDkβ€’9mo ago
basically it goes, half in school half at the place for 5 years (the length of my chosen education)
harmen
harmenOPβ€’9mo ago
How do i setup firewalld? Is this a good way?
No description
harmen
harmenOPβ€’9mo ago
And i installed, enabled and logged into tailscale. Do i need to change any settings or info regarding tailscale?
ProGamingDk
ProGamingDkβ€’9mo ago
this guide literally only does https
harmen
harmenOPβ€’9mo ago
Aaah, I understand now So two things to do: Setup what traffic flows to monitor And setup what ports are accessible trough the Internet. Ofcourse enabling deny by default and then adding a whitelist off ports To add a gameserver to the protection I would do it like this, correct? sudo firewall-cmd --permanent --zone=public --add-port=25565/tcp I am quite unfamiliar with cyber defence and I want to do it right. It would be bad for my server to loose all data as a result of this process failing so please excuse my many questions :D
Skullians
Skulliansβ€’9mo ago
That command is correct also do /udp port too
harmen
harmenOPβ€’9mo ago
Thank youu!!
ProGamingDk
ProGamingDkβ€’9mo ago
no real point he has a full ip so he would be able to do 19132 for bedrock if he wants to do that 25565 udp is only for query thats disabled by default anyways afaik
Skullians
Skulliansβ€’9mo ago
Oh fair
harmen
harmenOPβ€’9mo ago
(Neoprotect has been successfully completed)
ProGamingDk
ProGamingDkβ€’9mo ago
i would check your domain on search.censys.io
harmen
harmenOPβ€’9mo ago
By the emoji response i see this as a good result.
No description
Jenkins
Jenkinsβ€’9mo ago
or, censys just didn't have enough time to find your site lol
harmen
harmenOPβ€’9mo ago
Lol, but we want it to not be able to find the site correct?
harmen
harmenOPβ€’9mo ago
Not good
No description
harmen
harmenOPβ€’9mo ago
They found my panel domain
ProGamingDk
ProGamingDkβ€’9mo ago
anddd your ddos protection is now useless
harmen
harmenOPβ€’9mo ago
ok, so how do i prevent this? bc you told me to install a vpnon it, which i did. And then no further steps where required so?
ProGamingDk
ProGamingDkβ€’9mo ago
how are you accessing the panel
harmen
harmenOPβ€’9mo ago
trough a panel sub-domain
ProGamingDk
ProGamingDkβ€’9mo ago
right, but your panel is accessible from the public internet correct?
harmen
harmenOPβ€’9mo ago
The ddos protection is also on the main.subdomain And the panel i acces trough panel.subdomain Even though both are available through both yes
ProGamingDk
ProGamingDkβ€’9mo ago
right the issue is there
harmen
harmenOPβ€’9mo ago
I would like it to not be but i have no idea how to do that would the following work?: Only allow anyone to access the panel from my IP, and change this through ssh setting trough ssh when nessesary. sorry, i don't fully understand or do you mean i have to access the panel through the ddos protected domain?
Skullians
Skulliansβ€’9mo ago
if it's accessible from the internet anyone can see it
harmen
harmenOPβ€’9mo ago
yes, how do i make that not the case? How do i make it only accessable to me?
Skullians
Skulliansβ€’9mo ago
are you selfhosting
harmen
harmenOPβ€’9mo ago
nopes, all on hetzner chief! which makes this wish a little more complicated, seeing that local ip's tend to change from time to time Please? I would like to get this sorted.
Eternal
Eternalβ€’9mo ago
what if you block the port and restrict to cf
ProGamingDk
ProGamingDkβ€’9mo ago
restrict to cf, then has to make everything under cf and sftp on panel breaks etc and i meant right now + if a player/malicious actor has domain rn and for the next 24-48 hours or other literally any historical data tool if its just a normal A record, he needs a new ip
Eternal
Eternalβ€’9mo ago
wings is also leaked?
ProGamingDk
ProGamingDkβ€’9mo ago
cloudflare panel and non cloudflare wings is not great and needs a ssl cert, etc messy
Eternal
Eternalβ€’9mo ago
no it's fine really i use a even more complex setup
ProGamingDk
ProGamingDkβ€’9mo ago
its still messy for a beginner -.-
Eternal
Eternalβ€’9mo ago
sure the IP did end up getting leaked on cenys kekw
ProGamingDk
ProGamingDkβ€’9mo ago
-.-
Eternal
Eternalβ€’9mo ago
cf -> npm -> pterodactyl ptero restricted to npm internal IP and I can't bother restricting NPM to CF
ProGamingDk
ProGamingDkβ€’9mo ago
cf -> ptero works fine for my setup and yeah loose sftp on panel but eh dont need it much, and client is fine with it, just less pain
harmen
harmenOPβ€’9mo ago
So I delete the subdomain?
Eternal
Eternalβ€’9mo ago
no you knock hetzner's door and ask for a new IP
harmen
harmenOPβ€’9mo ago
Great
Eternal
Eternalβ€’9mo ago
unless if you don't mind your cloudflare protection being useless
harmen
harmenOPβ€’9mo ago
How do I prevent this happening in the future?
ProGamingDk
ProGamingDkβ€’9mo ago
and pay 30-40 usd i think we paid like 22+? from his previous sys-admin causing leaks
Eternal
Eternalβ€’9mo ago
properly restrict pterodactyl to cf
harmen
harmenOPβ€’9mo ago
What is cf?
Eternal
Eternalβ€’9mo ago
a free way to achieve is to infiltrate the hetzner datacenter and hold the technicians at gunpoint cloudflare shortened
harmen
harmenOPβ€’9mo ago
What is cloudflare?
Eternal
Eternalβ€’9mo ago
i think you should begin elsewhere
ProGamingDk
ProGamingDkβ€’9mo ago
*
No description
Eternal
Eternalβ€’9mo ago
like by learning what cloudflare is not installing pterodactyl
ProGamingDk
ProGamingDkβ€’9mo ago
neoprotect* being useless
Eternal
Eternalβ€’9mo ago
oh i thought they paid for cf for a second
harmen
harmenOPβ€’8mo ago
Look dudes, For these past 2 weeks I have only been searching for one thing: A list that tells me what programs to install to protect my baremetal pterodactyl server from attackers. If that is not possible, please let me know so I can change any parts of the formula. I would like this list so we can both stop wasting time on this matter, if I need to know more about the programs or technologies I would research them. I am a webdeveloper not an angry teenager. I thank you immensely for your support so far, but I need to get this server online. I think this would be the best way to be helped. If this matter is not as simple as "a list of programs" then please do let me know too, then I can look elsewhere. Nopes; neoprotect, firewalld and tailscale I wish there was another way of thanking you lads other than with words. I really do Would hetzner firewall work?
ProGamingDk
ProGamingDkβ€’8mo ago
against proper ddos attacks? no
harmen
harmenOPβ€’8mo ago
haha nono for a good firewall or is firewalld better?
ProGamingDk
ProGamingDkβ€’8mo ago
should be fine, firewall on machine should be fine aswell
harmen
harmenOPβ€’8mo ago
amazing ty I am currntly trying to get a ssl certificate from certbot while having ddos protection enabled. But thats not working
piggy
piggyβ€’8mo ago
@harmen
h.reijerman has reached level 2! Roles Added: Level 2
harmen
harmenOPβ€’8mo ago
Danm, that took a while
SilentBot
SilentBotβ€’8mo ago
You'll likely want to do the DNS challenge type if you don't want to/can't expose certbot
harmen
harmenOPβ€’8mo ago
ok they put me in timeout lol. I'll try later
DogeConomy
DogeConomyβ€’8mo ago
The limit is 5 attempts per hour (Rolling)
harmen
harmenOPβ€’8mo ago
indeed lolol
Torrent
Torrentβ€’8mo ago
My most annoying problem with installing pterodactyl was for sure using certbot Also something that can help immensely in the long run is find / -name <name to search>
harmen
harmenOPβ€’8mo ago
In cannot create a certificate for the neoprotect domain, using: certbot certonly -d prefix.mydomain.com Gives me a 404 I can make a txt record on my dns service, but would that interfere with the neoprotect domain? And can i remove this record after the certification? That makes the certtificate not auto-renewable correct?
SilentBot
SilentBotβ€’8mo ago
It can be auto-renewed via DNS challenge
harmen
harmenOPβ€’8mo ago
Any idea how i make a ssl certificate while having neo protect? Can i create a temporary dns record for this, and will it still auto renew when i remove that temporary record? Or am i understanding this wrong? Is only port 25565 coverd by neoprotect and do i have to find another way to protect my panel?
ProGamingDk
ProGamingDkβ€’8mo ago
thats what he keeps saying dns challenge would let you do that
harmen
harmenOPβ€’8mo ago
ok so for a dns challenge i need to make a txt type dns record correct? Can i remove this record after the certificate is granted or do i leave it there? (I am afraid of that scanner finding my ip again)
No description
ProGamingDk
ProGamingDkβ€’8mo ago
dns challenge wont have any ip in it
harmen
harmenOPβ€’8mo ago
I am sorry, i have some trouble understanding suggestive language in english so thats safe then, ok good to know ooh bc its an txt type I think i get it now ty
ProGamingDk
ProGamingDkβ€’8mo ago
Creating SSL Certificates | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
SilentBot
SilentBotβ€’8mo ago
The DNS challenge method for certbot adds a TXT record, either manually, or by using the API of your DNS provider, to add random text provided by letsencrypt to prove you own the domain.
harmen
harmenOPβ€’8mo ago
Good to know that, thank you
SilentBot
SilentBotβ€’8mo ago
I have mine setup using cloudflare and have a cloudflare API key on my machine for certbot to use, so the renewal is automatic
harmen
harmenOPβ€’8mo ago
hmm, the pterodactyl tutorial told me to put a command in the cronjob. So this will cover the renewal then. Can i remove the "_acme-challenge.subdomain" record? Or do i leave it there?
No description
No description
SilentBot
SilentBotβ€’8mo ago
After the cert has been issued, you can remove the record if you want though there's no harm in leaving it
harmen
harmenOPβ€’8mo ago
Allrighty amazing then. Ty so much Ok, so nginx is fully working, i just cannot reach the panel neither by using the ip or neoprotect domain. I currently have pterodactyl configured on the same subdomain as the neoprotect. Is that good or bad?
SilentBot
SilentBotβ€’8mo ago
I'm not familiar with neoprotect, but I wouldn't think it handles HTTP, only Minecraft traffic
harmen
harmenOPβ€’8mo ago
Correct, i cannot even make a configuration for any port below 1024 with them. But sadly i cannot reach my panel right now... it says: ERR_CONNECTION_TIMED_OUT
ProGamingDk
ProGamingDkβ€’8mo ago
thats usually firewall
harmen
harmenOPβ€’8mo ago
No description
SilentBot
SilentBotβ€’8mo ago
The IP not working means likely firewall, yeah ufw / iptables not the hetzner firewall
ProGamingDk
ProGamingDkβ€’8mo ago
also btw i would check historic dns records data on securitytrails.com to see if it has your hetzner ip
harmen
harmenOPβ€’8mo ago
i changed ip about a hour ago i haven't installed ufw or firewalld
ProGamingDk
ProGamingDkβ€’8mo ago
hetzner generally give a ip in the same subnet atleast to us (we had to change ip aswell)
harmen
harmenOPβ€’8mo ago
yes they did they gave a slightly diffrent ip
SilentBot
SilentBotβ€’8mo ago
Then verify via netstat -tlupn that nginx is listening on your IP or 0.0.0.0 and on the port you expect
harmen
harmenOPβ€’8mo ago
No description
harmen
harmenOPβ€’8mo ago
If i input the ip in my browser it changes it to my subdomain.domain.com But times out anyway πŸ˜• no records whatsoever, it crashes the website if i enter my previous ip
ProGamingDk
ProGamingDkβ€’8mo ago
youre not meant to search the ip search the domain
harmen
harmenOPβ€’8mo ago
yea we all clear none of the current or previous domains and subdomains are present i re-did the neoprotect linking but i still cannot talk to the panel Maybe pterodactyl cannot talk to the neoprotect domain?
SilentBot
SilentBotβ€’8mo ago
Ignoring the domain for the moment, going to the IP should still work Your next step would be to do something like: iptables -L | grep -i "drop" and seeing if there's any deny all rules from something
harmen
harmenOPβ€’8mo ago
No description
harmen
harmenOPβ€’8mo ago
yea, it wierdly doesn't
SilentBot
SilentBotβ€’8mo ago
just to sanity check, do you know if your routing your traffic outbound via tailscale? ip route get 1.1.1.1 or some public address should show what route it takes by default Because unless your traffic is somehow going out the wrong interface, the default input policy is allow So you should be getting traffic hitting Nginx At this point I'd look at tcpdump to see if traffic is reaching you, but that's too much to guide someone through if I want to keep my sanity :p
harmen
harmenOPβ€’8mo ago
Yes i have installed tailscale vpn according to instructions here. I have not changed anything after the installation. I will talke a thorough look once I am back home :D
SilentBot
SilentBotβ€’8mo ago
With tailscale, are you routing all outbound traffic over tailscale? If so, when you're testing this, are you connecting to the Tailscale exit node's IP (and have port forwarding setup for Nginx?), or the Tailscale clients IP directly?
harmen
harmenOPβ€’8mo ago
i am logged in to the vpn, but i do not know how the vpn acts. I have tried to reach the result of "tailscale ip" And that didn't do it
No description
SilentBot
SilentBotβ€’8mo ago
the command said here will show which interface/address it goes via
harmen
harmenOPβ€’8mo ago
Yes, i tried that ip and i got the same issue again. i tried a bunch of ips and they all gave the issue I will try something soon, ill let you know if it worked nvm, no sigar
harmen
harmenOPβ€’8mo ago
No description
SilentBot
SilentBotβ€’8mo ago
. If the IP returned from the ip route get 1.1.1.1 was your tailscale VPN
harmen
harmenOPβ€’8mo ago
it is not Sadly not
SilentBot
SilentBotβ€’8mo ago
Is the IP you're using to browse to nginx the VPN IP? Or the machine directly?
harmen
harmenOPβ€’8mo ago
I tried both But I don't think that vpns are meant for either What is the purpose of the vpn in this usecase?
SilentBot
SilentBotβ€’8mo ago
If it doesn't work with the direct IP and the traffic is going back out the right interface, it's likely a firewall inbetween causing issues. No clue, I'm unsure why you even have it installed if you're not using it. I'm unsure how you're protecting Pterodactyl though
harmen
harmenOPβ€’8mo ago
ppl here told me to lol i have no idea either
SilentBot
SilentBotβ€’8mo ago
They're probably wanting you to tunnel from another provider for protection for stuff like Ptero/Wings
harmen
harmenOPβ€’8mo ago
@Jenkins told me to If I setup the firewall to block everyone but my ip. Would that not work?
SilentBot
SilentBotβ€’8mo ago
Depends if you're using something like cloudflare infront of pterodactyl or not
harmen
harmenOPβ€’8mo ago
What is cloudflare?
SilentBot
SilentBotβ€’8mo ago
Connect, Protect and Build Everywhere | Cloudflare
Make employees, applications and networks faster and more secure everywhere, while reducing complexity and cost.
harmen
harmenOPβ€’8mo ago
does this limit pterodactyl too?
No description
ProGamingDk
ProGamingDkβ€’8mo ago
yes not for sftp tho, as sftp doesnt work under proxying and you would need to sftp to the machine itself
harmen
harmenOPβ€’8mo ago
So what is the problem that I am facing and why would using a firewall whitelist not work? Because that's a lot to pay
SilentBot
SilentBotβ€’8mo ago
You could use a IP whitelist, but then nobody else could connect to your server If you're meaning specifically for 80, 443 and 22, you could without issues, as long as others don't need to access Pterodactyl
harmen
harmenOPβ€’8mo ago
Exactly what i mean And i am aware that my ip changes, so nothing to worry ok, thats amazing to know ty sadly that did not fix the issue, i am still timing out
SilentBot
SilentBotβ€’8mo ago
Then you'll need to figure out where the traffic is stopping doing a mtr/traceroute should help
harmen
harmenOPβ€’8mo ago
cmd ping command works (computer -> server)
No description
harmen
harmenOPβ€’8mo ago
using ping <ip>
harmen
harmenOPβ€’8mo ago
I am not so sure what this means (server -> computer)
No description
harmen
harmenOPβ€’8mo ago
No description
harmen
harmenOPβ€’8mo ago
?
No description
SilentBot
SilentBotβ€’8mo ago
When you say "my pc" you're doing your external IP right? The traffic is getting to your server So it has to be firewall or binding related on the Hetzner side
harmen
harmenOPβ€’8mo ago
Correct, that is the computer I am trying to use to reach the server De-activating firewall and increasing dns ttl doesnt help. I have had problems with dns caching in the past, is there a way i can rule this out?
Snow Kit
Snow Kitβ€’8mo ago
there's sites that can show how dns resolves in different parts of the world. That'll tell you if it's dns at least
harmen
harmenOPβ€’8mo ago
thats a good one, It appears that the ip points to one of 2 records: one starting at 194 and one starting at 51 Is there a way to get to know my neoprotect ip?
Snow Kit
Snow Kitβ€’8mo ago
if you're using neoprotect, then you'll just want to check that the ips are owned by neoprotect you probably don't have "dedicated" neoprotect ips
harmen
harmenOPβ€’8mo ago
yes, they are. Even though the ip appears to be used multiple times once in germany and 3 times in the us It appears the canonical name is correct, according to my dns interface
harmen
harmenOPβ€’8mo ago
Using: https://dnschecker.org/domain-health-checker.php It cannot find my subdomain, i'll look into it
DNS Checker
Domain DNS Health Checker - Check DNS & MX Health
DNS Health check tool offers to generate complete domain DNS and MX record health report. It also checks MX records against SMTP service and check if your email server IP and domain IP exists in blacklists services or not.
harmen
harmenOPβ€’8mo ago
Any way to force dns updates?
No description
SilentBot
SilentBotβ€’8mo ago
That error from initial glance seems to indicate you don't have a nameserver set in your registrar for the domain? Or you've typed the domain you're typing in is wrong
harmen
harmenOPβ€’8mo ago
harmen
harmenOPβ€’8mo ago
No description
harmen
harmenOPβ€’8mo ago
sadly bisect be like:
No description
harmen
harmenOPβ€’8mo ago
Even though all values are valid yes i host my domain with bisect, yes i regret all my past decisions Can you guys confirm this is a problem? Then i can justify getting another dns that is not bissect.
SilentBot
SilentBotβ€’8mo ago
Yes, you should be using a SRV record for minecraft if you wish to use the same record for your panel too Otherwise, just put your panel on a subdomain, e.g. panel.whatever.xyz And leave the A record for neoprotect
Snowz
Snowzβ€’8mo ago
SWAP TO CLOUDFLARE!!!!!!!! :supershock:
harmen
harmenOPβ€’8mo ago
bisect hosting wont let me
Skullians
Skulliansβ€’8mo ago
why not
Torrent
Torrentβ€’8mo ago
Some domain registrars don’t allow you to transfer domainsπŸ’€
DogeConomy
DogeConomyβ€’8mo ago
bruh bisect does domain registration? well I just took a look, they do allow transfers but have a fee (which is standard in the industry)
DogeConomy
DogeConomyβ€’8mo ago
No description
Torrent
Torrentβ€’8mo ago
i was just stating that as a general rule. I haven't looked into bisect and yea that's pretty standard
Snowz
Snowzβ€’8mo ago
i mean not transfer but use cloudflare nameservers and then u can configure dns records on cloudflare
harmen
harmenOPβ€’8mo ago
Yup, I tried that. But they don't allow the change of default nameservers, meaning I cannot actually make the changes work. I told them to remove my domain about 20 hours ago. Their support is slower then a snail. *21 hours ago I have an Epp code. But i don't think i can use it because i cannot change the default nameservers
harmen
harmenOPβ€’8mo ago
Cloudflare Docs
Transfer your domain to Cloudflare Β· Cloudflare Registrar docs
Transferring your domain to Cloudflare tells your registry that a different registrar can now set those authoritative records for you. The …
harmen
harmenOPβ€’8mo ago
I need some help, So I cancelled my domain at bisecthosting, and now i want to activate the domain i made at cloudflare. But thats not working. Its still pending
SilentBot
SilentBotβ€’8mo ago
So when you buy a domain, you have a registrar you buy it from You can then tell that registrar to point your name servers to whatever provider you want typically You'd need to update your nameservers to point to the ones provided by cloudflare in the setup steps and wait ~1-24 hours for them to change for it to not be pending
harmen
harmenOPβ€’8mo ago
Bisect didnt let me
SilentBot
SilentBotβ€’8mo ago
Then you've transferred the domain to Cloudflare registrar? Or is the pending you're talking about from just adding the domain to cloudflare DNS?
harmen
harmenOPβ€’8mo ago
No idea I deactivated the domain i have at bisect. And i re-made it at cloudflare. Currently if i reach my site it is apperently on a registrar "godaddy". Nope I would not have a clue how to do that
SilentBot
SilentBotβ€’8mo ago
But if Bisesct don't allow you to point your nameservers to Cloudflare... then you can't just add it to cloudflare without transferring the domain to somewhere where you can change the nameservers (or cloudflare)
harmen
harmenOPβ€’8mo ago
I found the instructions on cloudflares website, but I am not allowed to change the dns servers. Like i saidπŸ₯² Ah oke
SilentBot
SilentBotβ€’8mo ago
Then you'd have to transfer the domain, or live with the Bisect DNS panel
ProGamingDk
ProGamingDkβ€’8mo ago
bisect is a godday reseller iirc
harmen
harmenOPβ€’8mo ago
I need a feature bisect doesn't offer Good to know How would I transfer said domain? I have an epp code
SilentBot
SilentBotβ€’8mo ago
Depends on what extension it is, e.g. .xyz, .com, .co.uk, etc.
harmen
harmenOPβ€’8mo ago
.com
SilentBot
SilentBotβ€’8mo ago
Then you'd need to find a registrar which allows .com's, e.g. Cloudflare
harmen
harmenOPβ€’8mo ago
Yea
SilentBot
SilentBotβ€’8mo ago
Go into the Registrar tab within your account, and click the transfer button, enter your domain and follow the steps But know, when you transfer your domain, you'll need to pay to renew it for another year in addition to whatever length you've currently paid for (even if your current length remaining is >1 year) Also note, Cloudflare registrar also forces you to use their name servers
harmen
harmenOPβ€’8mo ago
i instantly get stuck here, i cannot find a resolution in the documentation either
No description
harmen
harmenOPβ€’8mo ago
because i cannot do this step
No description
harmen
harmenOPβ€’8mo ago
It seems to come down to this: 1. I cannot transfer my domain to cloudflare because I didn't change the dns servers. 2. I am not allowed to change the dns servers on bisect. (Start over at step 1.) Also: I cannot register a new domain with my domain name because it is already in use. Am I right with that? How long does godaddy keep your domain after it is cancelled?
ProGamingDk
ProGamingDkβ€’8mo ago
until the end of the period so a year from when you bought im guessing
harmen
harmenOPβ€’8mo ago
Oof
SilentBot
SilentBotβ€’8mo ago
Yeah... Looks like Cloudflare requires their NS's to be setup before you can transfer You could always go to a registrar like porkbun, namecheap, etc. And then just point your nameservers to cloudflare once you're able to
ProGamingDk
ProGamingDkβ€’8mo ago
^^ i do that with namecheap currently on a few domains works great
SilentBot
SilentBotβ€’8mo ago
Yeah, same 6 with namecheap, 2 with cloudflare registrar
harmen
harmenOPβ€’8mo ago
Got it to work, except that my new dns doesnt work with bisect somehow
Torrent
Torrentβ€’8mo ago
harmen i commend you for your determination this thread has been long AF
harmen
harmenOPβ€’8mo ago
Thank you, The annoying part is that it bisect is still giving me this much trouble making a new server. But I see progress, so that's good enough and I'm getting there lol Looks like its finally all dandy
ProGamingDk
ProGamingDkβ€’8mo ago
I would check censys and security trails current and historical data
harmen
harmenOPβ€’8mo ago
I just need to know what incoming packages pterodactyl needs to be able to log you in. Just allowing my ip doesn't work all good literally 0 traces Can i enable registrar lock on bisect while my dns stuff is now on cloudlfare, with cloudflare nameservers? (the domain nameservers are set correctly at bisect) please?
SilentBot
SilentBotβ€’8mo ago
Incoming packages?
harmen
harmenOPβ€’8mo ago
yes, when i try to log into pterodactyl while only allowing incoming packages on the server that have my ip. I cannot login (request times out)
SilentBot
SilentBotβ€’8mo ago
When you're adding the IP limits in place, how/where are you doing this?
harmen
harmenOPβ€’8mo ago
hetzner firewall
SilentBot
SilentBotβ€’8mo ago
So you're adding this (or something similar):
No description
No description
harmen
harmenOPβ€’8mo ago
first diffrence with first image: i didn't set a destination IP (blocking still works) but practiclly the same, yes
SilentBot
SilentBotβ€’8mo ago
When you're connecting to Pterodactyl, are you connecting directly via the IP, do you have cloudflare proxy enabled, etc?
harmen
harmenOPβ€’8mo ago
No description
harmen
harmenOPβ€’8mo ago
using subdomain with no cloudflare porxy
SilentBot
SilentBotβ€’8mo ago
And your outbound rule is just the default:
No description
harmen
harmenOPβ€’8mo ago
yes except mail ports
SilentBot
SilentBotβ€’8mo ago
Mail ports disabled or?
harmen
harmenOPβ€’8mo ago
those are default blocked yup
SilentBot
SilentBotβ€’8mo ago
ah, ok Then with the rules you've got, as long as you don't have Cloudflare proxy enabled, should work
harmen
harmenOPβ€’8mo ago
( ._.) - reeeeeeee hmm, it times out after 20000ms lemme try something
ProGamingDk
ProGamingDkβ€’8mo ago
try looking at f12 console on your browser and also look at pterodactyl logs
harmen
harmenOPβ€’8mo ago
No description
harmen
harmenOPβ€’8mo ago
i have used www.google.com ONCE as a placeholder. But currently i cannot find it in any config files
No description
harmen
harmenOPβ€’8mo ago
oh my bad, its trying to do a captia verify Connection timed out (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://www.google.com/recaptcha/api/siteverify
ProGamingDk
ProGamingDkβ€’8mo ago
Additional Configuration | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
harmen
harmenOPβ€’8mo ago
ur amazing
ProGamingDk
ProGamingDkβ€’8mo ago
;D when you use ptero enough and for clients who needs different things you learn a fair few amount of random knowledge lol
harmen
harmenOPβ€’8mo ago
aaah, now i just get the captia instead of the re-captia. Thats amazing! i defenetly am yea, so much random knowledge and i love it euum, sorry. the issue is still there, i have tried to disable it through sql and artisan. Both seem to have no effect and the settings table in mysql seems to be empty
harmen
harmenOPβ€’8mo ago
No description
harmen
harmenOPβ€’8mo ago
should i contact pterodactyl crew about this?
ProGamingDk
ProGamingDkβ€’8mo ago
unsupported setup so probably no help, but ig?
harmen
harmenOPβ€’8mo ago
Any help would still be incredible! yea they werent of any help. The "settings" table is empty tho, is that any concern? Server just bricked after clearing laravel cache, any ideas on how to re-generate the cache? Sudo reboot didnt work
SilentBot
SilentBotβ€’8mo ago
If you deleted the entire cache, you just likely need to fix perms on the folder So running chmod -R 755 storage/* bootstrap/cache/ in the /var/www/pterodactyl folder I think I misunderstood your message When you say you cleared the cache, what folder did you delete/clear?
harmen
harmenOPβ€’8mo ago
I used a command php artisan cache:clear Thats what they told me to use, so i did And now i get the 500 error again that started this issue
ProGamingDk
ProGamingDkβ€’8mo ago
what does ptero logs say?
harmen
harmenOPβ€’8mo ago
No description
harmen
harmenOPβ€’8mo ago
yea you are probably correct, imma do that
harmen
harmenOPβ€’8mo ago
current issue:
No description
harmen
harmenOPβ€’8mo ago
It might have deleted these two files?
No description
Skullians
Skulliansβ€’8mo ago
did you do the permission command this
harmen
harmenOPβ€’8mo ago
jupp defo did and did sudo reboot after that
Skullians
Skulliansβ€’8mo ago
chown -R www-data:www-data /var/www/pterodactyl/* tried that?
Skullians
Skulliansβ€’8mo ago
Updating the Panel | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
harmen
harmenOPβ€’8mo ago
🀦 yeaaa, that fixed it. Ty man
Skullians
Skulliansβ€’8mo ago
np
harmen
harmenOPβ€’8mo ago
it still throws me off that the "settings" table is empty cannot get captia to be disabled, so close yet so far
No description
harmen
harmenOPβ€’8mo ago
:/
No description
harmen
harmenOPβ€’8mo ago
ok so in some kind of mega brain move the pterodactyl panel requires you to login to the panel to disable re-captia
harmen
harmenOPβ€’8mo ago
No description
ProGamingDk
ProGamingDkβ€’8mo ago
doesnt require you its meant to let you disable it from database as the doc i showed you says
harmen
harmenOPβ€’8mo ago
That didnt work, but i managed to fix it anyways I cannot create servers and my node is showing a red heart. it seems it cannot connect to the "computer that is supposed to run the server"
Skullians
Skulliansβ€’8mo ago
logs of wings?
harmen
harmenOPβ€’8mo ago
both? even while removing firewall it shits itself
ProGamingDk
ProGamingDkβ€’8mo ago
go to nodes press f12 and copy the console
harmen
harmenOPβ€’8mo ago
No description
harmen
harmenOPβ€’8mo ago
i tried both ip and domain name. Please do note that neoprotect is already setup or should i use 127.0.0.1 or 0.0.0.0?
Torrent
Torrentβ€’8mo ago
When I dealt with that, it was because wings was trying to initialize another instance of itself while already daemonized. Would recommend killing all instances of wings and systemctl restart wings But like Skullian said provide logs of wings with tail or journalctl
harmen
harmenOPβ€’8mo ago
regarding second part: my bad! Didnt realise he meant that. regarding first part: doing that now
harmen
harmenOPβ€’8mo ago
euuuuuuh
No description
harmen
harmenOPβ€’8mo ago
second part:
No description
harmen
harmenOPβ€’8mo ago
wings in debug mode does not give anything else then this
No description
Skullians
Skulliansβ€’8mo ago
Is port 8080 allowed
harmen
harmenOPβ€’8mo ago
Traffic from the server to itself is fully allowed Or do you mean i should allow all traffic to port 8080 from everywhere?
Skullians
Skulliansβ€’8mo ago
When you have wings debug running does the heart show red
harmen
harmenOPβ€’8mo ago
Yessir
ProGamingDk
ProGamingDkβ€’8mo ago
this usually means firewall which means have fun troubleshooting
Skullians
Skulliansβ€’8mo ago
^^
harmen
harmenOPβ€’8mo ago
Ah thats gonna be fun indeed. Seeing that i already tried it while it was disabled Oh well i got this far
Skullians
Skulliansβ€’8mo ago
make sure ufw and iptables are disabled to troubleshoot make sure ports are allowed through the router
harmen
harmenOPβ€’8mo ago
allrighty, last thing to fix i hope: reaching subdomain.domain.com:8080 gives a ERR_SSL_PROTOCOL_ERROR How can i check if the SSL certificate is enabled correctly? (nginx is enabled with SSL and panel can be reached with https://) And in the node list the node has a green lock on the ssl protocol However subdomain.domain.com has neoprotect over it, which might not be ssl. And the dns is "dns only" using cloudflare
Skullians
Skulliansβ€’8mo ago
did you use the same domain as your panel for your node FQDN, or is it different
harmen
harmenOPβ€’8mo ago
yes the FQDN = subdomain.domain.com. Which is the one i talk about in this part
Skullians
Skulliansβ€’8mo ago
did you use certbot to make your certs?
harmen
harmenOPβ€’8mo ago
yup, i have 2 dns records. One for the neoprotect domain and one for the panel domain should i change the subdomains associated with the gameserver to something that is not the panel subdomain?
Skullians
Skulliansβ€’8mo ago
hmm realistically it should work fine
Jenkins
Jenkinsβ€’8mo ago
man over 1k messages wtf
Skullians
Skulliansβ€’8mo ago
do you mind sending your node config? You can share it in DM / here and mask the sensitive info if you want
Jenkins
Jenkinsβ€’8mo ago
@harmen ur really dedicated
harmen
harmenOPβ€’8mo ago
i am trying to get this to work 😭
Skullians
Skulliansβ€’8mo ago
/etc/pterodactyl/config.yml iirc
harmen
harmenOPβ€’8mo ago
sure why not
harmen
harmenOPβ€’8mo ago
harmen
harmenOPβ€’8mo ago
seems that this config file has two things that concern me: ssl: false and a empty domain: domainname: "" I used the command to enable wings
Skullians
Skulliansβ€’8mo ago
turn on SSL make sure you change the cert path if you didn’t redact it
harmen
harmenOPβ€’8mo ago
in that config?
Skullians
Skulliansβ€’8mo ago
yeah or just do it in the wings node config on the panel If you can*
harmen
harmenOPβ€’8mo ago
yea i could but i was stupid and deleted the subdomain.domain.com that i used to reach my panel
Skullians
Skulliansβ€’8mo ago
And don’t worry my domain name is also empty in my wings config
harmen
harmenOPβ€’8mo ago
Now i cannot reach my panel anymore and even after adding it back its still broken. ok good
Skullians
Skulliansβ€’8mo ago
wait you deleted your subdomain.domain.com dns record??
harmen
harmenOPβ€’8mo ago
yea i thought it was conflicting and i make an inpulse decision
Skullians
Skulliansβ€’8mo ago
What’s the error when connecting
harmen
harmenOPβ€’8mo ago
So just a ssl certicifate refresh? Or am i cooked?
Skullians
Skulliansβ€’8mo ago
does ptero output any errors? DNS records can take up to 24 hours to propagate propagate*
harmen
harmenOPβ€’8mo ago
so i added the subdomain back : currently it just says "domain unreachable" and the last ptero log was from our ssl issue
No description
harmen
harmenOPβ€’8mo ago
chrome error: DNS_PROBE_FINISHED_NXDOMAIN ip gets converted to subdomain.domain.com sudo reboot is no cigar
Skullians
Skulliansβ€’8mo ago
hmm if you do curl localhost does the panel return fine
harmen
harmenOPβ€’8mo ago
systemctl status nginx shows all good
harmen
harmenOPβ€’8mo ago
301 moved permanently
No description
harmen
harmenOPβ€’8mo ago
ttl was on 1 min, when i deleted the domain
Skullians
Skulliansβ€’8mo ago
fuck I saw this issue couldn’t remember what fixed it Did you enable cloudflare proxy maybe By accident on the dns record
harmen
harmenOPβ€’8mo ago
ah BRUH
Skullians
Skulliansβ€’8mo ago
lol
harmen
harmenOPβ€’8mo ago
yea still nothing?? one sec
Skullians
Skulliansβ€’8mo ago
give it a moment but yeah that error means you’re missing SSL certificates so make sure your configs for the node are right (the path to the SSL key and cert)
SilentBot
SilentBotβ€’8mo ago
Why does your cert show: /etc/letsencrypt/live/<ip-adress 2 starting at 172>/fullchain.pem This should be your domain, not the IP address from my understanding
harmen
harmenOPβ€’8mo ago
hmm it was the ip adress
SilentBot
SilentBotβ€’8mo ago
are you sure the cert is generated correctly?
harmen
harmenOPβ€’8mo ago
yes there are certs for the subdomain.domain.com
SilentBot
SilentBotβ€’8mo ago
If you run certbot certificates what does it show? Then you need to update your config to use those ones, not the ones with your IP in the path
Skullians
Skulliansβ€’8mo ago
^^
harmen
harmenOPβ€’8mo ago
No description
harmen
harmenOPβ€’8mo ago
ok i will
SilentBot
SilentBotβ€’8mo ago
With red being your domain, right? Not your IP?
harmen
harmenOPβ€’8mo ago
everything in red is the subdomain.domain.com doing that now
Skullians
Skulliansβ€’8mo ago
your node remote is https, so you need SSL. make sure SSL is enabled in the config and your paths are correct to the cert / key like silent said. :D
SilentBot
SilentBotβ€’8mo ago
πŸ‘Œ
harmen
harmenOPβ€’8mo ago
i can reach my panel again
SilentBot
SilentBotβ€’8mo ago
:AGuraCheer:
Skullians
Skulliansβ€’8mo ago
:HYPERS:
harmen
harmenOPβ€’8mo ago
It cooked up a new error and still a red heart. red = subdomain.domain.com
No description
harmen
harmenOPβ€’8mo ago
shall i re-run the wings setup command? And overwrite?
Skullians
Skulliansβ€’8mo ago
I would try it
harmen
harmenOPβ€’8mo ago
got it
Skullians
Skulliansβ€’8mo ago
delete the node / the config.yml if it stays after deleting on the panel Then setup :)
harmen
harmenOPβ€’8mo ago
cloudflare is used but proxy on cloudflare is disabled
No description
harmen
harmenOPβ€’8mo ago
so that setting is good?
Skullians
Skulliansβ€’8mo ago
yes keep it as not behind proxy
harmen
harmenOPβ€’8mo ago
ty
harmen
harmenOPβ€’8mo ago
ptero logs: and chrome console says 504
No description
harmen
harmenOPβ€’8mo ago
gateway timeout
Skullians
Skulliansβ€’8mo ago
is uh wings running?
harmen
harmenOPβ€’8mo ago
how can i check?
Skullians
Skulliansβ€’8mo ago
systemctl status wings
harmen
harmenOPβ€’8mo ago
No description
SilentBot
SilentBotβ€’8mo ago
Is this on your home connection, or a server hosted somewhere out of curiosity?
Skullians
Skulliansβ€’8mo ago
right
harmen
harmenOPβ€’8mo ago
hetzner server
Skullians
Skulliansβ€’8mo ago
Run wings as debug wings --debug and see if there’s any errors
SilentBot
SilentBotβ€’8mo ago
So you're likely running into an issue with Cloudflare proxy
Skullians
Skulliansβ€’8mo ago
it’s disabled so how would that matter?
SilentBot
SilentBotβ€’8mo ago
Ah, I misread above
Skullians
Skulliansβ€’8mo ago
they had it previously enabled on their DNS record by mistake but turned it off ah gotcha lol but yeah do this Check if there’s any errors, and if the node shows green on the panel (refresh it). Likely the reason why you were experiencing the connection refused error was because wings wasn’t running as you hadn’t daemonized it
harmen
harmenOPβ€’8mo ago
No description
Skullians
Skulliansβ€’8mo ago
looks fine in the panel is it green?
harmen
harmenOPβ€’8mo ago
proxy disabled
Skullians
Skulliansβ€’8mo ago
the heart*
harmen
harmenOPβ€’8mo ago
now it is
Skullians
Skulliansβ€’8mo ago
nice stop the debug process
Skullians
Skulliansβ€’8mo ago
Installing Wings | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
harmen
harmenOPβ€’8mo ago
enablaling firewall again
Skullians
Skulliansβ€’8mo ago
ah alright
harmen
harmenOPβ€’8mo ago
No description
Skullians
Skulliansβ€’8mo ago
did you uh
SilentBot
SilentBotβ€’8mo ago
You've gotta create the service first
Skullians
Skulliansβ€’8mo ago
make the file yeah read the instructions ffs discord send messages
harmen
harmenOPβ€’8mo ago
nvm
harmen
harmenOPβ€’8mo ago
No description
Skullians
Skulliansβ€’8mo ago
nice now go to the panel and refresh it
harmen
harmenOPβ€’8mo ago
my bad lol
Skullians
Skulliansβ€’8mo ago
is the heart green nah dw
harmen
harmenOPβ€’8mo ago
yes
Skullians
Skulliansβ€’8mo ago
right
harmen
harmenOPβ€’8mo ago
wooooooooooooooooooooooooooooooooooooooh
Skullians
Skulliansβ€’8mo ago
you’re set!
harmen
harmenOPβ€’8mo ago
imma try to make a server ill get back to you
Skullians
Skulliansβ€’8mo ago
1170 messages damn
harmen
harmenOPβ€’8mo ago
and otherwise we party don't jinx it chief
Skullians
Skulliansβ€’8mo ago
:LUL:
harmen
harmenOPβ€’8mo ago
i still have loads of time to f*ck this up
Skullians
Skulliansβ€’8mo ago
lmao fingers crossed
harmen
harmenOPβ€’8mo ago
i like this
No description
Skullians
Skulliansβ€’8mo ago
nice :Prayge:
harmen
harmenOPβ€’8mo ago
hmm, bungeecord server is not installing
harmen
harmenOPβ€’8mo ago
Can i do this and then do a paper server?
No description
harmen
harmenOPβ€’8mo ago
my plan was to setup paper backends with proxy main (velocity was the idea)
Skullians
Skulliansβ€’8mo ago
yeah you can do that that’s usually what I do for things like pufferfish as well lmao do paper then swap jars
harmen
harmenOPβ€’8mo ago
all gold
harmen
harmenOPβ€’8mo ago
Any way to allow packets from scources that i have sent a request to? Using hetzner firewall
No description
harmen
harmenOPβ€’8mo ago
Or can i manually install servers too? Using a startup arguments file and the paper jar? nvm i forgot something
Skullians
Skulliansβ€’8mo ago
It can’t pull the docker image
harmen
harmenOPβ€’8mo ago
yea because of the firewall i guess does the docker image only need to be pulled once?
Skullians
Skulliansβ€’8mo ago
iirc yeah until the docker image gets updated then it updates automatically
harmen
harmenOPβ€’8mo ago
What if i make a new server ? Does it need to pull again? Or can it copy? I am looking for a way to make this work while not exposing my ip/panel and using firewall
Skullians
Skulliansβ€’8mo ago
I’m not entirely sure why it can’t pull the docker image it should be able to, no???
harmen
harmenOPβ€’8mo ago
the firewall blocks all packets
Skullians
Skulliansβ€’8mo ago
oh-
harmen
harmenOPβ€’8mo ago
because i dont want to expose the panel to the internet. I exposed port 25565 to the internet for the minecraft server But thats all
Skullians
Skulliansβ€’8mo ago
i am fairly sure it doesn’t try pull on every server if it already has it downloaded locally assuming it’s the same docker image I would recommend you expose your panel then maybe just pull maybe java 8, 11, 17 and 21 to be safe in case you ever need it your choice though
harmen
harmenOPβ€’8mo ago
umm
No description
Skullians
Skulliansβ€’8mo ago
uh does the file exist?
harmen
harmenOPβ€’8mo ago
im trying to check that rn
Skullians
Skulliansβ€’8mo ago
trying? Can you not access the file manager?
harmen
harmenOPβ€’8mo ago
not inside the panel no, because its "running installer"
Skullians
Skulliansβ€’8mo ago
that sounds like a screwed up egg what egg are you using?
harmen
harmenOPβ€’8mo ago
No description
Skullians
Skulliansβ€’8mo ago
If it’s starting the server but still in installing mode that’s a bad egg You can toggle install status in the manage section of the server in the admin panel
harmen
harmenOPβ€’8mo ago
i used pre-installed paper egg ill try that
Skullians
Skulliansβ€’8mo ago
did you specify a custom paper build or something In the variables when creating the server
harmen
harmenOPβ€’8mo ago
yup, no server.jar
No description
harmen
harmenOPβ€’8mo ago
no i defenetly didn't
Skullians
Skulliansβ€’8mo ago
yeah, I’d just upload the jar yourself OH I KNOW WHY Did you allow packets through the firewall When installing? because it has to download the jarfile from paper The egg creates the properties file itself but it downloads the jarfile from paper
harmen
harmenOPβ€’8mo ago
yup
Skullians
Skulliansβ€’8mo ago
so if you were still blocking everything through the firewall then it wouldn’t be able to download it wait what
harmen
harmenOPβ€’8mo ago
i allowed all traffic while installing....
Jenkins
Jenkinsβ€’8mo ago
both of you here are having the biggest fucking stroke I have ever seen and man
Skullians
Skulliansβ€’8mo ago
:HMM:
Jenkins
Jenkinsβ€’8mo ago
this thread is 1k messages
Skullians
Skulliansβ€’8mo ago
shush
Jenkins
Jenkinsβ€’8mo ago
tf is going on here
Skullians
Skulliansβ€’8mo ago
stop complaining
harmen
harmenOPβ€’8mo ago
we are tryinggggg
Skullians
Skulliansβ€’8mo ago
But regardless, just upload the paper jar
Jenkins
Jenkinsβ€’8mo ago
what even is the issue rn
Skullians
Skulliansβ€’8mo ago
yourself
harmen
harmenOPβ€’8mo ago
got it
Jenkins
Jenkinsβ€’8mo ago
what???? smh my head
Skullians
Skulliansβ€’8mo ago
wdym what?
Jenkins
Jenkinsβ€’8mo ago
what even is the issue rn
yourself
Skullians
Skulliansβ€’8mo ago
Paper egg didn’t download the paper jar read my fucking messages you sent a message between them
Jenkins
Jenkinsβ€’8mo ago
it was a joke
Skullians
Skulliansβ€’8mo ago
1
Jenkins
Jenkinsβ€’8mo ago
smh
Skullians
Skulliansβ€’8mo ago
2
harmen
harmenOPβ€’8mo ago
i cannot go to the papermc website can you?
Jenkins
Jenkinsβ€’8mo ago
yes
Skullians
Skulliansβ€’8mo ago
Uh I can’t
Jenkins
Jenkinsβ€’8mo ago
wait what can't either
harmen
harmenOPβ€’8mo ago
oops my bad XD
Skullians
Skulliansβ€’8mo ago
right it’s not your problem
harmen
harmenOPβ€’8mo ago
jk
Skullians
Skulliansβ€’8mo ago
it’s paper’s
Jenkins
Jenkinsβ€’8mo ago
the paper api is down...
harmen
harmenOPβ€’8mo ago
LOL
Skullians
Skulliansβ€’8mo ago
it all is
harmen
harmenOPβ€’8mo ago
hmmm...
No description
harmen
harmenOPβ€’8mo ago
wasnt me
Skullians
Skulliansβ€’8mo ago
Happened about 3 minutes ago
harmen
harmenOPβ€’8mo ago
wellp gotta wait then lolk
Skullians
Skulliansβ€’8mo ago
o7 yep you can always try puffer if you don’t need 1.21 lol
harmen
harmenOPβ€’8mo ago
around the time i requested my jars 0_o
Skullians
Skulliansβ€’8mo ago
harmen broke papermc!!! ban this guy!!!
harmen
harmenOPβ€’8mo ago
noooooooooooooo
Jenkins
Jenkinsβ€’8mo ago
No description
Skullians
Skulliansβ€’8mo ago
yeah
harmen
harmenOPβ€’8mo ago
wellp guess i wait
Skullians
Skulliansβ€’8mo ago
mhm
Jenkins
Jenkinsβ€’8mo ago
fyi @harmen@Skullianshttps://api.papermc.io/v2/projects/paper/versions/1.21/builds/109/downloads/paper-1.21-109.jar download fast, CF has it cached DOWNLOAD FAST!!!
Skullians
Skulliansβ€’8mo ago
I cba I can’t even download it
harmen
harmenOPβ€’8mo ago
gotta love caching
harmen
harmenOPβ€’8mo ago
heh
No description
Skullians
Skulliansβ€’8mo ago
now watch the paper jar be unable to check for updates kek their docs are fine interestingly enough could just be CF
harmen
harmenOPβ€’8mo ago
No description
Skullians
Skulliansβ€’8mo ago
nice! glad you got it all working
harmen
harmenOPβ€’8mo ago
yea feels good wellp, if any of y'all manage to find the server. Lemme know you helped me here and ill see if i can arrange anything if thats what you wish for. especially silentbot, skullians and progamingdk
ProGamingDk
ProGamingDkβ€’8mo ago
just happy you got everything working tbh
harmen
harmenOPβ€’8mo ago
yea same
Skullians
Skulliansβ€’8mo ago
^^
harmen
harmenOPβ€’8mo ago
Authentication servers are down. Please try again later, sorry!
Skullians
Skulliansβ€’8mo ago
:Hmm:
harmen
harmenOPβ€’8mo ago
it worked, and then i relogged and it didnt.
No description
harmen
harmenOPβ€’8mo ago
Firewall issue?
ProGamingDk
ProGamingDkβ€’8mo ago
or just mojang their auth servers arent exactly stable
harmen
harmenOPβ€’8mo ago
no, its firewall how can i allow minecraft authentication server's incoming packets?
ProGamingDk
ProGamingDkβ€’8mo ago
its a web request so 80/443
Skullians
Skulliansβ€’8mo ago
^
harmen
harmenOPβ€’8mo ago
This does not allow authentication server requests to go through
No description
harmen
harmenOPβ€’8mo ago
but if i expose 80/443 incoming packets my panel gets exposed, no?
ProGamingDk
ProGamingDkβ€’8mo ago
well you shouldnt need to its not incoming on those ports its just accessing mojangs site ive had issues with authentication server failing when using a tunnel (like neoprotect) (in my case it was wireguard) due to a wrongly set mtr
harmen
harmenOPβ€’8mo ago
but my server expects a response from moyang, no?
ProGamingDk
ProGamingDkβ€’8mo ago
doesnt go in on those ports remember, you dont need to portforward 80/443 on a selfhosted server
harmen
harmenOPβ€’8mo ago
i disabled the "allow everything" rule to allow all traffic and authentication worked again Do you have a suggested solution? A firewall blocks all packets that don't follow the firewall rules, correct?
harmen
harmenOPβ€’8mo ago
Reddit
From the hetzner community on Reddit
Explore this post and more from the hetzner community
SilentBot
SilentBotβ€’8mo ago
It depends, some can be default allow, so you have to explicitly deny traffic you don't want, or some can be default deny, where you have to explicitly allow any traffic you want to pass.
harmen
harmenOPβ€’8mo ago
I want to block all traffic to the server EXCEPT: - Any traffic to port 25565 to allow players to play the game. - any traffic the server needs to do minecrafts authentication. I just don't know hoe to do the latter
SilentBot
SilentBotβ€’8mo ago
Add a rule which looks like this:
No description
SilentBot
SilentBotβ€’8mo ago
Which will allow any traffic to come back based on connections you've initiated outbound e.g. to mojang auth servers This should also be included in the template firewall rules you can pick from Which your rules likely should be ontop of anyway
harmen
harmenOPβ€’8mo ago
Amazing, ty so much
harmen
harmenOPβ€’8mo ago
That hasn't fixed it however. Is it responsible to allow all ack packets?
No description
SilentBot
SilentBotβ€’8mo ago
I assume your docker containers just don't have access to the internet If you try and check the version of your server software, does it throw an error?
harmen
harmenOPβ€’8mo ago
i was able to connect and play on the server before how would i check the version of my server software?
SilentBot
SilentBotβ€’8mo ago
Depending on your server, paper, purpur, etc, just the version command
harmen
harmenOPβ€’8mo ago
i suppose you are right, how do i give a docker container acces to the internet?
No description
harmen
harmenOPβ€’8mo ago
in docker config? maybe config.yml from earlier?
SilentBot
SilentBotβ€’8mo ago
Pterodactyl sets that up correctly by default
harmen
harmenOPβ€’8mo ago
Allowing all ack connections still results in unreachable authentication servers well it seems to be buggerd right now, i did updates and upgrades and reboot i checked configs too both authentication servers and version command are failing But the ack is applied correctly
ProGamingDk
ProGamingDkβ€’8mo ago
if you do ip a, what ip does the neoprotect tunnel have? or is it just a neoprotect dns record
harmen
harmenOPβ€’8mo ago
i am unsure what you mean by "ip a" The neoprotect domain is setup using both dns and has the real ip configured. The neoprotect domain is setup using a srv record with _minecraft and _tcp on it. Before the subdomain. The value of this record is the same as i would get using CNAME ooh it just updated
harmen
harmenOPβ€’8mo ago
No description
harmen
harmenOPβ€’8mo ago
where is the neoprotect tunnel ip supposed to be? I cannot find it
harmen
harmenOPβ€’8mo ago
hey i got a new error
No description
harmen
harmenOPβ€’8mo ago
No description
harmen
harmenOPβ€’8mo ago
SpigotMC - High Performance Minecraft
(SOLVED) yggdrasil public key issues
(SOLVED) i guess? solution at bottom of post hello folks I recently created a spigot server for myself and have run into an issue yesterday I set the...
From An unknown user
From An unknown user
No description
harmen
harmenOPβ€’8mo ago
I guess i wait
ProGamingDk
ProGamingDkβ€’8mo ago
looks like dns issues
harmen
harmenOPβ€’8mo ago
i didn't change anything regarding dns in between logging in first time and the issue so ill just wait a bit them, unless you got any ideas
harmen
harmenOPβ€’8mo ago
still nothing
No description
ProGamingDk
ProGamingDkβ€’8mo ago
dns atleast thats the "error" or else yeah firewall are you allowing port 53 traffic?
harmen
harmenOPβ€’8mo ago
Answer: no Additional info: I am allowing all ack packets :D What is port 53 used for?
ProGamingDk
ProGamingDkβ€’8mo ago
dns
harmen
harmenOPβ€’8mo ago
So allow all traffic to port 53 always?
ProGamingDk
ProGamingDkβ€’8mo ago
well, might not need it as 53 is for dns servers not clients you have weird issues but its hard to help in uber specific setups
harmen
harmenOPβ€’8mo ago
How does allowing port 53 work on cloudflare? If thats what you meant. Or did you mean server firewall?
ProGamingDk
ProGamingDkβ€’8mo ago
i was meaning firewall
harmen
harmenOPβ€’8mo ago
Roger!
ProGamingDk
ProGamingDkβ€’8mo ago
well, might not need it as 53 is for dns servers not clients
havent had to deal with dns issues like this before
harmen
harmenOPβ€’8mo ago
I have magic powers for causing super specific and infuriating bugs. On both my internships too I'll try that soon, ty allowing all traffic to port 53 doesnt help, ill try the same with sudo reboot tomorrow :D
Torrent
Torrentβ€’8mo ago
I’m just amazed that in a thread simply trying to get pterodactyl to start you end up fucking about with tailscale and neoprotect and 1400 messages later you still can’t start your server lol
harmen
harmenOPβ€’8mo ago
. yea no cigar
harmen
harmenOPβ€’8mo ago
This is the only domain i have regarding the minecraft server
No description
harmen
harmenOPβ€’8mo ago
This is the panel domain. Both red boxes have the same value but the scribbled out parts are diffrent. On this image the scribbled out part is the server's ip adress which scares me a little bit
No description
harmen
harmenOPβ€’8mo ago
i did sudo tcpdump and found the following: 11:02:52.553561 IP <my-server>.34597 > one.one.one.one.domain: 18507+ [1au] A? sessionserver.mojang.com. (53) 11:02:52.553571 IP <my-server>.51342 > one.one.one.one.domain: 16709+ [1au] AAAA? sessionserver.mojang.com. (53) 11:02:52.560410 IP one.one.one.one.domain > <my-server>.34597: 18507 5/0/1 CNAME sessionserver-d5hmddgyhza3g3e5.z01.azurefd.net., CNAME star-azurefd-prod.trafficmanager.net., CNAME shed.dual-low.s-part-0032.t-0009.t-msedge.net., CNAME s-part-0032.t-0009.t-msedge.net., A 13.107.246.60 (246) 11:02:52.561126 IP one.one.one.one.domain > <my-server>.51342: 16709 5/0/1 CNAME sessionserver-d5hmddgyhza3g3e5.z01.azurefd.net., CNAME star-azurefd-prod.trafficmanager.net., CNAME shed.dual-low.s-part-0032.t-0009.t-msedge.net., CNAME s-part-0032.t-0009.t-msedge.net., AAAA 2620:1ec:bdf::60 (258) It seems like the moment i disable the firewall i get a lot of traffic on port 60, should i allow port 60 to make connections?
harmen
harmenOPβ€’8mo ago
according to this chart the requests to and from the sessionserver are made in the "Registered ports" category
No description
harmen
harmenOPβ€’8mo ago
I would assume i cannot just allow traffic over those ports correct? As that would be unsafe It seems that packets from the session server do not get a ack flag, is there a fix?
harmen
harmenOPβ€’8mo ago
this makes it work
No description
harmen
harmenOPβ€’8mo ago
mojang uses the "syn" tcp flag for login packets instead of ack like it should. Anyone know some better fix then this? pls ok so the minecraft response packets are: NOT TCP NOT within the "Dynamic and/or private ports" range NOT send with an ACK flag ARE: send through a public domain resolver named 1.1.1.1 can you make it any less secure mojang? Is allowing all trafiic from 1.1.1.1 a bad idea? Im stuck now
ProGamingDk
ProGamingDkβ€’8mo ago
its not response packets it doesnt get that far 1.1.1.1 is just the dns iirc wings uses it by default it cant even try to get the minecraft public keys because it couldnt find the ip for the server the public keys are on
harmen
harmenOPβ€’8mo ago
buti requested a reply from mojang authentication servers no? so any reply to that should be a response packet?
ProGamingDk
ProGamingDkβ€’8mo ago
it doesnt know what the ip for the mojang authentication servers ar e if dns requests to 1.1.1.1 (the dns server) is blocked
harmen
harmenOPβ€’8mo ago
my server sends request to one.one.one.one.domain which is sessionserver.mojang.com remember the packet logs i send where when the firewall was down
ProGamingDk
ProGamingDkβ€’8mo ago
one.one.one.one is the dns server where your server / wings asks what ip sessionserver.mojang.com has
harmen
harmenOPβ€’8mo ago
yes i know that, its the most public and the fastest one
ProGamingDk
ProGamingDkβ€’8mo ago
yes if 1.1.1.1/one.one.one.one is blocked it cant get the ip of sessionserver.mojang.com aka cant send the request
harmen
harmenOPβ€’8mo ago
then why does adding this rule fix it?
No description
ProGamingDk
ProGamingDkβ€’8mo ago
because youre unblocking the connection to the dns server? so it can get the ip of sessionserver.mojang.com
harmen
harmenOPβ€’8mo ago
so the only way to fix this is to allow all incoming connections from 1.1.1.1 ? with destination ports: 32768-65535
ProGamingDk
ProGamingDkβ€’8mo ago
1.1.1.1 is fine if you want any http/https request on the mc server to go through
harmen
harmenOPβ€’8mo ago
can bad ppl not use 1.1.1.1?
ProGamingDk
ProGamingDkβ€’8mo ago
or anything that need the ip of a domain
harmen
harmenOPβ€’8mo ago
allrighty then
ProGamingDk
ProGamingDkβ€’8mo ago
they can use it, but they cant be it
harmen
harmenOPβ€’8mo ago
isnt that the same level of danger?
ProGamingDk
ProGamingDkβ€’8mo ago
no not at all
harmen
harmenOPβ€’8mo ago
ok then then im set untill a new issue surfaces lol can i select a version for this?
harmen
harmenOPβ€’8mo ago
No description
harmen
harmenOPβ€’8mo ago
is there a way i can make my domain work while being proxied by cloudflare? i am afraid of the dns A record exposing our ip. Or should i just remember my ip at that point? (but pterodactyl doesnt work without dns right?) any way to setup a dns firewall for a single subdomain in cloudflare pro? Or does the server firewall achive the same goal? Sorry if i seem a bit paranoid
ProGamingDk
ProGamingDkβ€’8mo ago
ptero does work without dns but it would be http so all traffic would be unencrypted between your browser and ptero
harmen
harmenOPβ€’8mo ago
How about creating a srv record that points to a (proxied) "A" record? Of of which the srv record is the subdomain which is used to reach the panel. Would that hide my ip adress?
ProGamingDk
ProGamingDkβ€’8mo ago
srv doesnt work for web you do realise at this point youve spent so much time when you could have gone to a provider that has good quality antiddos for not that much more right kek
SilentBot
SilentBotβ€’8mo ago
Or just throwing $5 to a sysadmin who knows what they're doing πŸ˜…
ProGamingDk
ProGamingDkβ€’8mo ago
5 usd would get you a not good sysadmin tbh
harmen
harmenOPβ€’8mo ago
Wellp im a special kind of idiot And i learned Which was the deal i had with the investor
ProGamingDk
ProGamingDkβ€’8mo ago
sure but you can do a proper setup while not being 100% reliant on it theres learning and then theres improper planning
harmen
harmenOPβ€’8mo ago
And besides using premade hosting has already cost us a lot of players and money
ProGamingDk
ProGamingDkβ€’8mo ago
not what i meant at ALL
harmen
harmenOPβ€’8mo ago
That was not a reply to your comment above my reply :D Anyhoozles Got more advise? I still feel under protected/uninformed I shouldn't be 100% reliant on a server? How not?
ProGamingDk
ProGamingDkβ€’8mo ago
thats not what i meant
harmen
harmenOPβ€’8mo ago
Would you mind to elaborate?
ProGamingDk
ProGamingDkβ€’8mo ago
as you said your learning, you shouldnt rely 100% on what you setup, you should have proper/good host offered antiddos as a fallback well like i can use smth like pebblehosts dedi which come with inhouse and cosmicguard fallback, and still use neoprotect antiddos can leak traffic to the backend
harmen
harmenOPβ€’8mo ago
I am afraid we don't have the buget for that (yet)
ProGamingDk
ProGamingDkβ€’8mo ago
what hetzner machine? do you have and pebble was just a example
harmen
harmenOPβ€’8mo ago
Dedicated baremetal 64gb 2x ryzen 7 7000
ProGamingDk
ProGamingDkβ€’8mo ago
2x? you mean 1
harmen
harmenOPβ€’8mo ago
1tb software raid 1
ProGamingDk
ProGamingDkβ€’8mo ago
r7 7700
harmen
harmenOPβ€’8mo ago
Euuuh yea Lemme check on that actually Yep you where correct 1x ryzen 7 7000 series 14 cores?
SilentBot
SilentBotβ€’8mo ago
8 cores, 16 threads
harmen
harmenOPβ€’8mo ago
Lol I got cores and threads confused. And I rememberd the value with the os removed, so free threads Free threads = 14 Yea u are right what where you getting at?
SilentBot
SilentBotβ€’8mo ago
I think the point was that for the price you're paying for a Hetzner dedicated server, you could get one from a provider which handles a lot of the DDoS protection (and other) side of things for you. Though I may be misreading what Pro was meaning
ProGamingDk
ProGamingDkβ€’8mo ago
no that was about it sorry been busy, had my first alochol cocktail ever and im being hit insanely hard rn lol
SilentBot
SilentBotβ€’8mo ago
have fun πŸ˜›
ProGamingDk
ProGamingDkβ€’8mo ago
im... not having fun rn
SilentBot
SilentBotβ€’8mo ago
the cocktails should help with what
harmen
harmenOPβ€’8mo ago
one cocktail gets you hammerd? :D
Deer Jerky
Deer Jerkyβ€’8mo ago
yikes, you good?
ProGamingDk
ProGamingDkβ€’8mo ago
YES head felt heavy, my jaw felt weird it was weird
Skullians
Skulliansβ€’8mo ago
5 more will sort that out
harmen
harmenOPβ€’8mo ago
Are you American perchance?
Skullians
Skulliansβ€’8mo ago
no he isn’t DK = Denmark iirc
harmen
harmenOPβ€’8mo ago
Ah lol
ProGamingDk
ProGamingDkβ€’8mo ago
Danish in germany rn my initials but same same
Skullians
Skulliansβ€’8mo ago
lmao
ProGamingDk
ProGamingDkβ€’8mo ago
cant be doxxed if parents are doxxing you
ProGamingDk
ProGamingDkβ€’8mo ago
Troubleshooting | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
harmen
harmenOPβ€’8mo ago
Yea lol Also I'm looking into moving ddos protection to cloudflare
ProGamingDk
ProGamingDkβ€’8mo ago
Dont Its 100 - 1000 usd a tb traffic For mc
harmen
harmenOPβ€’8mo ago
OOF
ProGamingDk
ProGamingDkβ€’8mo ago
Yes
harmen
harmenOPβ€’8mo ago
nvm
ProGamingDk
ProGamingDkβ€’8mo ago
Yeah...
MrDadone
MrDadoneβ€’8mo ago
just use neoprotect, works perfectly fine even tho it's really expensive to cover 1 single node, as there is a base fee of like 70€ / month to use it, that doesn't change even if you have more servers
harmen
harmenOPβ€’8mo ago
Reee
harmen
harmenOPβ€’8mo ago
the button on neoprotect doesnt work?
No description
MrDadone
MrDadoneβ€’8mo ago
what plan are you trying to buy? to protect nodes you need to make a ticket and some random stuff.
harmen
harmenOPβ€’8mo ago
the "neo" plan what do you mean with "nodes"?
MrDadone
MrDadoneβ€’8mo ago
if you want to protect the whole server, you do this
No description
MrDadone
MrDadoneβ€’8mo ago
this will protect 1 server, not all xD
No description
MrDadone
MrDadoneβ€’8mo ago
this is how much it costs on neoprotect pretty much
No description
harmen
harmenOPβ€’8mo ago
yea i am aware
MrDadone
MrDadoneβ€’8mo ago
the 75€ is by default, you can't really change it :/ it's worth going under someone else plan
harmen
harmenOPβ€’8mo ago
i want to protect a server and its backends using velocity
MrDadone
MrDadoneβ€’8mo ago
you would prob pay like 10€ or 20€ /month for 1 node, depends on bandwidth πŸ˜„ yea but is your actual server protected?
harmen
harmenOPβ€’8mo ago
firewalled and hetzner normal anti ddos i suppose? because only port 22565 is exposed
MrDadone
MrDadoneβ€’8mo ago
ahhh!
harmen
harmenOPβ€’8mo ago
and that has neo
MrDadone
MrDadoneβ€’8mo ago
yea well if you are planning to run only 1 server, than that will work
harmen
harmenOPβ€’8mo ago
yea thats the plan one server with 3+ backends
MrDadone
MrDadoneβ€’8mo ago
my bad xD
harmen
harmenOPβ€’8mo ago
np chief
MrDadone
MrDadoneβ€’8mo ago
if you need to run more servers, the issue comes xD
harmen
harmenOPβ€’8mo ago
yeaa but the button no worky how fix?
MrDadone
MrDadoneβ€’8mo ago
not sure how their neo plan would work, but i think you just want to accept traffic only from their servers, and block everything else make a ticket on the discord, you might have a AD blocker or smth tho that usually, is the issue.
Skullians
Skulliansβ€’8mo ago
ADVERTISING!1!!1!1!1!1!1. How could you!!!!
harmen
harmenOPβ€’8mo ago
disabled that too
MrDadone
MrDadoneβ€’8mo ago
:ClownWalk: well better ask their support ig
harmen
harmenOPβ€’8mo ago
instant ban lol fair
MrDadone
MrDadoneβ€’8mo ago
just remember, they might ghost you for small plans xD
harmen
harmenOPβ€’8mo ago
typical company doesnt want your money when they are the only one providing the service
MrDadone
MrDadoneβ€’8mo ago
real
harmen
harmenOPβ€’8mo ago
i could have coded that button better πŸ’€
ProGamingDk
ProGamingDkβ€’8mo ago
Note 5 tb is really low For a decent size mc server
MrDadone
MrDadoneβ€’8mo ago
yea ahha depends on how many players :/
ProGamingDk
ProGamingDkβ€’8mo ago
Have you seen the fair use And company plan
MrDadone
MrDadoneβ€’8mo ago
but at one point it's worth just to do this, as long as it's not surf xd
harmen
harmenOPβ€’8mo ago
neoprotect is acting mega sus? we click on a bill for 30 eu and we get 3000 bill. We try to add creditcard it doesnt work we try to remove credit details, it doesnt work any other then neoprotect that would suffice? What about tcpshield? https://tcpshield.com
harmen
harmenOPβ€’8mo ago
Trustpilot
Tcpshield is rated "Great" with 4.1 / 5 on Trustpilot
Do you agree with Tcpshield's TrustScore? Voice your opinion today and hear what 11 customers have already said.
MrDadone
MrDadoneβ€’8mo ago
What? Never tried so can't say I don't think you can, you can pay with credit card tho, making a ticket is the go to Just remember you will be ghosted 99.9% as they don't care for small costumers. (For support)
harmen
harmenOPβ€’8mo ago
yea? thats not a good look for their company
MrDadone
MrDadoneβ€’8mo ago
It's just how it works They don't have many staff members, if you have money of course they prefer to help you
ProGamingDk
ProGamingDkβ€’8mo ago
tcpshield is fine alot of server use em the paid plans are just expensive + no bedrock support unless you pay 100 usd a month for their second best plan
MrDadone
MrDadoneβ€’8mo ago
It's cheaper to protect the whole node xd
harmen
harmenOPβ€’8mo ago
we dont want neoprotect any more
MrDadone
MrDadoneβ€’8mo ago
yea tpcshield would work tho prob better support too xd
harmen
harmenOPβ€’8mo ago
yea I seem to have some issues with a player connecting to my old server. Otherwise we are all done This issue: https://discord.com/channels/348681414260293634/1268287919882375261/1268289321341812829 This ticket is resolved by now, we probably broke some record. :D If y'all find the server, let me know you helped me here and have a good time. Byee
Torrent
Torrentβ€’8mo ago
you can do !resolved but congrats on solving it πŸ˜„ that was quite the journey
harmen
harmenOPβ€’8mo ago
already added the solved tag, but i shall! certainly was
Torrent
Torrentβ€’8mo ago
after this excursion, would you recommend tailscale?
harmen
harmenOPβ€’8mo ago
tailscale?
Torrent
Torrentβ€’8mo ago
pretty sure jenkins linked it to you don't know if you used it or not
harmen
harmenOPβ€’8mo ago
oh, uuuuuuuuuuuuuuuuuuuuuuh i cannot say much about it, why?
Torrent
Torrentβ€’8mo ago
erm just wondering if it's worth looking into I take it you didn't actually go forward with using it
harmen
harmenOPβ€’8mo ago
ill be vey honest. I have no idea
Torrent
Torrentβ€’8mo ago
xD all good lol
harmen
harmenOPβ€’8mo ago
but it worked, so thats cool
Torrent
Torrentβ€’8mo ago
so you just installed and forgot about it pretty much lol that's a decent sign ig
harmen
harmenOPβ€’8mo ago
yep sure is !solved
Admincraft Meta
Admincraft Metaβ€’8mo ago
post closed!
The post/thread has been closed!
Requested by harmen_dev#0

Did you find this page helpful?