Install a PiRogue
This guide shows how to install a PiRogue on a Raspberry Pi, on a computer with two network interfaces, or on a server used as a VPN. The setup you pick determines the operating mode of the PiRogue. For a first, guided discovery, follow the tutorial Your first PiRogue on a Raspberry Pi instead.
Install it
- On a Raspberry Pi
- On a computer
- On a server, as a VPN
The hardware you need
In addition to a computer and an Internet connection, you will need, at least, a Raspberry Pi (+ its power supply), a micro SD-card and an ethernet cable.
Pick a Raspberry Pi
First, you need a Raspberry Pi. We support the following versions of Raspberry Pi:
- Raspberry Pi 3 Model B 1
- Raspberry Pi 3 Model B+ 1
- Raspberry Pi 4 Model B (1GB) 1
- Raspberry Pi 4 Model B (2GB) 1
- Raspberry Pi 4 Model B (4GB)
- Raspberry Pi 4 Model B (8GB)
- Raspberry Pi 5 (Experimental Support) 2
1 Not all services such as Suricata can be run on these devices due to limited memory.
2 We are actively developing Raspberry Pi 5 support. Download the experimental PiRogue OS version for Raspberry Pi 5 from our download page.
If you want to buy a Raspberry Pi, visit the rpilocator website to check for availability.
Be sure to have an appropriate power supply for your PiRogue. If you don't know what to choose, pick the official Raspberry Pi power supply.
Raspberry Pi devices have slower, more power-efficient processors, limited memory, and limited onboard WiFi throughput compared to conventional computers. These limitations can potentially affect their performance when running demanding tasks. Due to the limited performance of Raspberry Pi devices, we recommend using PiRogue with up to 2-3 devices connected to the Wi-Fi access point simultaneously.
Suricata, the Intrusion Detection System (IDS) and network security monitoring engine, requires significant system resources. It needs enough memory to hold rules and process large volumes of network packets. To conserve resources on devices with limited RAM, Suricata is automatically disabled on systems with less than 2.5 GB of RAM. This limitation is set in the file /etc/systemd/system/suricata.service.d/override.conf.
Pick a micro SD-card
Secondly, you need a SD-card to run your PiRogue. The SD-card has to be large enough to store the operating system and all the data generated by the PiRogue itself. By default, it stores 5 days of network traffic history.
You may choose:
- a 32 GB micro SD-card for regular use
- a 64 GB micro SD-card if you plan doing long runs, analyzing the traffic of multiple devices simultaneously
For a faster booting experience and improved disk write performance, invest in a high-quality micro SD-card from a reputable brand. Look for one with Application Performance Class 1 (A1) and Speed Class 10.
Pick an Ethernet cable
In order to connect the PiRogue to the Internet, you should have an ethernet cable connecting your PiRogue to your network. A simple cat. 5 ethernet cable will do the job.
Install PiRogue OS
Get PiRogue OS
PiRogue OS is periodically released. The OS is pre-configured so you just need to flash it on a micro SD-card. The image (the binary file to be flashed on the SD-card) is compressed. The file you have to download on your computer has a name following this schema
PiRogue-OS-<Debian major version>-<supported hardware>-<year>-<month>-<day>.img.xz.
Download the latest version of PiRogue OS →
Check the integrity of the image
Once you have downloaded the image, you can check its integrity (check if the file has not been modified or corrupted) by comparing its SHA256 and the SHA256 displayed on the GitHub page. If both SHA256 are the same, the file you downloaded has not been tampered.
To compute the SHA256 of the file you downloaded, run the following command in a terminal:
- Linux
- Windows
- OSX
sha256sum [image file name].img.xz
Get-FileHash .\[image file name].img.xz -Algorithm SHA256 | Format-List
shasum -a 256 [image file name].img.xz
Replace [image file name].img.xz with the image file you just downloaded.
Set up your SD card
Advanced Linux users can use a combination of xz and dd commands to flash their SD-card.
We recommend downloading and installing Balena Etcher on your computer. Run Balena Etcher as administrator. This software allows you to flash compressed images; however, if you encounter any difficulties, uncompress the image file before flashing.
Please follow the steps outlined in the screenshots below for successful completion.






Once the flashing is complete, eject the SD-card from your computer.
Set up the PiRogue
Insert your freshly flashed micro SD-card into the PiRogue, plug the ethernet cable to the PiRogue. Remember, this cable connects your PiRogue directly (or through network switch) to your ISP router.
To operate properly, your PiRogue needs to have Internet access.
First boot
First, check that the SD card is correctly inserted into the appropriate slot of your PiRogue and the ethernet cable is properly connected. Then, plug the power supply. Wait a few minutes before trying to access your PiRogue.
Now, connect to your PiRogue using SSH.
ssh pi@pirogue.local
Type raspberry which is the default password of the user pi and press Enter.
Once connected, you have to finalize the installation of your PiRogue.
Firsly, you'll be asked to change the Unix password, the new password you've set replaces the default one. Once you have change the Unix, you must reconnect to your PiRogue with SSH.
Secondly, you have to install PiRogue packages and features. To do so, you need to run the following commands on your PiRogue. Copy and execute each command separately one by one:
| Command Line | Description |
|---|---|
sudo apt update | Gets the latest versions of the available packages |
sudo apt dist-upgrade -y | Upgrade the entire operating system and all additional installed software |
sudo apt install pirogue-base -y | Install the PiRogue packages and features |
sudo reboot | Reboot the PiRogue |
During the installation, if asked, you will have to answer:
Noto save firewall rules for IP v4Noto save firewall rules for IP v6Yesto allow non-root users to capture network traffic

If you're setting up the PiRogue in the context of an organization at your office or your lab you will have to enforce your internal security policies and guidelines. At least, change your password using the passwd command.
After the reboot, wait a few minutes, you will then be able to connect a Wi-Fi device and use the PiRogue’s dashboard.
The telemetry is enabled by default but you can easily opt out. Find more details in the section dedicated to the telemetry.
Default passwords
Before connecting a device to the WiFi access point of the PiRogue or opening the dashboard, you have to determine what version of PiRogue you are using. To do so,
run the following command on your PiRogue. The version of your PiRogue corresponds to the version of the package pirogue-base.
$ dpkg -l | grep pirogue-base
ii pirogue-base 2.0.2 all Install all PiRogue packages
- PiRogue version 2.x
- PiRogue version 1.x
In this version of PiRogue, the passphrase of the WiFi access-point and the password of the dashboard are randomly generated during the installation.
On your PiRogue
- the command
pirogue-admin-client wifi get-configurationwill give you the passphrase of the WiFi - the command
pirogue-admin-client dashboard get-configurationwill give you the password of the dashboard for the useradmin
The dashboard is accessible on https://pirogue.local/dashboard.
You have to trust the default self-signed certificate.
If you want to change the passwords, please refer to the configuration documentation.
In this version of PiRogue:
- the default passphrase of the WiFi is
superlongkey - the default password of the dashboard for the user
adminisPiRogue
The dashboard is accessible on http://pirogue.local:3000.
If you want to change the passwords, please refer to the configuration documentation.
It will take around 4 minutes before network flows start appearing in the dashboard. At the first start of your PiRogue the dashboard will look empty or broken. Don't worry, connect a device to the PiRogue's WiFi network, wait 5 minutes and refresh the dashboard by pressing F5 key on your keyboard.
Once your PiRogue is running, it is accessible from the network. To get its IP address, run the following command on a computer connected to the same network as your PiRogue:
ping -c1 pirogue.local
Next steps
- Read the results: Dashboard
- Record the traffic: Capture network traffic
You need a machine with two network interfaces, running:
- Debian 13, on a physical or virtual machine;
- on the
amd64orarm64architecture; - with at least 4 GB of RAM and 40 GB of disk;
- with a working internet connection.
The second interface decides the operating mode of the PiRogue. If it is a Wi-Fi interface, the PiRogue uses the access point mode. If it is an Ethernet interface, it uses the appliance mode. See Operating modes.
1. Update the system. This step is not specific to the PiRogue:
sudo apt-get update
sudo apt-get dist-upgrade
2. Add the PiRogue PPA and install the PiRogue packages:
sudo apt-get install wget
sudo wget -O /etc/apt/sources.list.d/pirogue.list https://pts-project.org/debian-13/pirogue.list
sudo wget -O /etc/apt/trusted.gpg.d/pirogue.gpg https://pts-project.org/debian-13/pirogue.gpg
sudo apt-get update
sudo apt-get install pirogue-base
If the installation asks whether non-superusers should be able to capture network traffic, answer Yes.
3. Check the configuration. You don't need to be root for this:
pirogue-admin-client system get-configuration
The most important values are:
SYSTEM_OPERATING_MODE: the operating mode of the PiRogue.DASHBOARD_PASSWORD: the password of the dashboard, generated during the installation.WIFI_PASSPHRASE: the passphrase of the Wi-Fi network in access point mode, also generated during the installation.EXTERNAL_ADDRESSandSYSTEM_HOSTNAME: where the dashboard is exposed.
4. Open the dashboard at https://EXTERNAL_ADDRESS/dashboard or https://SYSTEM_HOSTNAME.local/dashboard, replacing the names with the values from the previous step. Unless you enable public external access, you have to trust the default self-signed certificate first.
To change the generated passwords, see Configure a PiRogue.
The access point and appliance modes differ in how the isolated network is provided. In access point mode, hostapd runs the Wi-Fi network. In appliance mode, it is not used.
In this setup, the PiRogue is a server with a single network interface exposed on the internet, typically a dedicated server or a VPS. The devices you analyze connect to it through a VPN.
You need a server running:
- Debian 13, on a physical or virtual machine;
- on the
amd64orarm64architecture; - with at least 4 GB of RAM and 40 GB of disk;
- with a working internet connection.
You also need:
- a DNS record pointing to the public IP address of the server;
- ports
80and443of the public IP address forwarded to the same ports of the server.
With a single network interface, the PiRogue selects the VPN mode and sets up WireGuard automatically.
1. Update the system. This step is not specific to the PiRogue:
sudo apt-get update
sudo apt-get dist-upgrade
2. Add the PiRogue PPA and install the PiRogue packages:
sudo apt-get install wget
sudo wget -O /etc/apt/sources.list.d/pirogue.list https://pts-project.org/debian-13/pirogue.list
sudo wget -O /etc/apt/trusted.gpg.d/pirogue.gpg https://pts-project.org/debian-13/pirogue.gpg
sudo apt-get update
sudo apt-get install pirogue-base
If the installation asks whether non-superusers should be able to capture network traffic, answer Yes.
3. Check the configuration. You don't need to be root for this:
pirogue-admin-client system get-configuration
4. Secure the dashboard with a TLS certificate. The server is reachable from the internet, so the dashboard must use HTTPS. Replace the domain and the email address with your own:
pirogue-admin-client external-network enable-public-access --domain pirogue.example.org --email contact@example.org
The dashboard is then available at https://pirogue.example.org/dashboard.
5. Connect a device to the VPN. Create a VPN peer and display its configuration as a QR code:
pirogue-admin-client vpn add-peer
pirogue-admin-client vpn get-peer-config 2 | qrencode -t ANSIUTF8
On the phone to analyze, scan the QR code with the WireGuard app, then enable the VPN.
Next steps
- Find the generated passwords and the address of the dashboard: Default configuration
- Change them: Configure a PiRogue