Kali Linux on Railway
Kali Linux in a browser tab, as a KDE desktop or a web terminal, with a persistent home on Railway.
Kali Linux is a Debian-based distribution maintained by OffSec for penetration testing and security research. It ships with hundreds of tools such as nmap, Metasploit, Burp Suite, sqlmap and Hydra, and is widely used for security training, CTFs and authorised testing.
Running it on Railway means you reach a full Kali environment from any browser without a local virtual machine. The templates come in two forms: a KDE Plasma desktop streamed with Selkies, and a command-line shell served through ttyd inside tmux.
Kali is a collection of packages, each under its own licence. The tools are for systems you own or have written permission to test.
What Kali Linux can do
- KDE Plasma desktop streamed to the browser, or a ttyd web terminal
- Kali top 10 tools, plus gobuster, ffuf, nuclei, hydra and more
- Generated login password behind nginx basic auth
- Persistent home directory on a Railway volume
- Extra Kali packages through a variable
- tmux session that survives closed tabs (terminal template)
What people use it for
- Security training, CTFs and lab platforms from any browser
- Recon and web testing of systems you own or are authorised to test
- Opening untrusted links or files in a cloud browser instead of your own computer
- Learning Kali's command-line tools without installing a VM
Videos
Running Kali Linux on Railway
Two templates are available. The desktop template runs one service built on linuxserver.io's Selkies base with KDE Plasma, Firefox and Kali's top 10 tools, with the home directory on a volume at /config. The terminal template runs one service with ttyd behind an nginx basic-auth proxy and a volume at /home. Railway containers have no raw-socket access, so SYN scans and packet capture do not work; TCP connect scans do. The desktop template notes measured use of about 0.75 GB of RAM; the terminal about 0.15 GB idle.
Kali Linux templates on Railway
Tracklayer templates are listed first. Other Kali Linux templates follow, ordered by total deployments on Railway. How this works.
Deployment numbers as of 2026-11-20.
Questions about Kali Linux
Which template should I choose?
Use the terminal template for command-line work: it needs far less memory. Use the KDE desktop template when you need graphical tools such as Burp Suite or a browser, and plan for Hobby and at least 2 GB of RAM.
How do I log in?
The browser asks for a login. The user is kali and the password is the generated PASSWORD value on the service Variables tab. If it is empty or too short, the login is locked and the deploy log explains the fix.
Can I scan any network with it?
No. Use the tools only against systems you own or have written permission to test. Railway's Fair Use Policy and Terms apply, and scanning third-party networks can get your account suspended.
What is kept across redeploys?
The home directory on the volume. Packages installed with sudo apt install are lost unless listed in the APT_PACKAGES or KALI_EXTRA_PACKAGES variable, depending on the template.
Does nmap work fully?
TCP connect scans and service detection work. Raw-socket features such as SYN and UDP scans and OS detection do not.
Guides
Similar apps
Tracklayer maintains the templates marked as such; Kali Linux is a trademark of its owners and this site is not affiliated with them.