Skip to content

This is egg for pterodactyl Python with Cloudflare for support api or anything that need proxyed with Cloudfare Tunnels

Notifications You must be signed in to change notification settings

zarti0/python-pterodactyl-tunnel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-pterodactyl-tunnel

Pterodactyl Python egg with Git & Cloudflare Tunnel support

Features

🔹 Supports AMD64 & ARM64

grafik

🔹 Cloudflare Tunnel support

🔹 Git support for your Python

🔹 You can select the desired Python version:

  • ✅ 3.14
  • ✅ 3.13
  • ✅ 3.12

Python supported versions

How to install

  • Step 1: Download the egg (json file egg-python.json)
  • Step 2: In your panel, go to the "Nests" category in the sidebar
  • Step 3: Import the egg under "Import egg"
  • Step 4: Create a new server and select the "Python" egg
  • Step 5: Select the corresponding Docker image with the desired Python version
  • Step 6: Fill in the text fields. Whether Git is desired or not. It is important to enter the Cloudflare Token And the domain/subdomain u wanna in they field.

🚀 Cloudflared Tunnel Tutorial

With Cloudflared, you can create a secure tunnel to your server, making it accessible over the internet without complicated port forwarding!
Cloudflared | Create a remotely-managed tunnel

📌 Requirements


  • 🔹 Step 1: Log in to Zero Trust ↗ and go to Networks > Tunnel
  • 🔹 Step 2: Select Create a tunnel.
  • 🔹 Step 3: Choose Cloudflared for the connector type and select Next.
  • 🔹 Step 4: Enter a name for your tunnel.
  • 🔹 Step 5: Select Save tunnel.
  • 🔹 Step 6: Save the token. (The token is very long)

grafik


  • 🔹 Step 7: Add Your Domain

grafik


  • 🔹 Step 8: Add your token.

grafik


  • 🔹 Step 9: Add public hostname

grafik


  • 🔹 Step 10: Depending on the type, select http and URL always “localhost” + the python port

grafik


  • 🔹 Step 11: Start your Python.

grafik

✅ You have successfully set up Cloudflared and connected it to your server!

🔹 Info: Your web server ip and port does not have to be accessible from outside and can have a local IP such as 127.0.0.1.

FAQ

Core, apt-get, update, install, build-essential, libssl-dev, zlib1g-dev, libbz2-dev, libreadline-dev, libsqlite3-dev, libgdbm-dev, libdb5.3-dev, libexpat1-dev, git, liblzma-dev, libffi-dev, iproute2, libncurses5-dev, libncursesw5-dev, xz-utils, tk-dev, wget, curl, ca-certificates, jq, clean, rm, uname, x86_64, aarch64, dpkg, cloudflared, unsupported architecture

Small differences in the extensions between the Python versions.

License

MIT License