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: testpanel.yourdomain.com
  • • UFW: No
  • • HTTPS using Let's Encrypt: n
  • • Assume SSL: y
  • • Agree HTTPS request: n
3

Configure SSL & Nginx

Terminal
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /2.pem -out /1.pem -subj "/CN=localhost"
sed -i 's|^\s*ssl_certificate\s\+.*|    ssl_certificate /1.pem;|' /etc/nginx/sites-available/pterodactyl.conf
sed -i 's|^\s*ssl_certificate_key\s\+.*|    ssl_certificate_key /2.pem;|' /etc/nginx/sites-available/pterodactyl.conf
sed -i 's/\b443\b/8443/g; s/\b80\b/8000/g' /etc/nginx/sites-available/pterodactyl.conf
systemctl restart nginx

Note: No output is expected - this is normal behavior.

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:8443
  10. 10. Enable "No TLS Verify" in Additional Settings

✅ Test your setup by visiting your subdomain (e.g., https://testpanel.nethernode.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

Follow the same Cloudflare tunnel setup, but use your node subdomain (e.g., node.yourdomain.com) with Service URL: localhost:443

2

Configure Node in Panel

📍 Create Location

  • • Go to Admin → Locations
  • • Create new location (e.g., US1)

🖥️ Add Node

  • • Go to Admin → Nodes
  • • Daemon Port: 443
  • • SSL: Not Behind Proxy
  • • FQDN: Your node subdomain
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

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

Minecraft Server Setup

Configure your Minecraft server and port forwarding

1

Server Allocation Configuration

📊 Allocation Settings

IP: 0.0.0.0
Alias: localhost
Ports: 1025-2024

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

1

Create A Record

📍 Cloudflare DNS Configuration

Type: A
Name: mc.yourdomain.com
IPv4 Address: 146.185.236.18
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: mc.yourdomain.com

📋 What This Does

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

3

Test Your Setup

🎉 Success! Players can now connect using:

mc.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.