Pterodactyl Setup Guide

Setup Guide

Pterodactyl Panel Setup

Follow these steps to install and configure your Pterodactyl Panel

1

Update System & Install Dependencies

Terminal
apt update && apt install curl -y
2

Run Pterodactyl Installer

Terminal
bash <(curl https://pterodactyl-installer.se)

Configuration Options:

  • • Domain/subdomain: cold-rabbit-94.telebit.io
  • • UFW: N
  • • HTTPS using Let's Encrypt: y
  • • Assume SSL: ctrl + C
  • • Agree HTTPS request: y
4

Setup Cloudflare Tunnel

📝 Cloudflare Dashboard Steps:

  1. 1. Go to one.dash.cloudflare.com
  2. 2. Navigate to Network → Tunnels → Create Tunnel
  3. 3. Select cloudflared and name your tunnel
  4. 4. Choose Debian and copy the install command
  5. 5. Run the install command in your VPS
  6. 6. Copy and run the service command
  7. 7. Configure hostname with your subdomain
  8. 8. Set Service Type: http
  9. 9. Set Service URL: localhost:80
  10. 10. Last Save Button

✅ Test your setup by visiting your subdomain (e.g., https://testpanel.notk.qzz.io)

Wings Setup

Configure Wings daemon for server management

1

Install Wings

Configuration Options:

  • • Re-run the installer and select option 1 (Wings)
  • • Unsupported virtualization: y
  • • UFW: n
  • • DB user: n
  • • Let's Encrypt: n
4

Setup Cloudflare Tunnel

📝 Cloudflare Dashboard Steps:

  1. 1. Go to one.dash.cloudflare.com
  2. 2. Navigate to Network → Tunnels → Create Tunnel
  3. 3. Select cloudflared and name your tunnel
  4. 4. Choose Debian and copy the install command
  5. 5. Run the install command in your VPS
  6. 6. Copy and run the service command
  7. 7. Configure hostname with your subdomain
  8. 8. Set Service Type: https
  9. 9. Set Service URL: localhost:443
  10. 10. Last Save Button
3

Configure SSL Certificates

🔄 Different Hosts

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /2.pem -out /1.pem -subj "/CN=localhost"
sed -i 's|^\(\s*cert:\s*\).*|\1/1.pem|' /etc/pterodactyl/config.yml
sed -i 's|^\(\s*key:\s*\).*|\1/2.pem|' /etc/pterodactyl/config.yml
systemctl restart wings
        

🏠 Same Host

mkdir -p /etc/certs && cd /etc/certs && openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 -subj "/C=NA/ST=NA/L=NA/O=NA/CN=Generic SSL Certificate" -keyout privkey.pem -out fullchain.pem && cd && clear && systemctl restart wings
        

Minecraft Server Setup

Configure your Minecraft server and port forwarding

1

Server Allocation Configuration

📊 Allocation Settings

IP: 0.0.0.0
Alias: localhost
Ports: 25565-25590

Note: Cloudflare tunnels won't work for Minecraft servers. Use the shared IPv4 instead.

1

Create A Record

📍 Cloudflare DNS Configuration

Type: A
Name: play.yourdomain.com
IPv4 Address: YourVPSIP
Proxy Status: DNS only (gray cloud)

Important: Make sure to click the orange cloud to turn it gray (DNS only mode).

2

Create SRV Record

🎯 SRV Record Configuration

Type: SRV
Name: _minecraft._tcp.mc
Priority: 0
Weight: 0
Port: 25575
Target: play.yourdomain.com

📋 What This Does

This tells Minecraft that play.yourdomain.com should redirect to virtual-net.yourdomain.com:25575

3

Test Your Setup

🎉 Success! Players can now connect using:

play.yourdomain.com

⏰ DNS Propagation

DNS changes may take some time to propagate globally. If it doesn't work immediately, wait a few minutes and try again.

Setup Progress

🎉 Congratulations! You've completed the entire setup!
Keep going! You're doing great.