Syed Jahanzaib – سید جہانزیب – Personal Blog to Share Knowledge !

November 14, 2026

JZ-FleetPulse – Complete Installation & Configuration Guide | Free Open-Source Vehicle & Fleet Management System with Traccar


📡 OPEN SOURCE   •   LINUX   •   GPS   •   NOVEMBER 2026
FREE RELEASE UNDER GNU GPL v3

JZ-FleetPulse 🚘Installation & Day One Guide

From a freshly installed Ubuntu machine to your first vehicle moving on a live map — with Traccar, HTTPS, the vehicle-owner app, fuel records, drivers, trips, maintenance and practical day-to-day operations.

🐧 Ubuntu 22.04 / 24.04📍 Self-hosted Traccar🛠️ Version 0.9.11🔒 Nginx + HTTPS📱 Android app💚 Free for the community

⬇ Get Installation Package (v0.9.11)
📖 Read Part 1: My JZ-FleetPulse Story

PROJECT AT A GLANCE

Created & documented by: Syed Jahanzaib (SJZ), Karachi, Pakistan
Build covered: JZ-FleetPulse 0.9.11 (updated 26 November 2026)   |   License: GNU General Public License v3
Stack: Ubuntu 22.04 / 24.04, Traccar, Python, Flask, Gunicorn, SQLite, Nginx, Let’s Encrypt, JavaScript, Leaflet / OpenStreetMap
Previous article: From a Corolla Tracker in 2014 to JZ-FleetPulse in 2026

🛣️ What we’ll cover:
PART 1 Install the server   →   PART 2 Put your first car on the map   →   PART 3 Operate, back up and upgrade safely.
🆕 UPDATED FOR v0.9.11 — WHAT CHANGED SINCE v0.9.2
  • Tested on a fresh Ubuntu Server 24.04 with a real domain – 22.04 works the same.
  • The installer now asks for a domain name and sets up Nginx + HTTPS itself (free Let’s Encrypt or your own certificate) and opens the ufw ports – 1.5, 3.4.
  • A second service, the background worker, keeps live positions fresh for every screen and watches parked vehicles – 1.6.
  • New Day-One steps: timezone & currency, phone vs hardware tracker per vehicle, and vehicle owners with the Android app – 2.2, 2.15.
  • More troubleshooting from real installs (DNS, certificates, “works on mobile data but not on Wi-Fi”) – 1.8.
Already running v0.9.2 or later? Don’t reinstall – use the upgrade bundle (3.1). Your data stays.

Assalam o Alaikum ! 🙂

2014 → 2026, aur ab installation time!
In the first article I shared how a simple Corolla tracker experiment grew into JZ-FleetPulse. This time we are leaving the story behind for a while and going straight to the keyboard: the installer, the first login, the first GPS fix, and all those little settings that make a portal useful after the demo is over. 🙂

In my previous post I shared the story of JZ-FleetPulse – how a 2014 Traccar hobby project came back in 2026 as a complete fleet management portal. As promised, this is the hands-on part: how to install it on your own server, connect it with Traccar, and run it from day one.

I have tried to keep this guide practical, the way we like it: less theory, more actual commands and screenshots. One installer takes care of the heavy lifting – it can install Traccar, Nginx and an HTTPS certificate too. So grab your doodh patti, open PuTTY, and let’s take the system from an empty Ubuntu VM to a moving vehicle on the map. Chai garam honi chahiye, server nahi! 😄

Self-hosting reminder: JZ-FleetPulse is free software provided as-is, without warranty. When you host it yourself, you are responsible to test, secure, monitor and back up your installation. Examples below use placeholders like YOUR-SERVER-IP – replace them with your own values.

CONTENTS

Part 1 · Install JZ-FleetPulse on your own server

  1. What the installer does for you
  2. Before you start – requirements
  3. Prepare the Ubuntu server
  4. Download the installer
  5. Run the installer (now with domain & HTTPS)
  6. Read the final summary & check the services
  7. Firewall – ports to allow
  8. Installation troubleshooting & FAQ

Part 2 · Day One – from fresh install to your first vehicle

  1. First login
  2. Basic settings
  3. Secure Traccar & add your vehicle
  4. Use a mobile phone as tracker (Traccar Client)
  5. Connect a hardware GPS tracker
  6. Vehicle & fuel profile
  7. Drivers and assignments
  8. Starting odometer reading
  9. Company sites (geofences)
  10. Fuel rates and refills
  11. Maintenance schedule
  12. Trip request workflow
  13. Users and roles
  14. Daily use – what to look at
  15. Vehicle owners: client portal & Android app

Part 3 · Keep it running

  1. Upgrades
  2. Backups and rollback
  3. Change settings / owner password
  4. Domain, HTTPS & access from outside
  5. If something does not work

01   /   INSTALLATIONPart 1 · Install JZ-FleetPulse on your own serverFrom a fresh Ubuntu server to a running portal

1.1 What the installer does for you

  • Runs in 9 clear steps and checks the server first (Ubuntu 22.04 / 24.04, free port, existing installation).
  • Installs the required system packages (Python, venv, curl, unzip – plus Nginx and certbot when you give a domain).
  • Optionally installs the latest Traccar GPS server and creates its first (administrator) user.
  • Creates a dedicated service user jzfleet, installs the portal in /opt/jz-fleetpulse with its own Python environment.
  • Applies ready-made default settings (PKR currency, Asia/Karachi timezone, fuel prices, movement rules – all changeable in Settings) – no sample company data.
  • Writes the settings file /etc/jz-fleetpulse.env (private, mode 600) with a random secret key and your hashed admin password.
  • Creates and starts the jz-fleetpulse systemd service, then runs a health check.
  • Creates the jz-fleetpulse-worker background service – it reads live positions from Traccar every 5 seconds for all users and checks parked vehicles every minute.
  • Optional: configures Nginx for your domain with HTTPS (Let’s Encrypt or your own certificate), and opens the needed ports in ufw if it is active.
  • Installs the fleetpulse-upgrade tool for safe upgrades, backups and rollback.

1.2 Before you start – requirements

Item Minimum Recommended
OS Ubuntu Server 22.04 LTS (64-bit) Ubuntu Server 22.04 or 24.04 LTS, fresh install
CPU 2 vCPU 4 vCPU
Memory 2 GB (portal + Traccar) 4 GB
Disk 20 GB 40 GB+ (GPS history grows every day)
Network Internet during installation Static public IP or hostname for trackers
Domain NEW Optional (portal by IP only) A (sub)domain, e.g. fleet.example.com, with a DNS A record → server public IP. Needed for HTTPS and the Android app
Access SSH with root / sudo PuTTY + WinSCP on your Windows PC
Trackers An Android/iPhone with Traccar Client app Hard-wired GPS tracker supported by Traccar

Use a fresh server. A clean VM or machine avoids surprises with other web services and ports. Traccar and JZ-FleetPulse can live happily on the same server. Using a domain? Create the DNS record before running the installer, and make sure ports 80/443 reach the server – Let’s Encrypt checks it during installation.

1.3 Prepare the Ubuntu server

Install Ubuntu Server 22.04 or 24.04 LTS (minimal install is fine), give it a static IP, and enable OpenSSH during setup. Then from your PC, connect with PuTTY and bring the server up to date:

On the server (over SSH):

sudo apt update && sudo apt -y upgrade
sudo timedatectl set-timezone Asia/Karachi     # or your own, e.g. Asia/Dubai
sudo reboot

Reports use the timezone chosen in Settings → Operations (default Asia/Karachi). Setting the same timezone on the server keeps logs and reports consistent.

1.4 Download the installer

📦 A quick field note
Google Drive sometimes serves an HTML confirmation page instead of the actual archive. If your file looks suspiciously small, compare its SHA-256 hash before extracting anything. For larger files, WinSCP is often the less dramatic route.

The installer is one small archive (about 270 KB): jz-fleetpulse-install_v0.9.11_20261126-1405.tar.gz

Option A – download directly on the server (quickest)

cd /tmp
wget -O jz-fleetpulse-install_v0.9.11_20261126-1405.tar.gz "https://drive.google.com/uc?export=download&id=PASTE-NEW-FILE-ID"

Option B – download on your PC, then copy it

Download from this link to e.g. E:\tmp, then upload it with WinSCP to the server’s /tmp folder.

Verify the file (it must match exactly):

cd /tmp
sha256sum jz-fleetpulse-install_v0.9.11_20261126-1405.tar.gz
# 2935d73b58d405555cc9ce87760f02b9d348e229a855eda0873d978c7be74289

If the checksum does not match, or the file is only a few KB, Google returned a web page instead of the file – download it again (Option B is safest).

1.5 Run the installer

☕ Practical advice
The installer needs exclusive access to APT. On a fresh Ubuntu VM, automatic updates may still be running; if you see a dpkg lock, check the updater and let it complete rather than deleting lock files.
cd /tmp
tar xzf jz-fleetpulse-install_v0.9.11_20261126-1405.tar.gz
cd jz-fleetpulse-install_v0.9.11_20261126-1405
sudo bash install.sh

The installer asks a few questions. Press Enter to accept the value shown in [brackets]:

Question Default What to enter
Portal port 8090 Keep 8090 unless something else uses it (8082 is reserved for Traccar)
Portal admin username fleetadmin Your main admin login (owner account – always Admin)
Portal admin password — At least 8 characters, typed twice (not shown on screen)
Install the latest Traccar here now? yes Only asked if Traccar is not found. yes = installer downloads and installs it
Traccar address http://127.0.0.1:8082 Keep default when Traccar is on the same server; otherwise http://TRACCAR-IP:8082
Traccar login e-mail admin@fleet.local New Traccar: becomes the Traccar admin. Existing Traccar: an account that can see all vehicles
Traccar password — At least 8 characters, typed twice
Domain name NEW (blank) e.g. fleet.example.com. Leave blank to use the portal by IP only (http://IP:8090) – you can add a domain later (3.4)
Certificate type NEW le le = free Let’s Encrypt (auto-renews) • own = your purchased / wildcard certificate files • none = HTTP for now
E-mail for Let’s Encrypt — Only for le. Expiry notices go here
Certificate & key file paths — Only for own. Full-chain .pem/.crt and .key – copy them to the server first (e.g. /root/ssl/)

Write down both passwords (portal admin and Traccar) in a safe place. Then sit back – the whole run usually takes 3–6 minutes, depending on your internet speed.

🌐 With a domain, the portal hides behind Nginx
When you give a domain, the portal listens only on 127.0.0.1:8090 and is reached through Nginx on 80/443. So https://fleet.example.com works, but http://IP:8090 from another PC will not open – that is by design, not an error. (Yes, I also scratched my head the first time 😄)
📸
SCREENSHOT 01
Installer questions in PuTTY

1.6 Read the final summary

At the end you get a summary like this:

✔ JZ-FleetPulse 0.9.11 installed successfully.

  Portal          https://fleet.example.com      (or http://YOUR-SERVER-IP:8090 without a domain)
  Admin login     fleetadmin   (the password you typed)
  Traccar web     http://YOUR-SERVER-IP:8082   login: admin@fleet.local
  Traccar link    connected

  Service         systemctl status jz-fleetpulse     logs: journalctl -u jz-fleetpulse -f
  Settings file   /etc/jz-fleetpulse.env
  Data            /var/lib/jz-fleetpulse
  Backups         /var/backups/jz-fleetpulse   (made automatically before every upgrade)
  Upgrades        sudo fleetpulse-upgrade install <bundle.tar.gz>

  Next steps:  1. sign in  2. add vehicles in Traccar  3. allow tracker ports
               4. switch off Traccar registration  5. branding  6. mobile app (needs HTTPS)

Traccar link: connected means the portal can read GPS data. If it says not connected, see 1.8.

Check both services and the health pages (new in v0.9.11):

systemctl status jz-fleetpulse jz-fleetpulse-worker --no-pager | grep -E "service|Active"
curl -s http://127.0.0.1:8090/healthz      # {"ok":true,"version":"0.9.11"...}
curl -s http://127.0.0.1:8090/readyz       # database, Traccar and background worker

Both services should say active (running). If only the worker is missing, the portal still works (it reads Traccar directly) – start it with sudo fleetpulse-setup-worker. /readyz is also handy for Uptime Kuma / Zabbix monitoring.

📸
SCREENSHOT 02
Installer final summary

1.7 Firewall – ports to allow

🔐 Security matters
Allow Traccar’s web page (8082) and SSH only from trusted LAN/VPN networks. With a domain, publish only 80/443 for the portal – never 8090 directly. A phone uploading over plain HTTP is suitable only for controlled testing: prefer HTTPS or a trusted VPN for real deployment, and expose only the tracker protocol ports you actually need.
Port Direction Used for
22/TCP In – office/admin LAN only SSH administration
8090/TCP In – LAN / VPN only JZ-FleetPulse portal by IP (not needed from outside when you use a domain) (see 3.4 before exposing to the internet)
80, 443/TCP NEW In – from internet (NAT to server) Nginx: portal over HTTPS, the Android app and share links. Port 80 is also needed for Let’s Encrypt renewals
8082/TCP In – admin LAN only Traccar web (adding devices, Traccar settings)
5055/TCP In – from internet (NAT to server) Traccar Client mobile app
Tracker ports e.g. 5023, 5027 In – from internet (NAT to server) Hardware trackers (GT06 = 5023, Teltonika = 5027 …) – open only what you use
80, 443/TCP Out (from the server) Installation (apt, Python libraries, Traccar download) and map tiles in users’ browsers

If the server sits behind your office firewall on a private IP, create port-forward (NAT) rules on the firewall from your public IP to the server for the tracker ports (and 80/443 when using a domain). On a cloud VPS, also allow them in the provider’s security group / firewall panel. Using a hostname (e.g. track.yourcompany.com) instead of the bare IP in trackers makes future IP or ISP changes painless.

Using UFW on the server? If ufw is already active, the installer opens 5055 and 80/443 (or 8090 without a domain) for you. To set it up yourself:

sudo ufw allow from 192.168.0.0/16 to any port 22,8082,8090 proto tcp
sudo ufw allow 80,443/tcp      # only when using a domain / HTTPS
sudo ufw allow 5055/tcp
sudo ufw enable
sudo ufw status

1.8 Installation troubleshooting & FAQ

Q: “Traccar link: not connected” in the summary.
A: Open http://YOUR-SERVER-IP:8082 and confirm you can log in with the same e-mail/password. If the password is different, edit /etc/jz-fleetpulse.env (see 3.3) and restart the portal.

Q: “port 8090 is already in use”.
A: Run the installer again and choose another port, e.g. 8091.

Q: “JZ-FleetPulse is already installed”.
A: The installer never overwrites an existing installation. To update, use an upgrade bundle with fleetpulse-upgrade (Part 3).

Q: Traccar download failed.
A: The server needs internet access to traccar.org / github.com. You can also install Traccar manually from traccar.org, then run the installer again and answer the questions for an existing Traccar.

Q: Python libraries failed to install.
A: Usually DNS or proxy. Check ping pypi.org, then look at the log: sudo less /var/log/jz-fleetpulse-install.log

Q: Where is the installation log?
A: /var/log/jz-fleetpulse-install.log – share the relevant lines (never passwords) in the comments if you need help.

Q: Let’s Encrypt certificate failed.
A: Almost always DNS or port 80. Check that nslookup fleet.example.com 8.8.8.8 returns your server’s public IP and that port 80 reaches the server from outside. The portal keeps working on HTTP; fix DNS, then run sudo certbot --nginx -d fleet.example.com --redirect, set JZ_HTTPS=1 in /etc/jz-fleetpulse.env and restart the portal.

Q: https://my-domain does not open, but http://IP:8020 (another site) does.
A: Usually the domain’s DNS record is missing or still points elsewhere, or 80/443 are not allowed in ufw / the provider firewall. sudo nginx -t and sudo ufw status are the first two checks. On a friend’s Ubuntu 24.04 server, fixing the DNS record was all it took.

Q: It opens on mobile data, but on office/home Wi-Fi I get “404 Not Found” or another website.
A: Your Wi-Fi router or ISP is giving an old DNS answer. Compare nslookup your-domain on Wi-Fi with nslookup your-domain 8.8.8.8. Flush/restart the router DNS, or on Android set Private DNS to dns.google.

Q: “background worker not started” warning.
A: The portal works without it (a little slower with many users). Check journalctl -u jz-fleetpulse-worker -n 50, then run sudo fleetpulse-setup-worker.

02   /   DAY ONEPart 2 · Day One – from fresh install to your first vehicleRegister your vehicle, driver and fuel records

Login → settings → add vehicle in Traccar → phone or tracker sends GPS → vehicle profile → driver → starting odometer → sites → fuel → maintenance → trip requests → users

2.1 First login

Open https://your-domain (or http://YOUR-SERVER-IP:8090 without a domain) and sign in with the portal admin username and password from the installer.

  • The portal shows live data from your Traccar server. On a fresh installation the dashboard is empty – that is normal. Vehicles appear as soon as the first tracker or phone sends its position (2.3–2.5).
  • The green Traccar Connected badge (top of the page) confirms the portal can talk to Traccar.
  • Your profile menu (top-right) has Sign out. After 5 wrong passwords, that login is paused for 5 minutes (too many failures from one address pauses it for 15) – the lock survives a restart.
📸
SCREENSHOT 03
Login page
📸
SCREENSHOT 04
Dashboard after first login (Traccar Connected)

2.2 Basic settings

Where: Admin → Settings

Section What to set
Product Identity & Customer Branding Company name, portal title, heading, tagline and your company logo – the mobile app uses the same name and logo. Also the Android app download link (2.15)
Top-right Profile & Photo Show the signed-in user (default) or a fixed name/photo
Map & Basemap Default map style (OpenStreetMap works without any key), road name & address lookup, nearest landmark
Fuel & Currency Currency – 56 to choose from (PKR, USD, AED, SAR, GBP, EUR …) or your own code/symbol, default fuel prices, default km/L, and + Add Dated Rate whenever petrol price changes
Operations Timezone – 44 popular zones or any fixed offset like UTC+05:00 (it shows the local time as you choose), live position update interval, minimum site dwell time and dashboard refresh
Movement Report Rules Stop after (minutes), traffic halt (seconds), slow traffic (km/h), moving above – separate values for hardware trackers (5 km/h) and phones (10 km/h, phones “drift” when parked), GPS gap (minutes) and the speed limit for over-speed reports – defaults are good for city driving

Click Save at the bottom after changes.

2.3 Secure Traccar & add your vehicle

Where: Traccar web – http://YOUR-SERVER-IP:8082, log in with the Traccar e-mail/password.

First thing after logging in: Settings → Server → untick “Registration” and save. Otherwise anyone who opens port 8082 can create an account.

Now add the vehicle: Settings → Devices → +

Field Needed? What to enter
Name Yes Something people recognise, e.g. Cultus – ABC-123
Identifier Yes Hardware tracker: its IMEI (label on the device). Phone: the Device identifier shown in the Traccar Client app

The vehicle appears in JZ-FleetPulse automatically as soon as Traccar receives its first position – there is nothing to add in the portal for this step.

📸
SCREENSHOT 05
Traccar – add device dialog

2.4 Use a mobile phone as tracker (Traccar Client)

📱 No GPS tracker yet? No tension!
Start with a spare Android phone before spending money on hardware. It is ideal for proving live location, routes and mobile-data connectivity. It cannot read actual engine fuel consumption on its own.

Perfect for testing – this is exactly how I tested with my own Cultus. Install Traccar Client from Google Play / App Store, then set:

Setting What to enter
Device identifier Copy this number into Traccar’s Identifier field (2.3)
Server URL http://YOUR-PUBLIC-IP:5055 or http://your-domain:5055 – plain http and port 5055, not the portal’s https address
Location accuracy High – uses GPS, works even without mobile data and keeps buffering offline
Frequency 15–30 seconds for smooth live tracking and accurate routes (60 s if battery matters more). Set Distance to 0 and Angle to 0
Tracking switch Turn it ON. Allow location “all the time”, set battery to Unrestricted and lock the app in recent apps (Xiaomi/Oppo/Vivo kill it otherwise)

Within a minute the device in Traccar turns online, and the vehicle appears on Overview → Live Tracking in JZ-FleetPulse. Then mark it as a phone in its vehicle profile (2.6) so the portal uses the phone movement rules.

📸
SCREENSHOT 06
Traccar Client app settings on phone

2.5 Connect a hardware GPS tracker

Each tracker protocol has its own port on Traccar. You point the tracker to your public IP/hostname and the right port, usually by SMS to the tracker’s SIM. Two common examples:

# GT06 / Concox type (port 5023) – send as SMS to the tracker's number
APN,your-operator-apn#
SERVER,1,track.yourcompany.com,5023,0#
TIMER,60#

# Teltonika FMB / FMC (port 5027) – two spaces at the start if no SMS login/password is set
  setparam 2001:your-apn;2004:track.yourcompany.com;2005:5027;2006:0

Command syntax can differ by firmware – check your tracker’s manual. Then watch the Traccar log while the tracker connects:

sudo tail -f /opt/traccar/logs/tracker-server.log
  • Data followed by “Unknown device” → it reaches Traccar; add that ID as a device (2.3).
  • Nothing at all → port not forwarded on the firewall, wrong port, or the SIM has no data package.

Buying tip: choose a hard-wired tracker with ignition (ACC) wire, backup battery and offline memory. CAN/OBD models can also send the real odometer and fuel level.

2.6 Vehicle & fuel profile

Where: Fleet → Vehicles → pencil icon, or Fleet → Vehicle Details → ✎ Edit Vehicle & Fuel

Field Needed? What to enter
Vehicle Plate Recommended Registration number
Make / Model, Model Year Optional e.g. Suzuki Cultus VXR, 2019
Fuel type Yes Petrol / Diesel / CNG – picks the right fuel rate
Average fuel economy (km/L) Yes Your real city average – used for every fuel estimate and the Fuel Audit
Tank capacity (litres) Recommended Shows litres in tank when the tracker reports fuel level (%)
Registered driver / Department Optional Default driver and owning department
Tracking device NEW Yes GPS tracker (fitted in vehicle) or Mobile phone (Traccar Client) – decides the “moving” rule and parking-guard accuracy
Vehicle photo, notes Optional Shown on Vehicle Details, Live Tracking and in the owner’s mobile app

2.7 Drivers and assignments

Where: Fleet → Drivers → + Add Driver (Full name, Employee ID, Department, Phone, Driving licence no., Status, photo).

Then Fleet → Driver Assignments → Change Assignment: choose Vehicle, New driver and Effective from. The history is kept, so later you can always see who had which car on any date.

2.8 Starting odometer reading

Where: Fleet → Odometer Register → Record Reading (Vehicle, Odometer km, Reading time, Reference, Note).

Enter today’s ODO meter reading once (a photo of the meter as reference is a good habit). From then on the portal shows current ODO = last reading + GPS km since. Add a fresh reading about once a month to keep it accurate.

📸
SCREENSHOT 07
Odometer Register

2.9 Company sites (geofences)

Where: Journeys → Geofences → + Add Site

Field Needed? What to enter
Site name Yes Head Office, Plant-1, Warehouse …
Latitude / Longitude Yes Right-click the gate on Google Maps or OpenStreetMap and copy the coordinates. For Karachi, longitude is around 66.9–67.3
Radius (meters) Yes 150–300 m for an office or plant

Sites are shared by all vehicles – they are not per vehicle. Journeys → Site Visits then shows which vehicle arrived when and stayed how long. If a site is very far from all your vehicles, the portal warns you – usually a typing mistake in latitude/longitude (I learned this the hard way :p).

📸
SCREENSHOT 08
Geofences – Sites map

2.10 Fuel rates and refills

⚖️ Fuel receipts are not fuel burned
A receipt proves that a purchase was recorded; GPS distance gives an estimate of usage. These are different data points. Check tank levels, dates, driving conditions and missing positions before calling a variance suspicious.
  • Fuel rate history: Admin → Settings → Fuel & Currency → + Add Dated Rate every time the petrol/diesel price changes. Old trips keep the old price.
  • Record a refill: Fuel → Fuel Monitoring → + Add Refill (Vehicle, Litres, Fuel station, Refilled at, Odometer, Receipt no., Receipt photo).
  • Review receipts: Fuel → Fuel Receipts – mark Reviewed or Disputed, and check whether the car was really near a petrol pump at that time.
  • Fuel Audit: Fuel → Fuel Audit compares GPS-estimated litres with refills per vehicle and highlights big differences.

2.11 Maintenance schedule

Where: Fleet → Maintenance → Schedule (Vehicle, Task, Every km, Every days, Last done). Due status uses whichever comes first. When the job is done, use Log Service. Example: Oil & filter change every 5,000 km or 120 days.

2.12 Trip request workflow

Where: Journeys → Trip Requests → New Request

Requested → Approve → Approved → Assign vehicle & driver → Assigned → Start journey (ODO) → In Progress → Complete journey (ODO) → Completed

Fields: Requested by, Department, Contact, Priority, Purpose, Pickup, Destination, Required from, Return by, Passengers, Notes. The portal warns if the chosen vehicle is already booked in that time window. Every step is kept in the request history.

📸
SCREENSHOT 09
Trip Requests with status badges

2.13 Users and roles

Where: Admin → Users → Add User (Username, Full name, Role, Status, Email, Phone, Password)

Role Can do
Admin Everything, including Settings, Users and System
Viewer Sees every section, cannot change anything (management, audit, finance)
Support Limited operational pages, and can create trip requests
Client (vehicle owner) NEW Separate, simple mobile-friendly portal showing only the vehicles you tick for that user – live map, trips, statistics, share links, parking guard (2.15)

Users change their own password from the profile menu (top-right) → Change password. The owner account from the installer is always Admin.

2.14 Daily use – what to look at

Screen Use it for
Overview → Dashboard Fleet at a glance + action centre (requests to approve, receipts to review, maintenance due)
Overview → Live Tracking Where every vehicle is right now – icons turn with the direction of travel, 30-minute trail with arrows, All / Running / Idling / Stopped / Offline counters
Overview → Movement History One vehicle, one day: moving / slow / traffic halt / stopped, playback up to 128× with a speed chart (over-speed in red), direction arrows and print
Journeys → Trips Every trip with distance, duration and fuel estimate; add purpose
Journeys → Site Visits Arrivals and time spent at company sites
Insights → Alerts Events reported by Traccar (overspeed, geofence, ignition, fuel …)
Insights → Reports CSV exports for trips, fuel, maintenance, odometer and assignments
Admin → System NEW Version, database and background-worker health, upgrade history and audit log
📸
SCREENSHOT 10
Movement History with playback

2.15 Vehicle owners: client portal & Android app NEW

If your vehicles belong to different people (family cars, a rental fleet, staff-owned vehicles), give each owner their own login. They see only their vehicles in a simple phone-friendly portal.

  1. Admin → Users → Add User, Role Client (vehicle owner), then tick the owner’s vehicles. The preview button next to a client opens exactly what they will see.
  2. The owner opens https://your-domain on the phone and signs in – they land on /my: home card (“Parked for 2 h 15 min”), live map with speed gauge, trips with route replay, statistics for 7/30 days and alerts.
  3. Install as an app: Chrome menu → Add to Home screen works straight away (HTTPS needed).
  4. Android APK (optional): on pwabuilder.com enter your HTTPS address and package it for Android. Keep the signing key and its passwords safe – future updates must be signed with the same key, or phones say “App not installed”. Put PWABuilder’s assetlinks.json in /var/lib/jz-fleetpulse/ (removes the browser bar), copy the APK to /var/www/jz-fleetpulse-app/ (served at https://your-domain/app/) and paste that link in Settings → Product Identity → Android app download link. The login page then shows “📱 Download the Android app”.

Two owner features worth showing them:

  • Share → Live link – valid for 1, 4 or 24 hours; family can follow the car on a map without any login. It can be stopped anytime and dies automatically if the owner loses access.
  • Parking guard – switch it on while parked and pick a radius (50 m – 1 km). The server checks every minute even when the app is closed; the alert shows when the app is open or in the background. (True push notifications are on the roadmap.)
📖 Full story with screenshots
The why and how of the mobile app (PWABuilder, signing key lesson, assetlinks) is in Section 09 of my JZ-FleetPulse story post.

03   /   OPERATIONSPart 3 · Keep it runningUpdates, backups, access and troubleshooting

3.1 Upgrades

New versions come as upgrade bundles, announced here on the blog. Copy the bundle to /tmp (WinSCP or wget), then:

cd /tmp
tar xzf upgrade_vX.Y.Z_YYYYMMDD-HHMM.tar.gz
cd upgrade_vX.Y.Z_YYYYMMDD-HHMM
sudo bash install.sh

Every upgrade verifies checksums, takes a full backup (app, database, uploads, settings), deploys, restarts and runs health checks. If anything fails, it rolls back automatically – files and database. From v0.9.11 the upgrade also creates/refreshes the background worker service.

🔁 Already on v0.9.2?
You don’t need this fresh installer – apply the latest upgrade bundle and your vehicles, users, trips and settings are kept. The fresh installer refuses to run over an existing installation, on purpose.

3.2 Backups and rollback

🛟 A backup on the same disk is only half a backup
Keep at least one tested copy outside the VM, preferably with your regular virtualization backup policy. FleetPulse records and the separate Traccar GPS database both matter.
sudo fleetpulse-upgrade version              # installed version
sudo fleetpulse-upgrade health               # quick health check
sudo fleetpulse-upgrade backup before-change # manual backup any time
sudo fleetpulse-upgrade list                 # list backups
sudo fleetpulse-upgrade rollback             # back to the version before the last upgrade
sudo fleetpulse-upgrade rollback <id> --with-db   # also restore that backup's database
sudo systemctl restart jz-fleetpulse-worker     # after any manual change

Backups live in /var/backups/jz-fleetpulse (last 10 kept). Copy them to another machine regularly – a backup on the same disk does not survive a dead disk. Traccar’s own GPS database is separate: back up /opt/traccar/data (or its MySQL/PostgreSQL database) as well.

3.3 Change settings / owner password

Server-level settings live in /etc/jz-fleetpulse.env. After any change, restart the portal:

sudo nano /etc/jz-fleetpulse.env
sudo systemctl restart jz-fleetpulse jz-fleetpulse-worker

Changed the Traccar password? The Traccar password is stored base64-encoded in TRACCAR_PASSWORD_B64. Generate the new value and paste it in:

read -rs -p "Traccar password: " P; echo; printf '%s' "$P" | base64 -w0; echo; unset P

Forgot / changing the owner (installer) password? Generate a new hash and replace the JZ_PASSWORD_HASH='...' line (keep the single quotes):

python3 -c 'import getpass,hashlib,secrets;p=getpass.getpass("New password: ");s=secrets.token_bytes(16);print(s.hex()+"$"+hashlib.pbkdf2_hmac("sha256",p.encode(),s,260000).hex())'

Other users’ passwords are reset by an Admin from Admin → Users.

3.4 Domain, HTTPS & access from outside UPDATED

Since v0.9.11 the installer does this for you when you give a domain (1.5): it installs Nginx, gets the certificate, redirects HTTP → HTTPS, sets JZ_HTTPS=1 (secure login cookies) and makes the portal listen only on 127.0.0.1. Expose only 80/443 – never 8090 or Traccar’s 8082 directly.

Item Where
Nginx site file /etc/nginx/sites-available/jz-fleetpulse
Let’s Encrypt renewal automatic (certbot.timer) – test with sudo certbot renew --dry-run
Own certificate (copied by installer) /etc/ssl/jz/fleet-fullchain.pem and /etc/ssl/jz/fleet.key – replace the files on renewal, then sudo systemctl reload nginx
Android APK folder /var/www/jz-fleetpulse-app/ → https://your-domain/app/

Installed without a domain and want to add one later? Point the DNS record to the server, then:

sudo apt -y install nginx certbot python3-certbot-nginx
# create /etc/nginx/sites-available/jz-fleetpulse with a proxy_pass to http://127.0.0.1:8090
sudo ln -s /etc/nginx/sites-available/jz-fleetpulse /etc/nginx/sites-enabled/
sudo nginx -t && sudo systemctl reload nginx
sudo certbot --nginx -d fleet.example.com --redirect
sudo sed -i 's/^JZ_HTTPS=.*/JZ_HTTPS=1/' /etc/jz-fleetpulse.env
sudo systemctl restart jz-fleetpulse

Prefer to keep it private? Keeping the portal on the office LAN and reaching it over VPN is still the most secure option – but the Android app and share links need a public HTTPS address.

3.5 If something does not work

What you see Most likely reason and fix
Portal page does not open systemctl status jz-fleetpulse, then journalctl -u jz-fleetpulse -n 50. Check firewall allows 8090 from your PC – or, with a domain, sudo nginx -t and that 80/443 are open (1.8).
Live Traccar shows an error / no vehicles Traccar down (systemctl status traccar) or wrong Traccar login in the env file (3.3). The Traccar account must be able to see the devices.
Device stays offline in Traccar Identifier mismatch, port not forwarded, wrong port, or no mobile data. Watch /opt/traccar/logs/tracker-server.log (2.5).
Map is grey / no tiles The user’s browser needs internet for map tiles. Try another style in Settings → Map & Basemap.
Fuel shows 0.0 L on trips Normal without a fuel sensor – set Average fuel economy (km/L) in the vehicle profile (2.6) to get estimates.
Site Visits empty Check site latitude/longitude (watch for the “far from fleet” warning) and radius.
“Too many failed attempts” 5 wrong passwords – wait 5 minutes and try again.
Yellow “GPS server did not return …” notice Traccar was slow or briefly down; the portal shows the last known positions (up to 15 min old) and refreshes itself. Check systemctl status traccar if it stays.
Phone app says “Server not reachable” The phone has internet but cannot reach the portal: check DNS, HTTPS certificate and Nginx. “No internet” means the phone itself is offline.
Android app update says “App not installed” The new APK was signed with a different key or package name. Rebuild with the same keystore, or uninstall the old app first (2.15).
Odometer looks lower than the car’s meter GPS distance reads a bit low; add a fresh real reading in the Odometer Register (2.8).

Still stuck? Leave a comment below with what you tried and the relevant log lines – please hide passwords, IPs and keys before posting.

✓   /   WRAP-UPClosingOne self-hosted system, ready to explore

That’s it – from a fresh Ubuntu server to vehicles on the live map, with HTTPS, a mobile app for owners, and trips, fuel, odometer and maintenance under control. If you install JZ-FleetPulse in your company, I would love to hear how it goes. And if you can provide a GPS tracker for testing, I will be happy to test it and share the results here.

JZ-FleetPulse is released under the GNU GPL: you are free to use, study, modify and share it. If you improve it, keep it open so the next person benefits too. Updates will be announced here on the blog, Insha’Allah.

Free software. Real experiments. Shared knowledge. 💚
Use it, learn from it, improve it and share your results with the community. And yes — if you have a spare Traccar-compatible GPS tracker for hands-on testing, I would love to hear from you.
JZ-FleetPulse – Open-Source Fleet / Vehicle Management Portal for Traccar
Project, development & documentation: Syed Jahanzaib (SJZ), Karachi, Pakistan
License: GNU General Public License v3
Blog: aacable.wordpress.com
Published: November 2026 | Updated: 26 November 2026 (v0.9.11 – Ubuntu 24.04, Nginx/HTTPS, background worker, mobile app)

Free & Open Source – built with passion, shared with the community.

Sharing is Caring!

Regard’s,
Syed Jahanzaib

November 13, 2026

From a Corolla Tracker in 2014 to JZ-FleetPulse in 2026 – Building My Own FREE Fleet Management Portal on Traccar


OPEN SOURCE  •  LINUX  •  GPS  •  FLEET OPERATIONS  •  NOV 2026

JZ-FleetPulse 🚘[Free Release under the GNU GPL]

From a Corolla tracker in 2014 to a self-hosted Fleet & Vehicle Management Portal in 2026

A personal Linux hobby project comes full circle — now covering trips, live tracking, movement history, fuel auditing, odometer records, maintenance, approvals, role-based access, live-location sharing, a parking guard and an Android app for vehicle owners, built on Traccar. Now at v0.9.11 with a one-command installer for Ubuntu 22.04 & 24.04.

● Self-hostedPython + FlaskTraccar GPS📱 Android appUbuntu 22.04 / 24.04v0.9.11GNU GPL

PROJECT AT A GLANCE

Created & documented by: Syed Jahanzaib (SJZ)

Technology: Ubuntu, Traccar, Python Flask, Gunicorn, SQLite, JavaScript, Leaflet and OpenStreetMap

Mobile app: Progressive Web App (PWA) packaged as an Android APK with PWABuilder — self-hosted, no Play Store required

Current release: v0.9.11 (26 November 2026) • fresh installer for Ubuntu Server 22.04 and 24.04 • upgrade bundles with automatic backup and rollback

License & date: GNU General Public License (GPL)  |  November 2026

🔒 Privacy first

Internal hostnames, IPs, credentials, vehicle identifiers, driver identities and exact home/office locations have been omitted or blurred.

🔒 Installation & Source Code Updated Post:

🆕 WHAT IS NEW — v0.9.11 (26 NOV 2026)

  • One-command installer for Ubuntu 22.04 & 24.04 – optional Traccar install, Nginx, HTTPS (Let’s Encrypt or your own certificate) and firewall ports. See Section 16
  • Mobile app grew up – statistics, live-location share links, parking guard, speed gauge and vehicles that turn with the road. Section 09
  • Smarter playback – speed chart synced to the replay, over-speed in red, direction arrows, idle/stop/alert markers.
  • Background worker service – one shared Traccar poll every 5 seconds for every screen, plus round-the-clock parking-guard checks.
  • Security & accuracy pass after an independent code review – stronger login lockout, private photos, safer share links, one “moving” rule everywhere, bad GPS points filtered.
  • Your timezone and currency – 44 timezones (or any UTC offset) and 56 currencies (or your own symbol).

Assalam o Alaikum,

Some ideas never really leave you. They just go quiet for a few years — and then one day they knock on the door again.

THE JOURNEY: 2014 → 2026

2013/2014 — Toyota Corolla + the Linux experiment

After buying a Corolla, I wanted to see my car on a map using my own server — with no compulsory monthly service. I installed Traccar 2.10 on Ubuntu 12.04 (32-bit), used a tracker and my phone with a Ufone GPRS SIM, and did plenty of walking around the block just to generate GPS tracks. :p

2026 — Suzuki Cultus + JZ-FleetPulse

The same curiosity returned, but the question grew from “Where is my car?” to “How can a fleet be managed transparently?” My Cultus became the first test vehicle, with a phone running Traccar Client. A proper hardware tracker is the next testing milestone, Insha’Allah.

I used the original tracker setup for around a year before the project was left behind. Later, I had to sell the Corolla for financial reasons. Zindagi mein sab kuch plan ke mutabiq nahi hota. Yet the experience stayed with me. With lots of chai and several evenings of trial and error, I began building something more complete: JZ-FleetPulse.

For a little nostalgia, here is my original article: Create your OWN GPS Based Vehicle/Fleet Tracking Management System in Linux (2014).

📡 Hardware tracker wanted for testing

If a GPS tracking vendor or a friend can provide a hard-wired or OBD tracker for hands-on testing, I would be glad to evaluate it with JZ-FleetPulse and share practical results. Please contact me through the comments.

EXPLORE THE ARTICLE

Quick navigation

  1. The real problem: registers, slips and phone calls
  2. Why Traccar + a custom fleet portal
  3. System architecture & technology stack
  4. Real journey: the Cultus morning commute
  5. Fuel estimation without a physical sensor
  6. Odometer, tyres and mileage accountability
  7. Feature tour: all portal modules (v0.9.11)
  8. Admin, Viewer, Support and Client roles
  9. NEW: The mobile app — tracking in the owner’s pocket
  10. What happens during internet outages?
  11. GPS hardware compatibility & buying tips
  12. Version bundles, backups and auto-rollback
  13. Engineering lessons from real-world testing
  14. Planned improvements and future ideas
  15. Why I am releasing this under the GPL
  16. UPDATED: Installation on Ubuntu 22.04 / 24.04 & download
  17. Video walkthrough — upcoming
  18. A special dedication
  19. Closing thoughts & project credits

SECTION 01 / 19

The problem: logbooks, fuel slips and WhatsApp photos

Why GPS dots alone are not enough

If you have worked in a Pakistani organization with a few pool cars, this scene will probably sound familiar:

  • Trip requests arrive by phone: “Bhai, kal subah 9 baje Port Qasim jana hai, gaari mil jaye gi?”
  • Paper logbooks sit in glove boxes and are completed at the end of the day — sometimes at the end of the month.
  • Fuel slips arrive in bundles, leaving Finance wondering whether the numbers actually make sense.
  • Tyre and maintenance claims come with an ODO photograph on WhatsApp. Someone has to scroll back to find the previous reading.
  • Tracker apps show a moving dot, but do not automatically answer questions about traffic delays, site visit times, approvals or discrepancies.

🎯 The problem in one sentence

The data was available; the operational context and accountability were missing. My goal: make each trip, litre, kilometre, service date and request traceable — without adding another paper register.

SECTION 02 / 19

Why build on Traccar rather than buy another service?

Separate the GPS engine from the business workflow

Commercial GPS services can work very well. But for my own experiments and custom fleet workflows, I wanted more control:

  1. Predictable cost: per-vehicle subscriptions can add up as the fleet grows. Self-hosting has its own server, connectivity, hardware and operational costs, of course.
  2. Data ownership: tracking and fleet records should remain on infrastructure we control.
  3. Workflow freedom: I wanted approvals, fuel receipt reviews, odometer history, service reminders and practical management reports — not only maps.

🧩 A deliberately simple design philosophy

Traccar = GPS connectivity, location and trip data.
JZ-FleetPulse = approvals, fuel, odometer, maintenance, reporting and accountability.
The portal uses the Traccar API rather than attempting to rebuild a mature tracking platform.

Traccar supports a broad range of tracking devices and has a documented REST API. The best part for someone who loves Linux experimentation? It is open source — the same reason it caught my attention twelve years ago. 🙂

SECTION 03 / 19

Architecture: how everything connects

A lean layer over Traccar, not a duplicate tracking engine

The software stack is intentionally modest and easy to reason about. GPS devices report to Traccar; FleetPulse reads the information it needs and adds the management records that GPS tracking alone does not provide.

🚗 Vehicle GPS tracker   /   📱 Traccar Client phone app

↓   Mobile data / 4G   ↓

Public endpoint → Firewall / NAT → Traccar GPS Server

↓   Traccar REST API (restricted credentials)   ↓

JZ-FleetPulse Portal
Python Flask • Gunicorn • SQLite (WAL) • Linux systemd
⚙️ Background worker service – shared live-position cache (every 5 s) + parking guard

↓ Nginx reverse proxy • HTTPS certificate ↓

↓ Authorized browser / app session ↓

🖥️ Fleet Admin | 👁️ Viewer | 🛠️ Support | 📱 Vehicle owner (mobile app) | 🔗 Shared live link
Layer Technology / purpose
GPS collection Self-hosted Traccar GPS Server; vehicle tracker or mobile app.
Application Python Flask with Gunicorn, operated by a Linux systemd service.
Database SQLite stores fuel slips, journey annotations, ODO readings, maintenance records, user access and audit trails.
Frontend Lightweight JavaScript single-page experience; no heavy frontend framework. A separate mobile-first client portal doubles as the Android app.
Maps Leaflet + OpenStreetMap map layers.
Operating system Ubuntu Server 22.04 or 24.04 LTS (one-command installer).
Background worker jz-fleetpulse-worker systemd service: polls Traccar every few seconds into one shared cache for all screens and checks parked vehicles every minute. The portal falls back to direct Traccar calls if it stops.
Web server Nginx reverse proxy with HTTPS (free Let’s Encrypt or your own certificate) – required for the installable mobile app.

💡 Why not copy every GPS coordinate?

Trips, stops, routes and movement points are read from Traccar on demand. FleetPulse stores business records that Traccar does not know about. This reduces unnecessary duplication and keeps the two systems focused on what they do best.
JZ-FleetPulse updated login screen with Keep me signed in and Android app download
📷 Updated login screen — “Keep me signed in” and the Android app download button — Click to view full size

SECTION 04 / 19

A real test: the Suzuki Cultus morning commute

Turning a trip into meaningful segments

With Traccar Client on my phone, sending a position approximately every minute, a typical Karachi morning commute looked something like this:

ILLUSTRATIVE MORNING TRIP

07:52 AM → 08:23 AM

≈ 17 km   •   31 minutes   •   Karachi traffic 🙂

Traccar reasonably reports that as one journey. A fleet manager, however, may want to know how much time was moving, creeping in slow traffic or stationary at a signal. So I added a Movement History view, using configurable thresholds to identify segments.

Time Status Duration Explanation
Before 07:52 ● Stopped — Before departure, at home
07:52 ● Moving 9 min Leaving the street and joining the main road
08:01 ● Traffic halt 3 min Stationary between two moving segments
08:04 ● Slow 6 min Below the configured slow-speed threshold
08:10 ● Moving 13 min Open-road segment
08:23 ● Stopped — After arrival at the office

The example above is simplified; the actual report also provides a color-coded route and playback.

🐞 The first bug was caught in my own driveway!

An early version labeled the 07:52 departure period as “Traffic halt”, simply because my phone had sent GPS points while I was parked. Apparently, my own porch had morning traffic. 😄

The fix: only call a pause a traffic halt when movement exists before and after it. At the start or end of a journey, classify it as stopped.

Administrators can tune moving speed, slow-speed thresholds, standing duration for a halt and longer-stop duration in Settings. This is important because Karachi traffic, highways and factory compounds do not behave the same way.

JZ-FleetPulse movement history report route visualisation
📷 Movement History — route colors, segment analysis and playback — Click to view full size
JZ-FleetPulse detailed movement history segmentation table
📷 Movement History — trip segmentation detail — Click to view full size

SECTION 05 / 19

Fuel estimation without a fuel sensor

Useful approximations — clearly distinguished from measured fuel

After my first return journey, the trip showed Fuel used: 0.0 L despite driving more than 17 km. Wah — free petrol? If only! 😄

A basic GPS device or phone generally does not send actual fuel-consumption telemetry. In that case, 0.0 may simply mean no fuel value was reported, not that the car consumed no fuel. FleetPulse can therefore estimate consumption using the GPS distance and a configured average economy.

FUEL ESTIMATE (ILLUSTRATIVE)

Estimated litres = GPS distance ÷ vehicle km/L

17 km ÷ 14 km/L ≈ 1.21 litres

Example fuel price: PKR 265 per litre

Estimated trip fuel cost ≈ PKR 321

Fuel economy is set per vehicle. The portal also maintains a history of fuel prices rather than relying on one hard-coded price, because rates change over time.

The Fuel Audit brings together GPS-based expected usage and refilling records supported by receipt photos. For example, an unusually high quantity of fuel purchased during a low-mileage period can be flagged for review.

⚖️ A vital distinction: refills are not the same as consumption

Fuel receipts show fuel purchased, not necessarily the amount burned on that day or week. Tank levels at the start and end, missing trips, driving style, AC use, traffic, engine idling and mileage accuracy can all affect the comparison. A red variance is a signal to investigate, not proof of misuse.
JZ-FleetPulse fuel monitoring and audit report
📷 Fuel monitoring — estimated use, receipts and variance — Click to view full size

SECTION 06 / 19

Odometer and tyre claims: fewer WhatsApp photos

GPS distance plus real odometer readings

One colleague who manages vehicle maintenance raised a great practical question: “When someone claims new tyres, they send an ODO photo. After installing trackers, how will we know total mileage?”

A tracker can provide travelled distance; the car’s actual odometer gives the reference point. JZ-FleetPulse combines them into an estimated current reading:

ODO ESTIMATION EXAMPLE

Estimated current ODO = last actual ODO + GPS km since

1 November manual ODO reading: 145,320 km

Distance since reading: 612 km

Estimated current ODO ≈ 145,932 km

Now the admin can compare a new tyre claim with the expected mileage and with the recorded service history. The Odometer Register also checks for implausible backward readings unless a correction is explicitly recorded, with an audit trail.

📏 Keep the model honest

A GPS-based estimate is not a replacement for the instrument-cluster reading. Missed GPS points, tunnels, accuracy drift and a phone left at home can all create discrepancies. Re-anchor the mileage regularly with a genuine ODO photo. For formal fleet use, a reliable hard-wired tracker is preferable to a phone.

SECTION 07 / 19

What is inside JZ-FleetPulse?

From GPS visibility to fleet operations

I wanted a system that could be used by a fleet coordinator, not merely admired by a technical person. Below is the module-by-module overview of the portal as described in this release.

Module What it provides
📊 Executive Dashboard Fleet totals, vehicles moving now, distance covered today, fuel snapshot, alerts and idling. Selected-vehicle card with “Running / Parked for …”, road-level location, estimated odometer, today’s activity (running, stopped, idling, engine hours, over-speeds, average and max speed) and tracker sensors. Action center for approvals, receipts and maintenance.
🗺️ Live Tracking Top-view vehicle icons that turn with the direction of travel, a 30-minute trail with direction arrows behind the selected vehicle, clickable All / Running / Idling / Stopped / Offline counters, IGN / GPS / power / battery badges, and “Now at / Last recorded location” with road names.
🟢 Movement History Moving, slow-traffic, traffic-halt and stopped segments on a coloured route with direction arrows. Playback from 1× to 128× where the vehicle follows the road, a speed chart linked to the replay with the speed limit and over-speed in red, markers for stops, idling, alerts and delayed (buffered) positions, and a “live vs delayed data” indicator.
🧭 Trips / Journey Log Start/end times, distance, duration, estimated fuel and trip-purpose notes.
📝 Trip Requests Request → approval → vehicle assignment → departure/completion with ODO entries.
📍 Geofences & Site Visits Office, plant and warehouse boundaries; arrival, departure and dwell-time history.
⛽ Fuel Receipts Refill record, receipt photograph, review/approval and contextual location checks.
🔎 Fuel Audit Expected GPS-based usage against fuel purchases, with variance for further review.
🛠️ Maintenance Service intervals by mileage and/or calendar days; upcoming and overdue status.
🔢 Odometer Register Actual ODO photos/readings combined with GPS kilometres for an estimate.
👤 Driver Assignments A traceable record of who was assigned a particular vehicle and when.
📁 Reports CSV exports covering trips, fuel, maintenance, odometer and assignments.
🔐 Users & Roles Admin, Viewer, Support and Client permissions, hashed passwords and login lockout. Admins can preview exactly what a client sees.
🧰 System Version details, database health, background-worker health, upgrade history, audit logs and a /readyz check for monitoring tools such as Uptime Kuma or Zabbix.
📱 Client Portal & Mobile App NEW Vehicle owners log in on their phone and see only their own vehicles: live status, map, trips, statistics, alerts, live-location share links and a parking guard. Installable Android app.
🔗 Live-location Share Links NEW Send a link valid for 1, 4 or 24 hours; the receiver follows the vehicle on a map without logging in. Links can be stopped anytime and die automatically if the owner loses access.
🅿️ Parking Guard NEW The owner arms it while parked and picks a radius (50 m – 1 km); the server checks every minute and records “moved” and “tracker went offline” events.
⚙️ Settings NEW Company branding, timezone (44 zones or any UTC offset), currency (56 or custom), speed limit, movement rules for hardware and phone trackers, address and landmark lookup.

🔍 A little thing that matters a lot

List pages are designed to be searchable, sortable by column and paginated. It does not sound glamorous, but it matters when there are thousands of trip or fuel records.
JZ-FleetPulse updated executive dashboard
📷 Updated dashboard — vehicles moving now, distance today and the selected vehicle’s location — Click to view full size
JZ-FleetPulse executive dashboard main overview
📷 Executive Dashboard — live overview and key indicators — Click to view full size
JZ-FleetPulse system settings
📷 System settings — thresholds and portal options — Click to view full size
JZ-FleetPulse settings page
📷 System settings — branding and configuration — Click to view full size
JZ-FleetPulse executive dashboard expanded view
📷 Executive Dashboard — additional fleet details — Click to view full size
JZ-FleetPulse trip request management
📷 Trip management — requests, assignments and statuses — Click to view full size
JZ-FleetPulse geofence and site management map
📷 Geofences and site visits — define operational locations — Click to view full size

SECTION 08 / 19

Who can see or change what?

Server-side role enforcement is essential

Role Permissions Common use
ADMIN Full control, including settings, users and system administration; can manage other admins. IT administrator / fleet head
VIEWER Can inspect all sections but cannot modify records. Management / finance / auditor
SUPPORT Operational access to selected pages and ability to create trip requests. Coordinator / administrative support
CLIENT NEW Sees only the vehicles assigned to their login — status, map, trips and alerts. Cannot see other vehicles, drivers’ records or settings. Vehicle owner / end user on the mobile app

🛡️ Security rule

Hiding a button is not authorization. The portal checks access permissions on the backend for relevant operations — not only by changing what the browser displays.

SECTION 09 / 19 NEW

The mobile app: vehicle tracking in the owner’s pocket

From a browser portal to an installable Android app — without writing a native app

The admin portal works nicely on a laptop. But the moment I showed it to people who actually own or use the vehicles, the feedback was the same: “Bhai, laptop kaun kholta hai? Mobile pe dikha do.”

Why a mobile app was needed

  • End users are not PC users. A vehicle owner, a manager on the move or a family member will not sit at a computer, open a browser, type a URL and log in — just to ask “Gaari kahan hai?”
  • Mobile is the default screen. Today we do banking, ride booking and food delivery from our phones. Tracking should be just as quick: tap the icon, see the car.
  • A full admin portal is too much for an owner. Fuel audits, approvals and odometer registers are for the fleet office. The owner needs four things: where is it, is it moving, where did it go today, any alerts?
  • Stay signed in. Typing a password every time on a small screen is a punishment. The app remembers the login on that device.

Step 1 — a new Client role and a mobile-first portal

First I added a fourth role: Client. The admin creates a login for the vehicle owner and ticks which vehicle(s) belong to that person. The client then sees only those vehicles — this is enforced on the server for every request, not just hidden in the screen. Admins also get a “View portal” button to see exactly what a client sees.

The client side is a separate, phone-first interface with five tabs at the bottom:

Tab What the owner gets
🏠 Home Plain-language status such as “Parked for 2 h 15 min” or “Moving · 42 km/h”; location with road name, nearby landmark and copyable coordinates; today’s figures and a last-7-days chart; Navigate, Share (one-time location or a live link) and Call driver; the Parking guard switch.
🗺️ Map Full-screen live map with a vehicle that turns with the road and glides smoothly, a 30-minute trail with arrows, a speed gauge, satellite view and a one-tap “today’s route”.
🧭 Trips Trips by day with from/to addresses, distance and duration; tap Route to replay the actual GPS path with direction arrows; a timeline of moving and stopped periods; Statistics for 7 or 30 days (distance, driving time, top speed, trips over the limit, busiest day).
🔔 Alerts Over-speed, SOS, geofence and engine events, grouped by day, with an “important only” filter.
👤 Account Dark mode, default map style, connection test, change password and sign out.

Step 2 — make it a Progressive Web App (PWA)

Instead of writing a separate Android app in Java or Kotlin, I turned the client portal into a PWA: a web app manifest (name, colours, icons generated automatically from the company logo), a service worker for fast loading and an offline page, and HTTPS with a proper SSL certificate. At this stage, users could already install it from Chrome with “Add to Home screen”.

It works — but telling every client “open Chrome, tap the three dots, then Add to Home screen” is not a distribution plan. People expect a real app they can install. 🙂

Step 3 — PWABuilder: from PWA to Android APK in minutes

This is where PWABuilder (a free, open-source tool backed by Microsoft) saved me days of work. You give it the portal’s HTTPS address; it checks the manifest and service worker, then packages the PWA as an Android app using a Trusted Web Activity — the same Chrome engine, but full screen, with its own icon and no address bar.

  1. Enter the portal URL on PWABuilder and review the report card (manifest ✔, service worker ✔, HTTPS ✔).
  2. Choose Package for stores → Android; set the package ID, app name, short name, version and icons.
  3. Let it create a new signing key. The download contains the signed APK, the keystore with its passwords and an assetlinks.json file.
  4. Publish assetlinks.json under /.well-known/ on the portal. This proves the app and website belong together, so Android hides the address bar.
  5. Host the APK on my own web server and paste its link into the portal settings. Android phones now see a “Get the Android app” button on the login page.

📦 Self-hosted APK — no Play Store needed

I did not publish on Google Play. Clients download the APK from our own server and allow “install unknown apps” once. No developer account, no review queue and no store listing. The trade-off: there are no automatic updates from a store, so a new APK has to be shared and installed over the old one.

🧠 The best part: update the server, every phone updates

The APK is only a thin shell with the name, icon and splash colour. Every screen, text and feature comes live from the server. When I released the redesigned client app, I upgraded the portal once and every installed app showed the new interface on the next launch — no new APK required.

New in v0.9.8 – v0.9.11: share links and a parking guard

Two features came straight from real life. Family members asked “Can you send me where the car is right now?” — and every owner worries about the car parked outside overnight.

  • Live-location links: choose 1, 4 or 24 hours and share by WhatsApp. The receiver sees the vehicle moving on a map — no app, no login. Stop the link anytime.
  • Parking guard: arm it while parked and pick a radius. A server-side worker checks every minute even when the app is closed, records “moved” or “tracker went offline”, and the phone shows a red alert, vibrates and notifies.
  • Honest limitation: the phone alert still needs the app to be open or running in the background; true push notifications are the next milestone.

Clear messages when things go wrong

A generic “Page not found” helps nobody. The app now checks why it cannot connect and says so in simple words:

  • 📵 No internet connection — mobile data or Wi-Fi is off.
  • 🖥️ Server not reachable — the internet works, but our server is not answering.
  • 🛠️ Service is restarting — the server answers, but the portal is under maintenance.
  • 🔀 Connected to the wrong server — the network is sending our address somewhere else (a DNS problem), with the fix shown on screen.

That last one came from real life: on my home Wi-Fi, the app suddenly showed a strange “Not Found” page while mobile data worked perfectly. My laptop on the same Wi-Fi was fine too. The culprit was my ISP’s DNS sending the phone to a different server. Setting the phone’s Private DNS to dns.google fixed it instantly — and now the app itself detects and explains this case. 😉

🔑 Lesson learned: the signing key is the app’s identity

When I rebuilt the APK with a fresh key and a new name, the phone said “App not installed”. Android only lets an update install over an existing app if the package ID and signing key are the same and the version code is higher. Choose the package ID once, back up the keystore and its passwords safely — lose it, and every user has to uninstall and reinstall.

Screenshots from my phone

JZ-FleetPulse Android client app screenshot (Screen 1)
JZ-FleetPulse Android client app screenshot (Screen 2)
JZ-FleetPulse Android client app screenshot (Screen 3)
JZ-FleetPulse Android client app screenshot (Screen 4)

📱 JZ-FleetPulse client app on Android — home, live map, trips and alerts — Tap any screen to view full size

💡 Why not a fully native app?

One codebase serves the admin portal, the browser version and the Android app, and a server upgrade reaches every phone immediately. For a self-hosted, one-person project, that is a huge advantage. A native wrapper may still come later for features such as a configurable server address or richer push notifications.

SECTION 10 / 19

What if the internet or ISP goes down?

Design for intermittent connectivity

Self-hosting behind a public IP is great until a fibre cut or ISP problem interrupts traffic. The important question is: “Will several hours of vehicle tracking vanish?”

The practical answer is: not necessarily. It depends on the tracker device, local storage, client settings and whether offline records can be uploaded after connectivity returns.

  • Traccar Client: configure and verify offline position storage on the actual phone. Mobile operating systems may also limit background location collection or power use.
  • Hardware trackers: many can buffer records in internal memory and resend them later. Memory capacity and store-and-forward behavior vary by make/model.
  • Backfill after recovery: historical reports may become more complete after queued records arrive. Real-time dashboards and alerts can lag during the outage.
  • Users are told what is happening: the mobile app distinguishes “no internet” from “server not reachable” and retries automatically, showing the time of the last update (see Section 09).
  • Last known positions instead of errors: if Traccar is briefly unreachable, the portal keeps showing the last known positions (up to 15 minutes old) with a clear notice, and reports say “not available” rather than silently showing zero.
  • Network resilience: secondary WAN, correctly configured firewall failover and a DNS hostname for trackers can reduce dependence on a single connectivity path.

🔁 A real-world resilience test

While a test car is moving, deliberately interrupt the main WAN for 15 minutes in a controlled window; restore connectivity and confirm the missing location records arrive. Also check that delayed timestamps are treated as historical data, not mistaken for a live position.

SECTION 11 / 19

Which GPS trackers will work?

Choose proven Traccar compatibility, not just a cheap price

Traccar supports many device families and protocols. Typically, a compatible tracker is configured to report to your Traccar server’s address and its protocol-specific port, then registered as a device in Traccar. FleetPulse consumes the device information that Traccar makes available. Compatibility is worth verifying by exact tracker model and firmware before buying in bulk.

Tracker buying checklist

  • Hard-wired 12V tracker with an ACC/ignition input for useful engine-related events, where supported.
  • Backup battery and offline buffering so connectivity losses do not automatically become reporting gaps.
  • CAN/OBD support where required — confirm that the specific vehicle, adapter and protocol expose odometer or fuel telemetry; an OBD plug alone is not a guarantee.
  • Documented Traccar-compatible protocol, model and port settings.
  • Device security: change default credentials, protect configuration commands and restrict exposure as supported by the hardware.

🧪 Current testing status

My Suzuki Cultus tests have used the mobile application as the GPS source. Hardware tracker integration and ignition/CAN validation are planned next. I will document results only after hands-on testing.

SECTION 12 / 19

Safer upgrades: backup, version bundles and rollback

Because “final_final_v2.zip” is not a change-management plan

A hobby project can survive an occasional broken page. A portal used by other people cannot. This is why I invested in a repeatable upgrade process rather than copying random files over the live system.

How the bundle upgrade flow works

  1. Verify package checksums and expected contents.
  2. Check version compatibility before applying an update.
  3. Back up the application, uploads, configuration and a consistent database snapshot.
  4. Deploy the new version with correct ownership and permissions.
  5. Restart and perform health checks after deployment.
  6. Roll back automatically if validation or the health checks fail.
  7. Refresh the background worker so it runs the new code, and confirm it with /readyz.

📦 Why bundles instead of endless hotfixes?

Each release can group related improvements and is easier to test, document and recover. An upgrade is not successful merely because the files copied correctly — it must pass its operational checks.
JZ-FleetPulse system settings version and upgrade status
📷 System administration — version information and upgrade history — Click to view full size

SECTION 13 / 19

Lessons learned along the way

Small experiments reveal surprisingly large truths

  • Coordinates are not management information. Context such as traffic segments, sites, mileage trends and service due dates is what makes the GPS feed useful.
  • Test with your own car. My Cultus exposed both the “traffic halt at home” issue and the misleading “0.0 L” fuel field.
  • One coordinate typo can ruin a report. A geofence longitude off by roughly one degree placed a site around 100 km away, so visits were not matching. The portal now warns about sites suspiciously far from the fleet.
  • Authorization belongs on the server. Frontend controls improve usability, but do not replace permission checks.
  • Build for the phone, not just the desk. The people who care most about a vehicle are rarely at a computer. A simple mobile view was more valuable to them than ten extra admin reports.
  • Your ISP’s DNS can lie. “Works on mobile data but not on Wi-Fi” is often a DNS issue, not an application bug.
  • Guard the app signing key like a password. It is the only thing that lets future updates install over the existing app.
  • Invite a code review. An independent audit found real issues — an in-memory login lockout, photos any user could open, share links that outlived access. Fixing them before wider use was worth every minute.
  • One rule for “moving”. Different screens using 3, 5 and 10 km/h produced different answers; now one setting drives everything, with a separate value for phone trackers.
  • Upgrades need a parachute. Backups, health checks and rollback make version changes more predictable.
  • Old experiments compound over time. An idea that faded in 2015 returned with a dozen years of additional experience.

✨ My favorite lesson

Make the report believable before making it beautiful. Pretty green and orange colors mean very little if the system calls your driveway a traffic jam. 🙂

SECTION 14 / 19

What I want to add next

Future enhancements — not presented as completed features

PLANNED / ON THE ROADMAP

The base portal is useful today, but a fleet system can grow in many directions. These are the next candidates; their implementation and release order are not final.

  • Hardware tracker testing: validate a real wired/OBD tracker, ACC input, ignition-based trips and store-and-forward behaviour.
  • Push notifications: parking-guard, SOS, over-speed and tracker-offline alerts on the phone even when the app is closed.
  • Reports centre: daily and monthly summaries, over-speed, idling and geofence reports as PDF/Excel, plus scheduled e-mails.
  • Documents & expiry reminders: registration, token tax, insurance, route permits and driver licences.
  • Vehicle expenses & cost per km: fuel, maintenance, tyres, insurance and tolls in one place.
  • Tyre and parts lifecycle: tyre fitting ODO, kilometres since installation and replacement eligibility checks.
  • Tracker health & app update banner: flag silent or delayed trackers, and tell phone users when a new APK is available.
  • Off-site backup: disaster recovery copies beyond the primary server.

🚀 Additional ideas worth exploring

Driver scorecards, vehicle assignment conflicts, utilization reporting, trip-request calendars, approval audit trails, service vendor records and maintenance spend trends. These are suggestions for future design, not features claimed to be present in this build.

SECTION 15 / 19

Why I am releasing JZ-FleetPulse under the GNU GPL

Knowledge shared is knowledge multiplied

So much of what I learned about Linux came from people who shared openly: late-night forum replies, mailing lists, community documentation and source code. Traccar itself is a reminder of what a community project can make possible.

I want JZ-FleetPulse to be useful beyond my own experiments. Therefore, I am releasing the project under the GNU General Public License (GPL), in the same spirit as my other community work.

  • Use it: study the system and run it in your own environment, subject to the license.
  • Learn from it: inspect the code, understand the architecture and adapt it to your workflow.
  • Improve it: fix bugs, add language support or contribute operational modules.
  • Share responsibly: if you redistribute a modified GPL-covered version, follow the GPL’s terms, including the applicable source-code and license requirements.
  • Give appropriate attribution: preserve the notices and credits required by the license.

❤️ Sharing is Caring!

If this helps a company replace a paper logbook, enables a student to understand a real Linux-based system or inspires someone else to improve open-source fleet tooling, the effort is worthwhile. Suggestions, bug reports and contributions are welcome.

Release note: The installation package and step-by-step instructions are published in a separate guide: JZ-FleetPulse installation & configuration guide.

SECTION 16 / 19 UPDATED

Installation on Ubuntu 22.04 / 24.04 & download

One installer: Traccar (optional), portal, background worker, Nginx, HTTPS and firewall

Since the first release I tested a fresh installation on a friend’s Ubuntu Server 24.04 machine with a real domain. The result is a single installer that asks a few questions and sets up everything — on 22.04 or 24.04.

Before you start

  • A fresh Ubuntu Server 22.04 or 24.04 LTS (64-bit), 2 vCPU / 2 GB RAM is plenty for a small fleet, and root/sudo access.
  • For the mobile app and HTTPS: a domain name (e.g. fleet.example.com) whose DNS A record points to the server’s public IP.
  • Ports open in your router / cloud firewall: 80 and 443 (web), 5055 (phones running Traccar Client) and optionally 8082 (Traccar’s own web page). The installer opens them in ufw automatically if it is active.

Step 1 – Download

📦 Package: jz-fleetpulse-install_v0.9.11_20261126-1405.tar.gz

⬇️ Download: Google Drive – JZ-FleetPulse v0.9.11 installer

🔐 SHA256: 2935d73b58d405555cc9ce87760f02b9d348e229a855eda0873d978c7be74289

Upload the file to the server’s /tmp folder (WinSCP on Windows, or scp).

Step 2 – Run the installer

cd /tmp
sha256sum jz-fleetpulse-install_v0.9.11_20261126-1405.tar.gz
tar xzf jz-fleetpulse-install_v0.9.11_20261126-1405.tar.gz
cd jz-fleetpulse-install_v0.9.11_20261126-1405
sudo bash install.sh

Step 3 – Answer a few questions

Question Suggested answer
Portal port 8090
Portal admin username / password e.g. fleetadmin and a strong password
Install Traccar on this server? yes on a fresh server (it downloads the latest Traccar)
Traccar address / login press Enter for http://127.0.0.1:8082; the e-mail and password you give become the first Traccar admin
Domain name e.g. fleet.example.com, or press Enter to use the portal by IP only
Certificate type le = free Let’s Encrypt (renews itself) • own = your purchased or wildcard certificate files • none = HTTP for now

The installer then installs the packages, Traccar (if chosen), the portal, the background worker, Nginx with HTTPS and the firewall rules, runs health checks and prints a summary with your portal address.

Step 4 – Check it is running

systemctl status jz-fleetpulse jz-fleetpulse-worker --no-pager | grep -E "service|Active"
curl -s http://127.0.0.1:8090/healthz # version 0.9.11
curl -s http://127.0.0.1:8090/readyz # database, Traccar and worker

Step 5 – First setup

  1. Open https://your-domain and log in. In Settings set your company name and logo, timezone and currency.
  2. In Traccar (http://server-ip:8082): Settings → Devices → + to add each vehicle, then switch off public registration.
  3. Phone as a tracker: install Traccar Client, set the server URL to http://your-domain:5055, interval 15–30 s, distance 0, accuracy High, and allow location “all the time” with battery set to Unrestricted.
  4. In the portal: Vehicles → set device type (hardware or phone), fuel economy and photo; Users → create Client logins for vehicle owners and tick their vehicles.
  5. Android app (optional): on pwabuilder.com package your HTTPS address, keep the signing key safe, place assetlinks.json and the APK on the server and paste the download link in Settings — the steps are in Section 09.

🔄 Upgrading an existing installation

Future versions come as small upgrade bundles: extract, then run sudo bash install.sh inside the folder. Each upgrade verifies checksums, backs up the code, data and settings, health-checks the result and rolls back automatically if something fails — sudo fleetpulse-upgrade rollback <backup> is always available.

📘 Detailed guide

The full walkthrough with screenshots is here: JZ-FleetPulse installation & configuration guide (Traccar + Ubuntu). It will be refreshed for v0.9.11, Insha’Allah.

SECTION 17 / 19

JZ-FleetPulse video demonstration

A visual walkthrough is planned

A short walkthrough is also on my list: dashboard, live tracking, movement playback, geofences, fuel audit and the new mobile app. I will add a video here after recording and editing it, Insha’Allah.

🎬

Video demo — coming soon

A video will be added after the recording is ready. No broken embed or placeholder link.

SECTION 18 / 19

A special dedication ❤️

For the little explorer who asks the best questions

To my son, iBBi 🙂 ❤️

You are often more excited about this project than I am — the first to ask, “BaBa, where is the car now?”, the first to press the playback button and the first to discover something unexpected.

Someday, you may look back at this little project and smile. What matters most to me is not the software itself, but the curiosity behind it: to observe, question, explore, learn and create something that helps others.

A musical thought: “What a Wonderful World” — Louis Armstrong (1967)

The song’s sense of wonder, kindness and watching children grow beautifully captures the feeling of this dedication.

SECTION 19 / 19

Closing thoughts

From seeing the vehicle to understanding the journey

In 2014, my question was simple: “Can I see my Corolla on a map through my own Linux server?” In 2026 it became: “Can we manage vehicles with useful records, clear approvals and better accountability — instead of paper, guesswork and endless phone calls?”

The heart is still Traccar, but the questions are different. And yes, it is now a Cultus instead of a Corolla — and the answer to “Gaari kahan hai?” now sits in an app on the phone. 🙂

I did not set out to reproduce every commercial fleet-management product. I set out to build a practical, self-hosted tool that fits real workflows and answers the questions that operations teams actually ask. That is the direction of JZ-FleetPulse, and I am excited to keep improving it.

If you are already running Traccar, have ideas for making the system better or can help with a hardware tracker for testing, do share your thoughts in the comments.

JZ-FleetPulse • Project Credits

Concept, planning, system design, development, implementation & documentation: Syed Jahanzaib (SJZ)

Platform: Ubuntu Linux • Traccar • Python/Flask • Gunicorn • SQLite • JavaScript • Leaflet • OpenStreetMap

Mobile app: Progressive Web App packaged for Android with PWABuilder (Trusted Web Activity)

License: GNU General Public License (GPL)

Original research post: My 2014 Linux vehicle tracking experiment

Blog: aacable.wordpress.com

Published: November 2026 • Updated: 26 November 2026 (v0.9.11 – Ubuntu 24.04 installer, mobile app, background worker)

Sharing is Caring! 🤝

Regards,
Syed Jahanzaib

EXPLORE. TEST. TROUBLESHOOT. AUTOMATE. DOCUMENT. SHARE.

↑ Back to the top

November 11, 2026

JZ Billing Central – Complete Installation & Day One Guide (Ubuntu 22.04, FreeRADIUS, MikroTik)


 

FREE & OPEN-SOURCE ISP BILLING

Introducing JZ Billing Central

A centralized billing, subscriber management, and network operations platform for the ISP community — free to use, study, modify and share under the GNU General Public License.

Running an Internet Service Provider involves much more than delivering connectivity. Behind every connection are subscribers, packages, payments, dealers, authentication, and daily network operations.

JZ Billing Central is a free, open-source ISP billing platform built using Ubuntu Linux, PHP, MySQL, FreeRADIUS, and MikroTik RouterOS. It brings essential ISP management functions together in a centralized web interface.

My goal is simple: make ISP billing easier, more affordable, and accessible to operators of all sizes.

Why I Developed JZ Billing Central

My journey with Linux, MikroTik, FreeRADIUS, networking, and ISP-related technologies spans nearly two decades. During this time, I have worked with different ISP environments, experimented with numerous networking solutions, and shared practical troubleshooting experiences through my blog.

Anyone familiar with the Pakistani ISP industry knows the challenges faced by small and growing operators. From Karachi and Lahore to Rawalpindi, Peshawar, and smaller towns, many networks begin with a few MikroTik routers, limited budgets, and a small customer base.

As the business grows, subscriber management becomes complicated. Customer records may be maintained in Excel, dealers request activations through WhatsApp, and renewals or payments are tracked manually.

I have seen operators spend considerable time managing PPPoE accounts, troubleshooting disconnected sessions, reconciling dealer payments, and handling customer complaints.

Commercial billing solutions are available, but recurring licensing fees and customization limitations can be difficult for smaller ISPs.

This inspired me to develop JZ Billing Central: a practical, self-hosted platform that operators can manage and customize without expensive software licensing.

Key Features

  • ✓Centralized subscriber and service management
  • ✓MikroTik PPPoE authentication through FreeRADIUS
  • ✓Dealer accounts with prepaid wallet billing
  • ✓Flexible packages, activation, and renewals
  • ✓Online user and session monitoring
  • ✓Router/NAS management and operational controls
  • ✓Billing records, reporting, and administration
  • ✓Customer self-service portal
  • ✓Automated maintenance and monitoring tools

Why I Am Releasing It for Free

A common question is: Why release a billing system for free when similar software is sold commercially?

The answer comes from my own journey. Much of what I learned about Linux, MikroTik, RADIUS, DNS, and network administration came from open-source communities, technical forums, and engineers who generously shared their knowledge.

I still remember spending countless hours testing configurations, troubleshooting problems, modifying scripts, and occasionally breaking things before finally getting them working!

For years, I have followed the same knowledge-sharing philosophy through aacable.wordpress.com,
where I publish real-world experiences, scripts, and solutions for network administrators and ISP operators.

Over time, readers from Pakistan and other countries have contacted me to share feedback or explain how a particular article helped resolve a technical problem. That encouragement has always meant more to me than commercial recognition.

JZ Billing Central is another contribution to the community that helped me learn and grow.


“Free does not mean the software has no value. It means I have chosen to share that value with the community.”

If this project helps a small ISP reduce expenses, allows an engineer to learn something new, or helps an operator manage customers more efficiently, I will consider the effort worthwhile.

Why GNU GPL and Open Source?

JZ Billing Central is released under the GNU General Public License (GPL), allowing users to use, study, modify, and redistribute the software under the applicable license terms.

Whether you are an ISP operator in Karachi, a MikroTik engineer in Lahore, a student in Peshawar, or a network administrator elsewhere, you can examine the application and adapt it to your requirements.

I also welcome constructive feedback, bug reports, security improvements, and code contributions from the community.

As with any self-hosted application, please test, secure, monitor, and back up your installation before deploying it in production.

Built for Pakistani ISPs, Useful Everywhere

Many Pakistani ISPs operate through local dealers who manage customer registrations, collections, activations, and renewals. These real-world requirements influenced the design of JZ Billing Central.

Its Super Admin and Dealer model, wallet-based billing, MikroTik integration, and centralized subscriber management aim to simplify common operational tasks.

The platform can run on an Ubuntu server or virtual machine, giving operators control over their own hosting environment and subscriber information.

Although inspired by local ISP practices, the underlying technologies are used worldwide. Operators from other countries can also evaluate and customize the platform for their business requirements.

A Personal Note on Development

Developing JZ Billing Central has involved considerable experimentation with PHP, MySQL, FreeRADIUS, MikroTik integration, billing logic, and subscriber session management.

AI-assisted development tools have also helped accelerate coding, troubleshooting, and testing. However, anyone who works with real networks knows that generating code and operating a reliable system are two very different things!

Some features worked immediately, while others required multiple fixes and long troubleshooting sessions. This project remains an ongoing learning and improvement journey.

Installation and User Guide

To help newcomers get started, I have prepared a practical guide covering everything from installing Ubuntu Server to configuring the first PPPoE subscriber.

Whether you are learning FreeRADIUS, testing in a lab, or evaluating a billing solution for your ISP, I hope this project provides something useful.

So prepare your Ubuntu server, open your MikroTik terminal, grab a cup of coffee (or Pakistani doodh patti!), and let’s get started!

Contents

Part 1 · Install JZ Billing Central on your own server

Prepare Ubuntu Server 22.04, install JZ Billing Central, verify services, and configure network access.

Part 2 · From fresh install to your first connected customer

Configure MikroTik NAS, create packages and dealers, manage wallets, register subscribers, and test PPPoE authentication.

Part 3 · Let your customers answer their own questions

Explore subscriber account information, service details, and available self-service functionality.
PART 1 · INSTALLATION

Install JZ Billing Central on your own server

One file, one command. The installer sets up everything (FreeRADIUS 3.2, MySQL 8, PHP 8.1, nginx, the databases, new passwords and all services), repairs what it can by itself and shows a clear summary at the end.

This section is for ISP operators and network admins who want to try JZ Billing Central on their own hardware or VM. You do not need to know PHP, MySQL or FreeRADIUS – if you can install Ubuntu and log in with SSH, you can install JZ Billing Central. Plan about 30-45 minutes in total: about 15-20 minutes for Ubuntu, 5-15 minutes for the JZ installer.

In this guide the Linux server where the billing is installed has the IP address 10.10.2.121 – replace it with your own server’s IP everywhere.

1.1What the installer does for you

  • Checks first, changes nothing until everything is ready: disk space, memory, internet access, free ports.
  • Installs the packages: nginx, PHP 8.1, MySQL 8, FreeRADIUS 3.2 (from the official InkBridge Networks repository) and syslog-ng, showing each package as it goes.
  • Creates the databases and the configuration with new random passwords made on your server – no password is shipped in the file.
  • Starts all services and enables the timers: billing worker, health checks, nightly backup (it also makes the first backup right away), connection-log collector and more.
  • Self-repair: fixes common problems on its own (service accounts, file permissions, services that did not start).
  • Final checks and summary: portal address, Super Admin login with its new password, and the next steps.
  • Resumable: if it is stopped (lost SSH, power cut, Ctrl+C), run the same command again – it continues where it stopped.

1.2Before you start – prerequisites

Item Minimum Recommended
Operating system Ubuntu Server 22.04 LTS (64-bit), fresh install. Not 20.04, not 24.04, and not a server that already runs other services.
CPU 2 vCPU 4 vCPU
Memory 2 GB 4 GB or more
Disk 20 GB (10 GB free) 50 GB+ (connection logs are kept for 365 days)
Network A fixed (static) IP address that your MikroTik routers can reach, and internet access during the installation (Ubuntu mirrors and packages.inkbridgenetworks.com must be allowed in your firewall / proxy).
Access SSH access with a user that can use sudo – preferably root access.
Routers MikroTik RouterOS as PPPoE server (RouterOS 7 recommended).
Use a fresh server. The installer refuses to install over an existing JZ installation or over databases that already hold data, so it can never overwrite a live system by mistake. A VM (VMware, Proxmox, Hyper-V, VirtualBox) is perfect for a first test.

1.3Install Ubuntu Server 22.04 LTS

  1. Download the Ubuntu Server 22.04 LTS ISO from releases.ubuntu.com/22.04 and boot your server or VM from it.
  2. Choose the normal (not minimized) installation, and use the whole disk.
  3. Network: set a static IP address, gateway and DNS for the network card your routers will use (you can do this in the installer under “Edit IPv4”).
  4. Profile: create your admin user (for example jzadmin) with a strong password – or use the root account if you prefer.
  5. SSH Setup: tick “Install OpenSSH server”. This is important – you will install JZ over SSH.
  6. Featured server snaps: do not select anything (no Docker, no other services).
  7. Finish the installation, remove the ISO and reboot.

1.4Make sure SSH is running

Log in on the server console once and check SSH and the IP address. If you forgot to tick OpenSSH during setup, the first line installs it:

sudo apt update && sudo apt install -y openssh-server
sudo systemctl enable --now ssh
systemctl is-active ssh          # should print: active
ip -4 addr show                  # note your server IP, e.g. 10.10.2.121

If Ubuntu’s firewall (ufw) is switched on, allow SSH: sudo ufw allow OpenSSH.

1.5Test the SSH connection from your PC

Windows 10 / 11: open PowerShell or Windows Terminal (or use PuTTY / MobaXterm). Linux / macOS: open a terminal. Then connect with your user and the server IP:

ssh root@10.10.2.121          # or: ssh jzadmin@10.10.2.121

The first time, type yes to accept the server key, then your password. When you see a prompt like root@server:~# (or jzadmin@server:~$), SSH works. Check internet access from the server too:

ping -c 3 google.com
curl -sI https://packages.inkbridgenetworks.com | head -1     # any HTTP answer is fine

1.6Download the installation file

The whole system is one file: jz_billing_20261111-1103.tar.gz (about 5 MB). Download link: JZ Billing Central – installation file (Google Drive). Use one of the two ways below.

Option A – download directly on the server (quickest)

cd /tmp
curl -L "https://drive.google.com/uc?export=download&id=1JOZ10Hu4bRCnNDSaehrOWRiYGQEh1Y0N" -o jz_billing_20261111-1103.tar.gz
ls -lh jz_billing_20261111-1103.tar.gz        # should be about 5 MB, not a few KB

If the file is only a few KB, Google Drive sent a web page instead of the file – use Option B.

Option B – download on your PC, then copy it to the server

Download the file in your browser, then copy it to the server’s /tmp folder with WinSCP / FileZilla (SFTP, port 22), or from PowerShell / terminal (run this on your PC, in the folder where the file was saved):

scp jz_billing_20261111-1103.tar.gz root@10.10.2.121:/tmp/

Optional – check the file is complete and genuine

sha256sum /tmp/jz_billing_20261111-1103.tar.gz

The result must be: b71adecda20d5665ab36c4fedf7218e9c56da893e30956d4aae4921d79170a3a

1.7Run the installer

On the server (over SSH):

cd /tmp
tar xzf jz_billing_20261111-1103.tar.gz
cd jz_billing_20261111-1103
sudo bash install.sh
  • It asks one question: the portal address. Press Enter to accept the default http://<server-ip>:8085.
  • Type YES to start. Then sit back – every step and every package is shown as it is installed.
  • INSTALL.txt inside the folder has the same instructions, for offline reference.
If the installation stops (SSH disconnected, power cut, you pressed Ctrl+C, or a check failed): fix what it says and run sudo bash install.sh again from the same folder. Finished steps are skipped and the same passwords are reused – nothing is installed twice. Running it on an already installed server is also safe: it only re-checks and repairs.

1.8Read the final summary

A successful installation ends with green OK lines and a box like this:

== Checks
  OK    mysql running
  OK    nginx running
  OK    php8.1-fpm running
  OK    freeradius running
  OK    portal answers on port 8085
  OK    FreeRADIUS answers logins
  OK    first backup made
  OK    portal health check: all checks OK

=================  JZ Billing Central is installed and running  =================
  Portal       : http://10.10.2.121:8085
  Super Admin  : login: superadmin    password: ************   (change it after the first login)
  Passwords    : /root/jz-install-secrets_<date>.txt   (root only - keep it safe)
Example: a complete real installation, from download to the final summary (click to open)

Recorded on our test server 10.10.2.121 (the Super Admin password is hidden here).


root@testrad:/# cd /tmp
curl -L \
"https://drive.google.com/uc?export=download&id=1JOZ10Hu4bRCnNDSaehrOWRiYGQEh1Y0N" \
-o jz_billing_20261111-1103.tar.gz
ls -lh jz_billing_20261111-1103.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 5406k 100 5406k 0 0 327k 0 0:00:16 0:00:16 --:--:-- 692k
-rw-r--r-- 1 root root 5.3M Nov 11 07:11 jz_billing_20261111-1103.tar.gz
root@testrad:/tmp# sha256sum /tmp/jz_billing_20261111-1103.tar.gz
b71adecda20d5665ab36c4fedf7218e9c56da893e30956d4aae4921d79170a3a /tmp/jz_billing_20261111-1103.tar.gz
root@testrad:/tmp# cd /tmp
tar xzf jz_billing_20261111-1103.tar.gz
cd jz_billing_20261111-1103
sudo bash install.sh
Portal address [http://10.10.2.121:8085]:

===== 2026-11-11 07:12:49 install.sh v1.19
JZ Billing Central 5.3 golden image, built 2026-11-11 06:04:13 UTC on Ubuntu 22.04.5 LTS
Install to: /opt/jz_billing Portal: http://10.10.2.121:8085 Server IP: 10.10.2.121

== Preflight checks
OK free disk space on / >= 5 GB
OK memory >= 2 GB
OK internet: Ubuntu package mirror reachable
OK internet: FreeRADIUS repository reachable
OK port 8085 free (or already ours)
OK port 1812 free (or already ours)
OK port 1813 free (or already ours)
Type YES to install: YES

== Pausing Ubuntu automatic updates (switched back on at the end)

== Packages (nginx, PHP 8.1, MySQL 8, FreeRADIUS 3.2, syslog-ng)
updating package lists...
package lists updated
installing 26 packages (3-10 minutes, details in /root/.jz-install/apt.log)...
77 package(s) to install / upgrade
downloading 39.9 MB of archives.
downloaded 10 file(s)...
downloaded 20 file(s)...
downloaded 30 file(s)...
downloaded 40 file(s)...
downloaded 50 file(s)...
downloaded 60 file(s)...
downloaded 70 file(s)...
unpacking rsync
unpacking libtalloc2:amd64
unpacking libtevent0:amd64
unpacking libwbclient0:amd64
unpacking mysql-common
unpacking mysql-client-core-8.0
unpacking mysql-client-8.0
unpacking libevent-core-2.1-7:amd64
unpacking libevent-pthreads-2.1-7:amd64
unpacking libmecab2:amd64
unpacking libprotobuf-lite23:amd64
unpacking mysql-server-core-8.0
[ 1/77] installed mysql-common
unpacking mysql-server-8.0
unpacking libbson-1.0-0
unpacking libmongocrypt0:amd64
unpacking libsnappy1v5:amd64
unpacking libmongoc-1.0-0
unpacking libivykis0:amd64
unpacking libnet1:amd64
unpacking syslog-ng-core
unpacking syslog-ng-mod-mongodb
unpacking libdbi1:amd64
unpacking syslog-ng-mod-sql
unpacking openssl
unpacking curl
unpacking libcurl4:amd64
unpacking fonts-dejavu-core
unpacking fontconfig-config
unpacking freeradius-common
unpacking make
unpacking freeradius-config
unpacking libfreeradius3
unpacking ssl-cert
unpacking freeradius
unpacking libmysqlclient21:amd64
unpacking freeradius-mysql
unpacking freeradius-utils
unpacking libdeflate0:amd64
unpacking libfontconfig1:amd64
unpacking libjpeg-turbo8:amd64
unpacking libjpeg8:amd64
unpacking libjbig0:amd64
unpacking libwebp7:amd64
unpacking libtiff5:amd64
unpacking libxpm4:amd64
unpacking libgd3:amd64
unpacking nginx-common
unpacking libnginx-mod-http-geoip2
unpacking libnginx-mod-http-image-filter
unpacking libnginx-mod-http-xslt-filter
unpacking libnginx-mod-mail
unpacking libnginx-mod-stream
unpacking libnginx-mod-stream-geoip2
unpacking libonig5:amd64
unpacking libzip4:amd64
unpacking mailcap
unpacking mime-support
unpacking mysql-server
unpacking nginx-core
unpacking nginx
unpacking php-common
unpacking php8.1-common
unpacking php8.1-bz2
unpacking php8.1-opcache
unpacking php8.1-readline
unpacking php8.1-cli
unpacking php8.1-curl
unpacking php8.1-fpm
unpacking php8.1-gd
unpacking php8.1-mbstring
unpacking php8.1-mysql
unpacking php8.1-xml
unpacking php8.1-xsl
unpacking php8.1-zip
unpacking python3-pymysql
unpacking unzip
unpacking syslog-ng
[ 2/77] installed php-common
[ 3/77] installed libmecab2:amd64
[ 4/77] installed mysql-client-core-8.0
[ 5/77] installed libmysqlclient21:amd64
[ 6/77] installed libdbi1:amd64
[ 7/77] installed libxpm4:amd64
[ 8/77] installed php8.1-common
[ 9/77] installed libzip4:amd64
[ 10/77] installed unzip
[ 11/77] installed libdeflate0:amd64
[ 12/77] installed nginx-common
[ 13/77] installed libnet1:amd64
[ 14/77] installed libjbig0:amd64
[ 15/77] installed libsnappy1v5:amd64
[ 16/77] installed libtalloc2:amd64
[ 17/77] installed php8.1-xml
[ 18/77] installed libnginx-mod-http-xslt-filter
[ 19/77] installed libprotobuf-lite23:amd64
[ 20/77] installed libtevent0:amd64
[ 21/77] installed php8.1-mysql
[ 22/77] installed make
[ 23/77] installed libbson-1.0-0
[ 24/77] installed libivykis0:amd64
[ 25/77] installed libevent-core-2.1-7:amd64
[ 26/77] installed fonts-dejavu-core
[ 27/77] installed python3-pymysql
[ 28/77] installed libjpeg-turbo8:amd64
[ 29/77] installed libwebp7:amd64
[ 30/77] installed php8.1-zip
[ 31/77] installed mysql-client-8.0
[ 32/77] installed libcurl4:amd64
[ 33/77] installed php8.1-readline
[ 34/77] installed curl
[ 35/77] installed freeradius-common
[ 36/77] installed libnginx-mod-http-geoip2
[ 37/77] installed openssl
[ 38/77] installed mailcap
[ 39/77] installed php8.1-opcache
[ 40/77] installed libonig5:amd64
[ 41/77] installed rsync
[ 42/77] installed libevent-pthreads-2.1-7:amd64
[ 43/77] installed libmongocrypt0:amd64
[ 44/77] installed libjpeg8:amd64
[ 45/77] installed libnginx-mod-mail
[ 46/77] installed mime-support
[ 47/77] installed php8.1-bz2
[ 48/77] installed php8.1-mbstring
[ 49/77] installed fontconfig-config
[ 50/77] installed libnginx-mod-stream
[ 51/77] installed libfreeradius3
[ 52/77] installed libwbclient0:amd64
[ 53/77] installed php8.1-curl
[ 54/77] installed php8.1-xsl
[ 55/77] installed libmongoc-1.0-0
[ 56/77] installed php8.1-cli
[ 57/77] installed ssl-cert
[ 58/77] installed syslog-ng-core
[ 59/77] installed mysql-server-core-8.0
[ 60/77] installed freeradius-config
[ 61/77] installed libtiff5:amd64
[ 62/77] installed libfontconfig1:amd64
[ 63/77] installed libnginx-mod-stream-geoip2
[ 64/77] installed freeradius
[ 65/77] installed mysql-server-8.0
[ 66/77] installed freeradius-mysql
[ 67/77] installed syslog-ng-mod-mongodb
[ 68/77] installed freeradius-utils
[ 69/77] installed syslog-ng-mod-sql
[ 70/77] installed php8.1-fpm
[ 71/77] installed syslog-ng
[ 72/77] installed libgd3:amd64
[ 73/77] installed mysql-server
[ 74/77] installed libnginx-mod-http-image-filter
[ 75/77] installed php8.1-gd
[ 76/77] installed nginx-core
[ 77/77] installed nginx
FreeRADIUS 3.2.10-1 · PHP 8.1.2-1ubuntu2.28 · mysql 8.0.46-0ubuntu0.22.04.4

== Clock: UTC

== Service accounts
created account jzconn
created account jzhealth
created account jzmaint

== Configuration (FreeRADIUS, nginx, PHP, MySQL, syslog-ng, systemd, cron) with new secrets

== MySQL restart with the copied settings

== Databases (jz_billing, radius, jz_conntrack)

== MySQL users (same permissions as the old server, new passwords)
user jz_billing@127.0.0.1
user jz_conntrack_ingest@127.0.0.1
user jz_ct_maint@127.0.0.1
user jz_unified_backup@127.0.0.1
user phpmyadmin@localhost
user radius@localhost

== Application (/opt/jz_billing)

== Services
services and timers enabled: 26

== Self-repair (fixes only what is wrong)
fixed syslog-ng listened on the old server address 10.10.2.120 - now 10.10.2.121 (/etc/syslog-ng/conf.d/jz-conntrack.conf)
fixed syslog-ng started
fixed jz-conntrack-follow started

== Checks
OK mysql running
OK nginx running
OK php8.1-fpm running
OK freeradius running
OK portal answers on port 8085
OK FreeRADIUS answers logins
OK jz_billing-worker running
OK jz-conntrack-follow running
OK first backup made
OK portal health check: all 13 checks OK
OK Ubuntu automatic updates back on

================= JZ Billing Central is installed and running =================

Portal : http://10.10.2.121:8085
Super Admin : login: superadmin password: ************ (change it after the first login)
Passwords : /root/jz-install-secrets_20261111-0716.txt (root only - keep it safe)
Install log : /root/.jz-install/install.log

Next steps
1. Log in, then My Account: change the Super Admin password.
2. Settings -> Notifications: your mail server. Settings -> Health & Alerts: your alert email.
3. Routers / NAS: add your MikroTik routers (FreeRADIUS restarts by itself). On each router:
/radius add service=ppp address=10.10.2.121 secret=<router secret>
/radius incoming set accept=yes port=3799
/ppp aaa set use-radius=yes accounting=yes interim-update=5m
4. Settings -> Backups: add an off-server copy target.

------------------------------------------------------------------------------
JZ Billing Central - made with love, for humans.
Free and open source, released under the GNU General Public License (GPL).
Designed and developed by Syed Jahanzaib - https://aacable.wordpress.com/about/
------------------------------------------------------------------------------
root@testrad:/tmp/jz_billing_20261111-1103#

Write down the Super Admin password – it was created on your server just now. You can always see it again with sudo grep "Super Admin password" /root/jz-install-secrets_*.txt.

1.9Log in and set it up

Open the portal address and log in as superadmin with the new password. Everything from here – router, package, dealer, wallet, first customer and the PPPoE test – is in Part 2.

1.10Firewall – ports to allow

Port Direction Used for
22 / TCP admin PC → server SSH
8085 / TCP staff, dealers, customers → server Web portal
1812, 1813 / UDP routers → server RADIUS login and accounting
3799 / UDP server → routers Disconnect / speed change (CoA)
Router API port / TCP server → routers Live usage graphs (RouterOS REST / API)
Syslog / UDP routers → server Connection logs (IP Lookup Desk) – only if you use it

1.11Installation troubleshooting and FAQ

“internet: no internet” in the preflight checks

The server cannot reach the Ubuntu mirror or the FreeRADIUS repository. Check the gateway and DNS (ping google.com), and allow packages.inkbridgenetworks.com in your firewall or proxy. Nothing was changed – run the installer again.

It looks stuck while installing packages

Each package is shown when it is installed; MySQL and FreeRADIUS take a minute or two each on slower disks. To watch the details live, open a second SSH window: sudo tail -f /root/.jz-install/apt.log.

A FAIL line in the final checks

The line says what is wrong and shows the last messages of that service. Fix it (or just run sudo bash install.sh again – Self-repair fixes the common causes) and the checks run again. The full log is in /root/.jz-install/install.log.

I lost the Super Admin password

sudo grep "Super Admin password" /root/jz-install-secrets_*.txt

Can I install on Ubuntu 24.04 or 20.04?

Not yet – the release is built and tested for Ubuntu 22.04 LTS (PHP 8.1, MySQL 8.0, FreeRADIUS 3.2). The installer stops on other versions.

How do I get updates?

Updates come as small numbered bundles (for example bundle_v5.4_...zip) that install with one command, test themselves against your own database first and can be rolled back. New releases will be announced on this blog.

PART 2 · USER GUIDE – DAY ONE

From fresh install to your first connected customer

Admin login → add your MikroTik router → check it is healthy → create a package → create a dealer and give it the package → top up the dealer wallet → log in as the dealer → create a customer → connect the customer over PPPoE.

So you have installed JZ Billing Central (if not, start with Part 1) and the installer has shown you that lovely green installed and running line. Now what?

This guide walks you through your first day with the system – the exact order I use myself on every new setup. By the end you will have a real customer logged in through your MikroTik, with the money correctly taken from a dealer’s wallet. Take it slowly the first time; the whole round trip takes about 30 minutes. After that, adding a customer takes less than a minute.

A small promise from the portal: every field you must fill has a red *. If you press Save and forget something, the form is not sent – the missing field turns red with a short note under it, and nothing you typed is lost.

2.1Log in as Super Admin

Open the portal address the installer showed you – usually http://YOUR-SERVER-IP:8085 – in Chrome, Edge or Firefox.

  1. Username: superadmin
  2. Password: the one shown at the end of the installation (forgot it? on the server run sudo grep "Super Admin password" /root/jz-install-secrets_*.txt)
  3. Answer the small sum in Human Verification and press LOGIN.

First thing after logging in: change that password to your own.

Where: My Account → Change Password

While you are here, it is worth two more minutes: Settings → Notifications (your mail server, so the system can email you) and Settings → Health & Alerts (the address that receives alerts and the morning summary). You can also do this later.

JZ Billing Central login page
The login page: username, password and the small Human Verification sum.

2.2Add your MikroTik router (NAS)

In RADIUS language a router is a NAS (Network Access Server). The billing system only answers routers it knows, so this comes first.

Where: Network → Routers / NAS → + Add Router

Section 01 · RADIUS Identity – the important one

Field Needed? What to enter
RADIUS source IPv4 Required The IP address your MikroTik uses when it talks to this server. If the router has several addresses, it is the one on the interface facing the billing server (or the one you set with /radius set src-address=). Getting this wrong is the #1 reason for “no answer from RADIUS”.
Router name Required A friendly name you will recognise, e.g. Karachi CCR1036.
Shared secret Required (new router) A long random password shared by the router and the server – at least 16 characters by default. You will type exactly the same secret on the MikroTik. It is never shown again after saving.

Section 02 · RouterOS API – optional, but nice

Fill this if you want live traffic graphs, router health and session details inside the portal. You can skip it today and add it later.

Field Needed? What to enter
Connection mode Optional Not configured, Plain API · 8728, API-SSL · 8729 or REST HTTPS · 443 (RouterOS 7).
API port Optional Filled in for you from the mode.
Read-only API username / password Needed if API is on Create a read-only user on the MikroTik for this, e.g. jz-monitor. Never use your admin account.
Trusted TLS CA path Optional Only for API-SSL / REST with your own certificates.

Section 03 · CoA / Disconnect

Field Needed? What to enter
CoA UDP port Pre-filled Leave 3799. This is how the portal disconnects a user or changes their speed instantly.

Press Save Router Configuration. FreeRADIUS now restarts by itself to load the new router (it checks its configuration first). After a few seconds, refresh the page – a green bar at the top says FreeRADIUS restarted … router X is loaded.

On the MikroTik (Terminal)

/radius add service=ppp address=YOUR-SERVER-IP secret=THE-SAME-SHARED-SECRET
/radius incoming set accept=yes port=3799
/ppp aaa set use-radius=yes accounting=yes interim-update=5m
Routers / NAS - adding a MikroTik router
Routers / NAS: adding the MikroTik router (RADIUS identity, API and CoA).
MikroTik RADIUS and PPP settings
On the MikroTik: the RADIUS client pointing to the billing server.

2.3Check the router is healthy

Before going further, make sure the server and the router can really talk. Three quick checks:

  1. The green bar on Routers / NAS after saving says the router is loaded. If it says NOT restarted, the reason is written right there.
  2. Routers / NAS → Monitor → Read Router Health (only if you filled the API section): you should see the router’s CPU, uptime and PPPoE sessions. An error here means the API user, password, port or firewall needs a look – RADIUS can still work without it.
  3. Settings → Health & Alerts and Network → Network Operations: FreeRADIUS, RADIUS accounting and router actions should be green.

On the MikroTik you can also test from the router side: /radius monitor 0 shows requests and accepts / rejects once users start logging in.

Router health read from the MikroTik
Routers / NAS → Monitor → Read Router Health: the router answers over the API.

2.4Create a service package

A package (the portal calls it a master service) is what you sell: a speed, a validity and a price.

Where: Packages → Services & Pricing → Create Master Service
Field Needed? What to enter
Service name Required What dealers and customers will see, e.g. 10 Mbps Residential.
Download speed (kbps) Required In kilobits: 10 Mbps = 10000.
Upload speed (kbps) Required e.g. 5000 for 5 Mbps.
Base renewal cost (PKR) Required What a dealer pays from their wallet for one renewal, unless you give that dealer its own price (below).
Flexible validity unit + Term quantity Required How long one renewal lasts, e.g. Months × 1, or Days × 30.
Daily / Monthly GB, fallbacks Optional Fair-usage limits: after the quota, the user drops to the fallback package. 0 = unlimited. Skip for now.
Custom RADIUS reply attributes Optional For special cases (e.g. an IP pool). Leave empty.
Speeds are pushed to the MikroTik automatically through RADIUS – you do not need to create PPP profiles or queues for each package.

2.5Create a dealer and assign the package

Dealers (resellers, sub-ISPs, franchise partners) sell your packages from their prepaid wallet. Even if you sell directly, create one dealer for yourself – every customer belongs to a dealer.

Where: Wallet & Billing → Dealers & Wallets → Create Dealer

Dealer details

Field Needed? What to enter
Dealer / business name Required e.g. Gulshan Networks.
First name / Last name Required The person responsible.
Mobile Required e.g. 0300-1234567.
NIC / identification Required CNIC number of the dealer.
Dealer NIC front / back Required Photos of both sides of the CNIC (JPEG / PNG / WebP, up to 3 MB each). Stored privately – only Super Admin can see them.
Contact email, Address, City Optional Recommended – used on statements and for contact.
Reference / Referred by, Internal comments Optional For your own records; the dealer never sees comments.
Dealer network brand + logo Optional Shown in the dealer’s portal sidebar and receipts.

Dealer portal login

Field Needed? What to enter
Dealer portal login Required The username the dealer will log in with, e.g. gulshan.
Portal password + Confirm Required Follows the password rules in System Settings. It is shown once – give it to the dealer securely.

2 · Assign Approved Services

Tick the package(s) this dealer may sell – tick your new 10 Mbps Residential. A dealer can only sell what you assign here. You can change it any time under Packages → Services & Pricing → Dealer Service Assignments.

Press save. Optional: to give this dealer a different (wholesale) price than the base cost, use Services & Pricing → Dealer-Specific Wholesale Pricing (Dealer, Service, Wallet renewal cost).

2.6Top up the dealer wallet

A new dealer starts with an empty wallet, and activating a customer takes money from it. So let us add some credit.

Where: Wallet & Billing → Dealers & Wallets → Credit Selected Dealer Wallet
Field Needed? What to enter
Dealer Required Pick the dealer you just created.
Amount (PKR) Required e.g. 2000. Must cover at least one renewal of the package.
Receipt / reference Required Where the money came from, e.g. Bank transfer 11-Nov or a receipt number. It appears in the dealer’s statement.

The new balance shows in the Dealer Directory straight away, and every top-up is recorded in Wallet & Billing → Financial Ledger (and emailed, once mail is set up).

2.7Log in as the dealer

Now put on the dealer’s hat. Log out (or open a private / incognito window so you can stay logged in as admin in the other one) and log in at the same address with the dealer’s username and password.

The dealer sees a simpler portal: their own dashboard (customers, expiring soon, wallet balance), their customers, renewals and helpdesk – and nothing else. They never see router secrets, other dealers or system settings.

2.8Create your first customer

Where: Customers → New Subscriber (dealer portal or Super Admin)

The form has five short sections. Use the tabs at the top or Next section to move between them.

01 · Account & Service

Field Needed? What to enter
PPPoE username Required What the customer types in their router, e.g. ali.gulshan. Must be unique.
Customer display name Required Full name, as you want to see it in lists.
PPPoE password + Confirm Required The customer’s PPPoE password.
Service / package Required Only the packages assigned to this dealer appear here – pick 10 Mbps Residential.
Owner / Dealer Required Fixed to the logged-in dealer; Super Admin chooses.

02 · Network & Security

Field Needed? What to enter
End-user device MAC binding Optional Locks the account to one router MAC. Leave empty unless you need it.
Simultaneous use Admin only How many sessions at once (normally 1).

03 · Customer & Contact Details

Field Needed? What to enter
Mobile Required For reminders and contact.
CNIC number Required Format 35202-1234567-1.
First / Last name, Email, Address, City, … Optional Fill what you have. Your ISP can make more of these required.

04 · Customer NIC & Photos (private)

Field Needed? What to enter
NIC front image / NIC back image Required A phone photo is fine – images are shrunk automatically before upload and stored privately.
Customer photo, signed form, house photo Optional Paperless records, if you use them.

05 · Notes & Activation

Check the summary (package, price, wallet balance after) and press ✓ Activate User & Deduct Wallet. The customer is active immediately, the expiry date is set, and the price is taken from the dealer’s wallet once (a double click or page refresh never charges twice).

The required fields for new customers (mobile, CNIC, NIC images …) can be changed by the Super Admin under Settings → System Settings (required subscriber fields).
New Subscriber form
New Subscriber: the customer form, filled section by section.
New Subscriber - activation
Activation: the package price is taken from the dealer wallet once.

2.9Connect the customer over PPPoE

Time for the fun part. If your MikroTik already runs a PPPoE server, just test with the new username. If not, here is a minimal setup (replace ether2 with the port facing your customers, and the addresses with your own):

/ip pool add name=pppoe-pool ranges=100.64.10.2-100.64.10.254
/ppp profile set default local-address=100.64.10.1 remote-address=pppoe-pool dns-server=8.8.8.8,1.1.1.1
/interface pppoe-server server add service-name=jz interface=ether2 default-profile=default disabled=no
# plus your usual NAT / routing so customers reach the internet

Now connect a client – a home router’s WAN set to PPPoE, or a PC with a PPPoE dialer (Windows: Settings → Network → Dial-up → Set up a new connection → Broadband (PPPoE)) – using the customer’s PPPoE username and password.

How to see it worked

  • Customers → Online Sessions: the customer appears with their IP and the router name.
  • Open the customer (Customers → Subscribers → the name): status Active, the package speed, and on the Live Usage tab the traffic graph (if the API is set up).
  • On the MikroTik: /ppp active print shows the session, and the speed limit comes from the package.
  • Try the Disconnect button on Online Sessions – the session drops at once (that is CoA on port 3799 working).

🎉 That is it – you have a working ISP billing chain: router → RADIUS → package → dealer wallet → customer. Everything else (renewals, expiry reminders, fair usage, reports, outages, backups) builds on these same pieces.

Customer online with live usage
The first customer online: live session and usage.

2.10If something does not work

What you see Most likely reason and fix
PPPoE client says authentication failed Wrong PPPoE username / password, the customer is not active (expired, suspended), or the MAC binding does not match. Open the customer → Diagnose: it checks the account, RADIUS and the login log and tells you why.
No answer from RADIUS / client keeps retrying The router is not known to FreeRADIUS: the RADIUS source IPv4 on Routers / NAS is not the address the MikroTik really uses, or the shared secrets differ. Fix the IP (or set /radius set src-address= on the router) and save again.
Green bar says FreeRADIUS NOT restarted The configuration check failed; the reason is shown in the bar. FreeRADIUS keeps running with the previous router list.
Activate button says the wallet is too low Top up the dealer wallet (step 06) or lower that dealer’s price.
The package is missing in New Subscriber It is not assigned to this dealer: Services & Pricing → Dealer Service Assignments.
Disconnect / speed change does not work On the router: /radius incoming set accept=yes port=3799, and allow UDP 3799 from the server.
Live Usage / Read Router Health fails API section on Routers / NAS: check mode, port, the read-only user and that the MikroTik allows the server’s IP on that service (/ip service).

Still stuck? Leave a comment below with what you see (a screenshot helps) – and please hide passwords and secrets.

PART 3 · CUSTOMER SELF-SERVICE PORTAL

Let your customers answer their own questions

“When does my package expire?” “How much data have I used?” “Did my dealer renew me?” – customers can check all of this themselves, from their own phone, without calling you or the dealer.

Every ISP knows the phone calls: half of them are about the expiry date, the other half about speed or data. The customer portal is a simple, mobile-friendly page where each customer sees only their own account – nothing else. It is read-only: customers cannot change their package, speed or anything in RADIUS, and they never see the dealer’s wallet or anyone else’s data.

3.1The address to give your customers

Main link http://YOUR-SERVER-IP:8085/my
Alternative link (always works) http://YOUR-SERVER-IP:8085/?my=1

Print it on the installation slip, put it in your WhatsApp / SMS messages, or make it the home page your installers set on the customer’s router. If you have a domain, a friendly name like my.yourisp.net pointing to the server is even nicer.

By default the portal opens only from inside your own network (the private and carrier-grade NAT ranges your PPPoE customers get: 10.x, 172.16-31.x, 192.168.x and 100.64.x). That is deliberate – it is for your customers, not the whole internet. You can change the allowed networks in the portal settings (below).

3.2How customers sign in – two easy ways

  • Automatic recognition (the magic one): when a customer opens the link from their own connection, the portal recognises their active PPPoE session by its IP and shows “We recognised your connection” with their username. One tap on Continue and they are in – no password to remember.
  • Username and password: the same PPPoE username and password that is set in their WiFi router. The page tells them exactly that, and to ask their dealer if they do not know it.

Sessions are short and safe: customers are signed out after 30 minutes without activity (12 hours at most), and can sign out themselves with one tap.

3.3What the customer sees

Tab What is on it
Home Whether the connection is active, the package name and speed, and the exact expiry date and time – plus a friendly note when the expiry is close or the fair-usage allowance is used up.
Usage Data used today and this month, the daily download / upload of the last 30 days, and the fair-usage status (how much of the allowance is used and when it resets).
Payments Renewals and the payments the dealer recorded for this customer (can be switched off). Never the dealer’s wallet or cost price.
Support Report a problem: the customer picks No internet, Slow speed, Keeps disconnecting, Router / device problem, Billing / payment, Renew my package or Something else, adds a note if they like, and presses Send request. It becomes a helpdesk ticket for their dealer and the ISP – and the dealer’s contact details are shown right there.
Private by design: the portal never shows CNIC images, never shows the dealer’s wallet cost, and never lets a customer see another customer – even if they try someone else’s username.
Customer self-service portal - sign in
The customer portal: customers sign in with their connection or their PPPoE login.
Customer portal - account and package
Their own account at a glance: status, package and expiry.
Customer portal - usage and support
Usage and support – without calling the dealer.

3.4Settings for the ISP (Super Admin)

Everything about the portal is on one page: Settings → Customer Portal.

  • Portal link for customers – the main and alternative links, ready to copy, and how many customers signed in during the last 7 days.
  • Access and sign-in – turn the portal on or off, choose the networks that may open the portal (a list like 100.64.0.0/10, 10.0.0.0/8, or * for everywhere), and switch the two sign-in methods (automatic recognition, username + password) and the Payments tab on or off.
  • Check an address – type an IP address to see whether a customer at that address would be allowed in and recognised. Handy when a customer says “the page does not open”.
Settings - Customer Portal page
Settings → Customer Portal: the portal links, allowed networks and sign-in options.

Support requests from the portal arrive in Customers → Helpdesk for the Super Admin and in the dealer’s own helpdesk.

3.5Try it yourself in 1 minute

  • From the PC or phone you used for the PPPoE test in Part 2 (connected as that customer), open http://YOUR-SERVER-IP:8085/my.
  • You should see “We recognised your connection” with the test username – tap Continue.
  • Check the expiry date on Home, then send a test request from Support and find it in Customers → Helpdesk.
  • Not recognised? Sign in with the PPPoE username and password instead, and use Settings → Customer Portal → Check an address with the client’s IP to see why.
JZ Billing Central – made with love, for humans.
Free and open source, released under the GNU General Public License (GPL).
Developed and shared by Syed Jahanzaib, Karachi, Pakistan · aacable.wordpress.com/about
Free & Open Source – built with passion, shared with the community.

November 10, 2026

Personnel Notes for Installing Windows 11 25H2 on VMware ESXi 6.7 U3 — TPM Bypass, Network Setup, Sysprep and Golden Template Creation

Filed under: Mikrotik Related — Tags: , , , , , , , , , — Syed Jahanzaib / Pinochio~:) @ 3:16 PM


VMWARE • WINDOWS 11 • SYSPREP • TROUBLESHOOTING

Installing Windows 11 25H2 on VMware ESXi 6.7 U3: TPM Bypass, Network OOBE, Sysprep & Golden Template

By Syed Jahanzaib | aacable.wordpress.com

Recently, I needed a Windows 11 VM for an Office 365 migration activity on our existing VMware ESXi 6.7 U3 infrastructure, managed through vCenter 7. What looked like a routine installation presented a series of challenges: the TPM 2.0 requirement, limited clipboard support in the VMware browser console, Windows setup’s Internet/account requirements, and an unexpected Microsoft work/school sign-in screen after Sysprep.

Below are the issues we encountered, the workarounds we tested, and the steps used to build a reusable Windows 11 Golden Template.

Important compatibility note: Windows 11 deployed without meeting its hardware requirements is an unsupported configuration. The bypasses here are intended for controlled lab, migration, or compatibility testing—not as a substitute for TPM 2.0, Secure Boot, or a supported production hypervisor.

Environment

Component Configuration
Hypervisor VMware ESXi 6.7 Update 3
Management VMware vCenter 7
Guest OS Windows 11 Pro 25H2 (Build 26200.6584)
VM resources 2 vCPU / 16 GB RAM
Storage / network Local datastore / corporate VLAN / DHCP
Objective Install Windows 11, join AD, and create a golden template

1. Windows Setup Failed: TPM 2.0 Required

At the Windows 11 installation stage, Setup stopped with the message: “This PC doesn’t currently meet Windows 11 system requirements” and specifically identified the missing TPM 2.0.

Figure 1 — Windows 11 TPM 2.0 compatibility error.

Fix: Use LabConfig from Windows Setup

Press Shift + F10 to open Command Prompt. Enter the following commands (one at a time):

reg add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f
reg add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f
reg add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f

If Setup also stops on a CPU compatibility check, the following additional bypass may work with some Windows 11 setup builds:

reg add "HKLM\SYSTEM\Setup\LabConfig" /v BypassCPUCheck /t REG_DWORD /d 1 /f

Close Command Prompt, click Back in Setup, then continue. The TPM bypass allowed us to proceed. These keys skip selected installation checks; they do not add TPM functionality.

2. Copy/Paste Was Not Working in VMware Web Console

During the installation, Windows Command Prompt was running inside the browser-based VMware HTML5 console, where ordinary host-to-guest clipboard paste did not work.

Figure 2 — Command Prompt opened from Windows Setup in the VMware web console.

For this one-time installation, the fastest solution was to type the essential command manually:

reg add HKLM\SYSTEM\Setup\LabConfig /v BypassTPMCheck /t REG_DWORD /d 1 /f

For ongoing VM administration, consider VMware Remote Console (VMRC). Guest clipboard policies can also be controlled with these VM advanced settings:

isolation.tools.copy.disable = FALSE
isolation.tools.paste.disable = FALSE

Note: Changing these settings does not guarantee paste support during Windows Setup, particularly before VMware Tools are installed. Enable guest clipboard functions only where permitted by your security policy.

3. Stuck at “Let’s Connect You to a Network”

After the OS files were installed, Windows OOBE showed an Unidentified network / No Internet message and would not continue normally.

Figure 3 — Windows OOBE requesting an Internet connection.

Option A: Offline setup bypass (build-dependent)

Press Shift + F10 and try:

OOBE\BYPASSNRO

Where supported, the machine restarts and OOBE offers I don’t have Internet → Continue with limited setup.

Option B: Legacy registry workaround

If the script is missing, some Windows builds accept the following registry approach:

reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1 /f
shutdown /r /t 0

Compatibility note: Microsoft has changed or removed legacy offline OOBE workarounds in newer Windows builds. If bypass options are unavailable, use a supported provisioning method. Also check the virtual NIC connection, VLAN, DHCP, DNS, and VMware network drivers instead of assuming the issue is OOBE alone.

4. Windows 11 Installed and Joined to Active Directory

After completing initial setup, the Windows 11 guest was installed successfully and joined to our existing corporate Active Directory domain. DHCP was working, and the machine was ready for image preparation.

Figure 4 — Windows 11 Pro 25H2 installed and domain-joined.

5. Prepare the Golden Image with Sysprep

Rather than reinstall Windows for every new VM, we decided to prepare a Golden Image—a standardized, generalized Windows installation that can be cloned for future systems.

Pre-Sysprep checklist

  • Install VMware Tools, required drivers, Windows updates and common applications.
  • Remove temporary data and unnecessary software.
  • Confirm access to a local administrator account.
  • Review antivirus/management agents for vendor-specific image-cloning instructions.
  • Document licensing and activation requirements.
  • Preferably remove the reference VM from the domain before sealing, to avoid retaining unwanted domain-specific configuration.

To leave the domain, open:

sysdm.cpl

Under Computer Name → Change, select Workgroup, enter WORKGROUP, and restart. Sysprep can remove domain membership itself, but we preferred to complete the domain transition explicitly.

Run Sysprep

From an elevated Command Prompt:

%WINDIR%\System32\Sysprep\Sysprep.exe /oobe /generalize /shutdown
Switch Purpose
/oobe Show first-run setup on next boot
/generalize Remove machine-specific system information
/shutdown Power off when preparation finishes
Golden image rule: Once Sysprep shuts down the reference VM, do not boot it again before cloning the template.

6. Convert or Clone to VMware Template

Method A — Convert to Template

In vCenter, right-click the powered-off VM and select Template → Convert to Template. This turns the existing VM object into a template.

Method B — Clone to Template (Used in Our Case)

  1. Right-click the powered-off, Sysprep-sealed VM.
  2. Select Clone → Clone to Template.
  3. Name the template, for example AGPL-Win11-25H2-Golden.
  4. Choose the destination host and datastore.
  5. Complete the wizard and confirm the template appears in vCenter.

This approach preserved two independent objects: the original Windows VM and a reusable template. We could resume the original afterward without changing the stored template.

Storage consideration: Where ESXi hosts use local datastores rather than shared SAN storage, template placement and clone destination datastore selection need particular attention.

7. Post-Sysprep OOBE Asked for a Microsoft Work/School Account

After the template was created, we powered on the original Windows 11 VM. Because it had been generalized, it correctly returned to OOBE—but showed “Let’s set things up for your work or school” and requested a Microsoft organizational sign-in.

Figure 5 — Microsoft work/school sign-in prompt after Sysprep.

Because the machine would ultimately use traditional on-premises Active Directory, we wanted to complete setup with a local account first.

Option A — “Domain join instead”

On Windows 11 Pro, check Sign-in options for Domain join instead. When available, this permits local account setup; the machine can then be joined to the corporate domain.

Option B — Local account command (build-dependent)

Open Command Prompt with Shift + F10 and try:

start ms-cxh:localonly

Some Windows builds open a local user creation dialog. Other builds have disabled this path; if so, use a supported provisioning workflow or appropriate unattended configuration instead. The earlier OOBE\BYPASSNRO method may also be available on older builds.

After completing OOBE, verify the VM identity, name, networking and account settings, then rejoin the on-premises AD domain as required.

8. Deploy New Windows 11 VMs from the Golden Template

  1. Open vCenter → VMs and Templates.
  2. Right-click the saved golden template.
  3. Select New VM from This Template.
  4. Assign the VM name, destination host, datastore and network port group.
  5. Finish cloning and power on the new VM.
  6. Complete OOBE, test networking, and join Active Directory.

For scale, vCenter Guest OS Customization Specifications can automate naming, IP settings, and domain-joining tasks. Test a single pilot VM first, particularly when the image has already been manually generalized with Sysprep.

9. Final Validation Checklist

  • New VM boots and completes initial setup.
  • A unique computer name and identity are established.
  • VMware Tools and virtual NIC work correctly.
  • DHCP, DNS, corporate connectivity, and domain joining work.
  • RDP, security software and application prerequisites function as required.
  • Windows activation and update behavior are reviewed.
  • The saved golden template remains unchanged.

Conclusion

Our Windows 11 Pro 25H2 installation on ESXi 6.7 U3 required workarounds for TPM validation and Windows OOBE. We also encountered the familiar VMware browser-console clipboard limitation. Once the guest was configured, Sysprep + vCenter Clone to Template provided a reusable golden image for future deployment.

The main lesson: validate the OS build, hypervisor compatibility, network configuration and image-generalization workflow before rolling out multiple VMs. For lasting production deployments, a supported virtualization platform with proper virtual TPM and Secure Boot remains the right direction.

Useful References


Written by Syed Jahanzaib
aacable.wordpress.com
Sharing practical experiences from IT infrastructure administration, virtualization, and enterprise troubleshooting.

November 9, 2026

JZ Billing Central — Building a Free, Open-Source ISP Billing & Operations Portal with Linux, FreeRADIUS and MikroTik


AACABLE · PERSONAL BLOG TO SHARE KNOWLEDGE
LINUX · FREERADIUS · MIKROTIK · OPEN SOURCE

JZ Billing Central — Building a Free, Open-Source ISP Billing & Operations Portal with Linux, FreeRADIUS and MikroTik

A personal Linux project for the people running neighborhood internet networks — designed to make billing, troubleshooting and daily ISP operations a little less painful.

Designed, developed & documented by Syed Jahanzaib
JZ Billing Central v5.2 · November 2026 · aacable.wordpress.com
MY COMMITMENT
100% In-House Developed by Me | 100% Free for Everyone 😊 | Every Single Byte, Free for Life! ❤️

No Licensing Fees. No Subscriptions. No Hidden Charges. Just Pure Open-Source Passion — Built with Dedication, Shared with the Community! 🚀

01 / Overview — why I started another Linux project & Features List

Pakistan has a very active broadband market. People are familiar with names such as PTCL Flash Fiber, Nayatel, StormFiber and Transworld Home. Alongside these larger providers are many smaller, neighborhood-level internet operators — the people running fiber in streets and housing societies, maintaining MikroTik routers, visiting customer rooftops, handling complaints on WhatsApp, and collecting monthly payments one subscriber at a time.

I have spent around two and a half decades working with Linux-based systems and network operations. Over these years, one thing has remained clear to me: good technology should not be available only to organizations with big budgets. A person starting a small ISP already has enough problems — upstream bandwidth, fiber cuts, electricity, routers, customer complaints and cash flow. The billing system should not become another mountain to climb.

I wanted to create something useful for those people. Not to compete with a large national ISP, and certainly not to claim that one application can solve every networking problem. My aim is simpler: give a small ISP startup a practical foundation to manage subscribers, dealers, packages, payments, sessions and day-to-day troubleshooting without paying a recurring software license.

That idea became JZ Billing Central.

A note about the release: I intend to publish JZ Billing Central as free, GPL-licensed software. The application is still being refined and prepared for controlled live-operation testing. I will add the actual source-code and installation links here when the public release is packaged and checked.

Installation Link:

JZ Billing Central – Complete Installation & Day One Guide (Ubuntu 22.04, FreeRADIUS, MikroTik)


FEATURE OVERVIEW
JZ Billing Central v5.2 — what it does

Platform

  • Self-hosted on Ubuntu 22.04 LTS: Runs on one Linux server with standard packages: PHP 8.1, MySQL 8.0, FreeRADIUS 3.2, nginx and syslog-ng.
  • Built for MikroTik: Works with MikroTik RouterOS as the PPPoE server and RADIUS client; live traffic is read through the REST API.
  • Three portals in one system: Super Admin, dealer and customer portals share one database, so everyone sees the same truth.
  • UTC inside, local time on screen: All times are stored in UTC and shown in the portal time zone (Asia/Karachi), so reports and expiry dates are always correct.

Customer management

  • Subscribers: Search, filter and manage every customer: details, package, MAC binding, PPPoE password, area and status.
  • Customer 360° page: One screen with profile, daily usage, monthly traffic, sessions, live usage and diagnostics in tabs.
  • Online / Offline history: A 24-hour timeline of drops, offline periods, why each session ended and failed logins, with a 7-day view.
  • Diagnose: Checks account, RADIUS, router and login log to find why a customer is offline or slow, and opens a ticket with the evidence.
  • Paperless customer form: Dealers upload NIC front / back, customer photo, signed form and house photo; images are shrunk in the browser and stored privately.
  • Online Sessions and Connection History: See who is connected right now, disconnect a session, and export past sessions to CSV.
  • Expiry Reminders: Lists customers ending today, in 3 or 7 days or recently expired, with reminder tracking.
  • Bulk renew / change package: Renew or change many selected customers in one step, all-or-nothing.
  • Move Customers: Move customers between dealers by dealer, area or state, with preview and a full audited move history.
  • Areas: Area / sub-area tree showing customers per area and which dealer serves it.
  • Device Inventory: Tracks routers and ONTs in stock or assigned to customers and dealers.
  • Import from Radius Manager: Imports customers, packages and dealers from a DMASOFTLAB Radius Manager backup.

Packages and bandwidth

  • Services & Pricing: Packages with speed, validity, base price, which dealers may sell them and per-dealer prices.
  • Bandwidth Policies (FUP): Daily or monthly quotas and day / night speed windows, applied automatically on the router.
  • FUP Simulator: Shows how a package’s fair-usage rules would treat a given usage before customers feel it.

Dealer wallets and billing

  • Prepaid dealer wallet: Dealers top up first; each activation or renewal is charged to the wallet at the dealer’s own price.
  • Duplicate-charge protection: Every renewal carries a one-time key enforced by the database, so a double click or retry is never charged twice.
  • Safe money transactions: The wallet row is locked and every renewal is written in one transaction, so it either completes fully or not at all.
  • Daily Wallet Check: Rebuilds each dealer’s day from the ledger, compares it with the stored balance and emails any mismatch every morning.
  • Top-ups and adjustments: Add, deduct or set a dealer balance; every change is logged and emailed.
  • Ledger, statements and invoices: Every wallet line, customer payment, dealer statement and invoice in one place.
  • Archive dealer: On a live system dealers are archived instead of deleted, keeping their full history.

Dealer portal

  • Dealer dashboard: Own customers by state, expiring soon, renewals, wallet balance and a low-wallet warning.
  • Sign up, renew, suspend: Dealers activate, renew, change package and suspend their own customers without calling the ISP.
  • Dealer helpdesk: Open and follow tickets for own customers, with a service-level card for their own tickets.
  • Dealer staff logins: Separate logins for staff, collectors, technicians and helpdesk, each limited by access level.
  • Strict isolation: A dealer only ever sees their own customers, wallet and prices; never router secrets or system settings.
  • Branding: Each dealer’s logo appears on their portal and receipts.

Customer self-service portal

  • Account status: Customers see whether they are active, their package and speed, and the exact expiry date and time.
  • Usage and fair-usage status: Today’s and this month’s data use, plus whether the allowance is used up and when it resets.
  • Report a problem: Opens a helpdesk ticket that goes straight to the customer’s dealer and the ISP.
  • Private by design: Never shows CNIC images or the dealer’s wallet cost.

Network control (RADIUS)

  • Automatic PPPoE control: Logins, speeds and expiry are enforced through FreeRADIUS; nobody needs to log into a router to cut or restore a customer.
  • CoA / Disconnect queue: Speed changes and disconnects are sent to the router automatically, retried up to 3 times, with a manual Retry per customer.
  • Stale Session Recovery: Finds sessions the router has lost and closes them safely.
  • Connection Tracking: Stores router NAT logs per day for 365 days, searchable by customer, IP and time, with CSV export.
  • IP Lookup Desk: Answers “who had this IP at this time?” for complaints and lawful requests.
  • Network Operations (NOC) and Data Health: Router status, alerts and data-quality checks in one view.

Monitoring and operations

  • Health checks every 5 minutes: Checks worker, FreeRADIUS, accounting, router actions, backups, disk, failed logins, email queue and dealer wallets.
  • Email alerts: One email when a problem starts, reminders while it lasts, and a “resolved” email when it clears.
  • Outage detection: Spots many customers of one router or area dropping within minutes and turns it into one outage record and one alert.
  • Credit X days: Adds 1–30 days to every customer affected by an outage in one audited step, without charging any dealer wallet.
  • Maintenance mode: Pauses alerts during planned work and marks outages in that window as planned.
  • Daily summary email: Every morning: renewals and amount, top-ups, new / expiring customers, tickets, outages, health and backup status.
  • Helpdesk service level: First-response and resolution times, tickets open over 24 hours and repeat complainers for the last 30 days.
  • Accounting data-quality warning: Flags sessions with impossible times (for example a wrong router clock) so usage figures are not trusted blindly.

Reports and analytics

  • Overview dashboard: Active, online, expiring and expired customers, monthly renewals and top-ups, and a 14-day trend.
  • ISP Reports: Renewals, revenue, dealer margin and commission by period, dealer, area or package.
  • Bandwidth History, Area Reports, Capacity Center: Usage trends, per-area figures and router capacity for upgrade planning.
  • Exports everywhere: Lists export to PDF, Excel or CSV.

Backup and recovery

  • Nightly backup: Billing and RADIUS databases backed up at 02:30 Pakistan time, kept 14 days, with an email report.
  • Encrypted off-server copy: Each backup is AES-256 encrypted and copied to another disk or another server over SSH.
  • Binary-log copy: Copies MySQL binary logs so data can be recovered close to the minute, not just to last night.
  • Weekly restore test: Every Sunday the newest backup is restored into a scratch database and checked automatically.
  • Production mode: Marks a live system and blocks destructive tools such as Factory Reset and dealer delete.
  • Factory Reset for test VMs: Clears all data except the Super Admin and settings, after a backup, to prepare a fresh test system.

Security and audit

  • Role-based access: Super Admin, delegated staff roles, dealers, dealer staff and customers each see only what they are allowed to.
  • Full audit trail: Every login, edit, money change, move, deletion, credit and export is logged with before / after details.
  • Strong password handling: Staff passwords are hashed with Argon2id; new dealer passwords are shown once and never stored in clear text.
  • Login protection: Failed logins are throttled and unusual spikes raise an alert.
  • Private documents: NIC and customer images are stored outside the web folder and shown only to the owning dealer and Super Admin.
  • PECA-ready retention: Connection logs are kept 365 days by default, with a disk forecast that warns before space runs out.

Safe updates

  • One-command update bundles: Each update is a named bundle installed with one command.
  • Self-test before install: Pages, billing safety and dealer isolation are tested against the real database in transactions that are always rolled back.
  • Automatic rollback: Every update saves the files it changes and a rollback script; a server error after install rolls back automatically.

JZ Billing Central is being prepared for a free, GPL-licensed public release. Designed and developed by Syed Jahanzaib · aacable.wordpress.com

02 / The everyday problems I wanted to solve

Imagine a local operator managing a few hundred PPPoE customers. A dealer calls because a subscriber paid, but the account is still expired. Someone else says the internet is slow. Another says their connection has dropped five times today. Meanwhile, the owner wants to know how much balance each dealer has, whether renewals were charged correctly and which area is currently affected by a fiber fault.

The information may be scattered across a spreadsheet, a router, a RADIUS database, chat messages and someone’s memory. The result is familiar: too many logins, too many manual changes and not enough clarity.

I wanted the portal to answer ordinary questions without forcing the operator to jump between five different tools:

  • Who is online right now, and on which NAS?
  • Why is this customer offline, expired or experiencing slow speed?
  • Did the dealer actually have enough wallet balance for a renewal?
  • Was the wallet charged only once if somebody double-clicked Renew?
  • Are several customers in one area down because of one common fault?
  • If the Linux server fails, do we have a backup that has actually been restored and tested?

Those practical questions shaped the project more than fancy dashboards did.

03 / What exactly is JZ Billing Central?

JZ Billing Central v5.2 is an in-house prepaid ISP billing, authentication and operations portal. It is centered on FreeRADIUS for PPPoE authentication and accounting, MikroTik RouterOS for subscriber network sessions, and MySQL for the billing and operational records. The browser-based interface and background workers are built around PHP on Ubuntu Linux.

The system currently has three main experiences:

Who uses it? What they can do
Super Admin / ISP owner Manage dealers, packages, subscribers, routers, financial controls, reports, network health and system settings.
Dealer and dealer staff Create and renew their own subscribers, inspect their own wallet, troubleshoot sessions and handle assigned support work.
End customer Check service status, package expiry, usage and FUP status, and report a problem through the self-service portal.

Delegated ISP staff can also be assigned restricted roles for accounts, support and NOC work. The intention is that people see only the information they actually need.

SCREENSHOTS · LOGIN AND SUPER ADMIN DASHBOARD

JZ Billing Central login page for ISP staff and dealers
Login page for the Super Admin, ISP staff and dealers.
JZ Billing Central Super Admin dashboard welcome view
Super Admin dashboard: the welcome strip with today’s summary.
Super Admin dashboard needs-action and customer tiles
Dashboard tiles: what needs action now, customers by state and money this month.
Dashboard renewals trend, customers by package, routers and session end reasons
Renewals over the last 14 days, customers per package, router status and why sessions ended.
Dashboard wallet movements and quick actions
Wallet movements and quick actions for common admin tasks.

SCREENSHOTS · SUPER ADMIN SIDEBAR MENUS

Sidebar menu: Dashboard, Operations and Customers
Dashboard, Operations, Customers
Sidebar menu: Packages, Wallet and Billing, Reports
Packages, Wallet & Billing, Reports
Sidebar menu, part 3
Network and more
Sidebar menu: Announcements, Settings and My Account
Settings and My Account

04 / The Linux + MikroTik architecture

The documented v5.2 deployment uses a single Ubuntu 22.04 server. That server runs the portal, FreeRADIUS, MySQL, background workers, monitoring, email processing and connection-log collection. MikroTik routers act as PPPoE servers and RADIUS clients.

Typical flow:

  1. A customer starts a PPPoE session on MikroTik.
  2. MikroTik sends the authentication request to FreeRADIUS.
  3. FreeRADIUS checks the subscriber’s account rules in MySQL and returns the allowed service attributes.
  4. Accounting Start, Interim-Update and Stop records provide session and usage history.
  5. The PHP portal handles billing changes; background workers apply expiry, FUP and router actions through RADIUS CoA/Disconnect.
  6. Monitoring, reports, notifications and connection logs give the operator a clearer view of what is happening.

I intentionally stayed with familiar technologies. Linux, FreeRADIUS, MySQL and MikroTik have been part of many real-world network environments for years. They are understandable, serviceable and suitable for people who prefer to know what their server is doing.

JZ Billing Central architecture: portal, FreeRADIUS, MySQL, worker and MikroTik routers on one Ubuntu server
Architecture: one Ubuntu server runs the portal, FreeRADIUS, MySQL, the worker and the connection-log collector; MikroTik routers talk RADIUS.

05 / The features that matter during a working day

Subscriber management and the 360° customer page

The subscriber screen includes account details, area, package, status, usage, active and past sessions, login history and diagnostic information. The Online / Offline view is particularly useful when somebody says, “Internet baar baar disconnect ho raha hai.” Instead of guessing, the operator can inspect recent session changes and failed logins.

The Diagnose function brings together account, RADIUS, router and login information and can open a helpdesk ticket with supporting evidence. The same system also supports technician work, device inventory, expiry reminders, area assignments, CSV exports and controlled bulk operations.

SCREENSHOTS · SUBSCRIBERS AND THE CUSTOMER PAGE

Subscribers directory with filters and status
Subscribers: search, filters by package, area and dealer, status and online state.
Move ticked customers to another area or dealer
Bulk actions under the list: move ticked customers to another area or dealer.
Customer account profile with current usage and bandwidth policy
Customer page: account profile, current usage and the bandwidth policy in force.
Customer live usage monitoring graph
Customer page, Live Usage tab: live traffic graph and current speeds.
Customer daily usage history table
Usage history: daily download and upload with totals.
Online Sessions with live session controls
Online Sessions: who is connected now, with disconnect controls.

Dealer wallets, packages and renewals

Dealers have their own prepaid wallets and can sell only the packages and prices made available to them. Each successful activation or renewal deducts the applicable dealer price. Financial statements and audit history help both the dealer and ISP owner understand what happened.

For me, one of the most important details is duplicate-charge protection. The guide describes a unique request key, database-enforced uniqueness and wallet-row locking. That means a double-click or an accidental retry should not create a second charge for the same renewal request. A daily wallet check also compares the ledger with the stored balance and flags differences.

Dealer Directory with wallet balance, customers and last login
Wallet & Billing → Dealers & Wallets: each dealer’s wallet balance, customers and last login.

Bandwidth, quotas and network control

Packages can carry speeds, validity periods, daily or monthly fair-usage limits and day/night speed rules. The FUP simulator lets the administrator inspect what a policy would do before applying it. Router actions are queued, retried when necessary, and visible for manual investigation if an action fails.

Reports and customer helpdesk

The portal brings together renewals, dealer earnings, invoices, session history, capacity trends, usage reporting and customer tickets. Dealers see their own information; the Super Admin gets the larger picture. There is also an IP Lookup Desk and a connection-tracking module intended to help with traceability where the network logging configuration supports it.

06 / A feature I particularly wanted: noticing an outage before the phone starts ringing

Suppose a fiber route feeding one neighborhood is cut. Ten, twenty or fifty subscribers may drop within minutes. If every customer calls separately, the helpdesk receives fifty complaints about one underlying fault.

In v5.2, the monitoring design checks health every five minutes and looks for unusual, related customer disconnections by router or area. The outage screen records affected customers, recovery progress and timing. Planned maintenance can be marked separately so routine work is not mistaken for an unexpected incident.

There is also an outage-credit function. An authorized administrator can add eligible service days for affected customers without deducting money from dealer wallets, with each credit recorded for accountability. Naturally, that feature requires clear operating rules before being used commercially.

I like this direction because an ISP should not only know when a customer has paid. It should also know when the customer has had a bad experience.

Outage lifecycle: sessions drop, threshold check, outage opened, recovery tracked, outage ended, credit days
Outage lifecycle: checked every 5 minutes; an outage opens when many customers of one router or area drop, and ends when most are back.

07 / Financial safety, security and recoverability are not optional

A billing portal can look beautiful and still become a nightmare if it quietly loses money or data. So I have been putting considerable attention into the less glamorous areas:

Concern How v5.2 is designed to address it
Double renewal / overspending Unique renewal request keys, wallet locks and transactional updates.
Unexplained money difference Full financial ledger, audit history and a daily wallet reconciliation check.
Accidental production deletion Production mode blocks factory reset and test-billing clearing; real dealers are archived rather than erased.
Silent service failures Scheduled health checks for RADIUS, accounting, workers, backups, storage and router actions.
Server loss or bad update Nightly backups, optional/configured encrypted off-server copy, binary-log support, weekly restore verification and update rollback mechanisms.
Access to another dealer’s data Role- and dealer-scoped access, restricted staff permissions and update-time isolation tests.

The system guide also documents password hashing, login throttling, CSRF protection, restricted access to customer documents and audit logs for important administrative operations. Connection-tracking retention is configurable, with a default of 365 days; every deploying ISP must still verify the accuracy of its logs and its own legal obligations.

Important reality check: the present architecture is a single-server design, not a high-availability cluster. A backup does not replace a secondary RADIUS strategy, and a software feature is not proof that it will work under every live condition. I would much rather acknowledge those limits now than have an operator discover them during an outage.

08 / Three small examples of how an operator might use it

Example A — A customer has paid but cannot connect. The dealer opens the subscriber record, checks expiry and account status, performs a renewal if required, and examines the latest RADIUS/login or router-action information. There is an audit trail for the payment and the action.

Example B — A subscriber complains about slow speed. The helpdesk checks the package, today’s usage, FUP state, session details and router-side live information. A ticket can be created with the findings instead of simply saying, “Please restart your router.”

Example C — Multiple users go offline at once. The Operations Center identifies a possible common router/area event, records the outage and helps the operator track who has returned. One incident can be investigated without treating every customer as a completely separate mystery.

These are the kinds of daily situations that motivated the design.

09 / Why I want to release it under the GPL — free means free

This is the part I care about most.

My intention is to publish JZ Billing Central under the GNU General Public License, free of cost. No software purchase price. No per-subscriber activation charge. No dealer-count licensing fee. No yearly license renewal and no hidden software charges from me.

Once the source-code package is published, you will be able to download it, install it on your own network, study it, modify it, and improve it for your own use or for others, subject to the GNU GPL terms. If you build something useful on top of it and decide to distribute your version, the GPL’s sharing and source-code obligations apply to that distribution.

I am not asking people to sign a support contract to use this project. You will still need your own server, network equipment, internet connectivity and any third-party services you choose to integrate; those infrastructure or provider costs are separate from the software itself.

Why do this? Because I know that many technically capable people are held back by startup costs. If a student, a network engineer or a small operator can learn from the source code, improve it, and build a better local service, the effort is worthwhile.

My simple philosophy: knowledge becomes more valuable when we share it.

Download, installation guide and issue tracker: these links will be added here with the public GPL release. Follow the blog or leave a comment to be notified.

For the license itself, see the GNU General Public License and the GNU GPL guide. The released repository will identify the exact GPL version and include the appropriate license notices.

10 / What still needs work — and what I would like to add

I do not want to present a development system as a finished commercial appliance. The next step is a small, controlled pilot with a friend’s ISP, starting with a limited number of real subscribers, one or two routers and clear rollback procedures. Billing accuracy, reconnection after renewal, FUP behavior, session accounting and restoring backups are the first things to prove in real conditions.

Longer-term ideas include integrations for payment collection and notifications, improved OLT/ONT visibility for fiber networks, better outage correlation, and stronger deployment options for operators who need redundancy. Those are ideas and future work, not promises that every feature is already available.

I will continue to improve the portal whenever my professional and personal schedule allows. I cannot promise a fixed release calendar or round-the-clock support, but I do intend to keep sharing improvements, fixes, lessons and documentation as I can.

11 / A word to small ISP startups and fellow Linux enthusiasts

If you are just starting out, please do not measure your network only by how many PPPoE users are online. Keep an eye on backup recovery, billing consistency, customer experience, documentation, security and the ability to troubleshoot a fault calmly. These are the habits that turn a technical setup into a sustainable service.

And if you are learning Linux, FreeRADIUS or MikroTik, please keep experimenting. Build a lab, understand the RADIUS packets, check your accounting records, break things safely and learn how to recover. Even a modest setup can teach you an enormous amount.

For me, this project is another way of giving something back after roughly 25 years of Linux and network operations experience. I hope it saves somebody a few late nights, a few unnecessary expenses, and perhaps encourages another person to share their own work freely.

12 / Final thoughts

I did not begin JZ Billing Central because the world needed one more login screen. I began it because I wanted an ISP operator — especially one with limited resources — to spend less time wrestling with scattered tools and more time improving their network and helping customers.

JZ Billing Central v5.2 is still a work in progress. It has grown into a broad billing and operations system, and I am looking forward to learning from controlled real-world deployment. The public GPL release will follow when the package is safe to share.

If this effort helps even a few startups build more reliable, manageable and affordable networks, then I will consider the time well spent.

Running a small ISP and interested in piloting JZ Billing Central? Leave a comment below with your network size and setup (MikroTik model, number of PPPoE users). Feedback from real operators will shape the public release.

Regards,
SYED JAHANZAIB
Personal Blog to Share Knowledge! · Sharing is Caring!
https://aacable.wordpress.com


PROJECT / ARTICLE CREDITS

Concept, system design, development, testing and documentation: Syed Jahanzaib
Project: JZ Billing Central v5.2 — Linux / FreeRADIUS / MikroTik ISP Billing & Operations
Platform: Ubuntu, PHP, MySQL, FreeRADIUS, MikroTik RouterOS, nginx, syslog-ng
Blog: AACABLE — Personal Blog to Share Knowledge
Article date: November 9, 2026

Publication and safety note: This post describes the design and documented functionality of a system still being prepared for controlled live testing. It is not an independent security audit or a guarantee of legal compliance, uptime or production performance. Internal addresses, credentials and customer information have intentionally been omitted. Before deployment, use HTTPS, restrict management services, review source code, take and restore backups, test with a limited pilot, and follow applicable ISP licensing and data-retention requirements. Mentioned broadband brands are market examples, not users or sponsors of this project.

October 28, 2026

How I Archived an Entire WordPress Website into High-Quality PDFs Using Python, Playwright & Excel


Real-world IT case study · Python · WordPress · Playwright

Archiving a Complete WordPress Website into Visual-Fidelity PDFs — and Building a Searchable Excel Inventory

What started as a simple request to save website pages became a small automation project: sitemap and menu discovery, full-length screenshots, PDFs that actually resemble the live site, and a structured archive for a corporate transition.

Python + Playwright
Sitemap / Navigation Menu
Full-page PNG + PDF
Excel Index

The actual requirement

Our sample company, XYZ Pharma, was preparing for a group-level website transition. The request from IT management was straightforward: preserve every public website page as a PDF before content, branding, or navigation changes. But the output also needed to be easy to find, review, and hand over.

01 · Why browser printing and online converters weren’t enough

My first instinct was the usual one: open the page, press Ctrl+P, select Save as PDF, and move on. That works fine for many static pages. Our corporate WordPress site, however, had large visual banners, responsive sections, animated elements, lazy-loaded images, and long pages assembled with a visual page builder.

Once those pages were printed to regular paper-sized PDFs, several were no longer faithful to what a visitor saw in a desktop browser. Headings moved, image blocks changed size, content split at awkward points, and some visual elements appeared partially rendered.

Before · Generic PDF approach

Manual page-by-page work; A4 or print-CSS reflow; unpredictable page breaks; inconsistent background graphics; limited batch control; no ready-made inventory linking page names to saved files.

After · Our Python approach

Repeatable desktop-width captures; scrolling to trigger lazy content; full-page PNG masters; screenshot-derived PDFs; structured filenames; capture-status records; and a separate, reviewer-friendly Excel index.

What about free online “URL to PDF” tools? Some are excellent for one-off pages, but their free tiers and feature sets vary. Depending on the service, batch limits, page length, resolution, branding/watermarks, and customization can be restrictive. More importantly, many don’t build an organization-specific archive index with section hierarchy, image previews, headings, and clickable file references. Uploading confidential URLs or content to third-party conversion services also requires security review.

The lesson: a PDF conversion and a usable website archive are two different deliverables.

02 · The two discovery methods we tested

I ended up with two useful Python scripts rather than trying to force one discovery method onto every website.

Method A · WordPress sitemap discovery

The first script, save_jz_site.py, checks common WordPress sitemap locations such as /sitemap_index.xml and /wp-sitemap.xml, follows sitemap indexes recursively, filters out obvious binary files, and queues discovered pages for capture. This is useful for broader public URL coverage, including pages that may not appear in the navigation menu.

Method B · Website navigation-menu discovery

The second script, archive_xyz_menu.py, opens the homepage using Chromium, examines headers and navigation menus, including dropdown links, and builds a page list that reflects how a normal visitor navigates the site. It can also list pages first for review using --list and perform a short test capture using --limit.

These approaches complement each other. Sitemap-based discovery is generally better for coverage; menu-based discovery is better for preserving the visible navigation hierarchy. Neither alone guarantees that every public or hidden page has been found. Manual review and the WordPress administrator’s page inventory are still valuable.

03 · Fixing the layout and resolution problem

This was the most important part of the exercise. Merely automating the browser’s PDF print function did not produce the visual result we wanted. The updated menu-archive script instead treats the full-page screenshot as the visual master, then generates its PDF from that image.

CAPTURE WORKFLOW

Open page at 1440 × 900 desktop viewport
↓
Wait for page load and fonts
↓
Scroll gradually to activate lazy-loaded content
↓
Reveal common scroll-animation sections and hide selected floating widgets
↓
Capture full page, in strips if necessary
↓
Stitch strips into PNG → convert to PDF
↓
Record URL, menu path, file paths, time, and capture status

For very long pages, the script captures multiple vertical image strips and joins them together. It also checks for unwanted horizontal overflow and limits capture to the intended desktop width. A configurable SCALE setting allows higher-density screenshots when sharper details are worth the extra file size.

The first sitemap script takes a slightly different route: it exports both a PNG and a custom-sized PDF using browser screen-media rendering. The second script is the one I prefer when the objective is close visual resemblance rather than selectable text.

Practical trade-off: Screenshot-based PDFs are essentially images, so text typically cannot be selected or searched without OCR. Moving banners and videos become static snapshots. For an archive, I kept the PNG originals as additional visual references, and would retain the source website backup separately.

04 · The Excel index made the archive usable

Capturing dozens of PDFs is only half the job. The other half is making sure someone from IT, management, or the web agency can quickly locate the right page without opening every file one by one.

Our enhanced Excel report included the website section, page name, menu path, a short description of page content, main headings, detected content type, linked-document count, a thumbnail preview, and the corresponding PDF filename. The screenshot below shows the kind of reviewer-friendly register we built.

Field Why it helps
Section / Menu path Understand site hierarchy and ownership.
Content summary / Headings Identify what each captured page contains without opening it.
Content type / Documents linked Flag videos, image galleries, and linked documents for follow-up.
Thumbnail / PDF hyperlink Preview the page and open its archived PDF directly from Excel.
Status / Capture timestamp Support quality checking and repeatable handover.

A technical distinction: the menu script itself produces a CSV inventory with menu path, page title, URLs, PNG/PDF paths, timestamp, and capture status. The richer descriptions, headings, thumbnails, content categories, document counts, and Excel formatting belong to the additional reporting/enrichment step. I recommend keeping that step separate rather than pretending the raw capture script produces all of it.

For local clickable files, Excel can use a relative link such as =HYPERLINK("PDF/001_Home.pdf","Open PDF"). Keep the workbook and its PDF folder inside the same archive so paths remain portable when the folder is moved or zipped.

05 · Folder structure and a reproducible workflow

JZ_Website_Archive_YYYYMMDD/
├── PDF/
│   ├── 001_Home.pdf
│   ├── 002_About-Us.pdf
│   └── ...
├── PNG/
│   ├── 001_Home.png
│   ├── 002_About-Us.png
│   └── ...
├── Index.csv
├── Linked_Documents.txt     (if discovered)
└── JZ_Website_Complete.pdf  (if enabled and pypdf installed)

Additional reporting deliverable:
JZ_Website_Index.xlsx

For a fresh Windows machine, install Python, then the packages used by the menu-capture script:

python -m pip install playwright pillow pypdf
python -m playwright install chromium

For the sitemap script, install requests as well. Run the menu archive in test mode first:

python archive_jz_menu.py --list
python archive_jz_menu.py --limit 3
python archive_jz_menu.py

The first command inventories menu links without taking screenshots. The second captures a small sample so layout, resolution, and any site-specific CSS issues can be checked before running the complete set.

06 · Python source code — download / copy

I’m sharing the scripts as learning references. Before uploading them publicly, change the sample domain and remove any internal company identifiers. The scripts should not contain credentials, session cookies, or unpublished internal URLs.

Script 1 · Sitemap-based archiverRecursive sitemap discovery, PNG capture, custom-height PDF export, and CSV manifest.

PLACE DOWNLOAD LINK HERE:
https://drive.google.com/drive/folders/1VTFGQZ09xEpEBIul21R9D-j1USdhYcBf?usp=sharing[save_xyz_site.py]

Script 2 · Navigation-menu archiverDropdown menu discovery, screenshot stitching, image-based PDF export, index CSV, and bookmarked master PDF.

PLACE DOWNLOAD LINK HERE:
https://drive.google.com/drive/folders/1VTFGQZ09xEpEBIul21R9D-j1USdhYcBf?usp=sharing[archive_xyz_menu.py]

OPTIONAL: EMBED YOUR SCRIPT SOURCE IN THE POST

For a long Python script, use a WordPress Code block or publish a sanitized .py file and link it here. Do not paste raw Python code directly into a Custom HTML block: angle brackets and indentation can be interpreted as markup, and the long source makes the post hard to maintain.

07 · Things I would check before calling the archive complete

☑ Compare menu URLs with the WordPress page list and sitemap.
☑ Open a sample of PDFs and compare their layouts against the live website.
☑ Investigate failed or partially loaded pages in the capture index.
☑ Preserve downloadable annual reports, forms, and other linked documents separately.
☑ Check videos, carousels, language variants, and interactive content manually.
☑ Ensure Excel hyperlinks still work after copying the archive to another folder or workstation.
☑ Keep the original WordPress database and uploads/themes/plugins backup, not just PDFs.

One more practical note: these scripts use automation against a public website. Run them with authorization, keep request rates sensible, and avoid capturing private or authenticated material unless your organization has approved it.

08 · Final result

After a few rounds of trial and error, the output was much closer to the original desktop experience. Instead of a pile of randomly named PDFs, the site could be handed over as an organized collection of page images, PDFs, URLs, menu references, and an Excel review sheet.

For me, the most interesting part was not just generating PDFs. It was combining web discovery + controlled visual capture + useful documentation into something a non-technical reviewer could navigate. That combination is helpful for website migrations, rebranding, pre-change evidence, audit reviews, and digital records management.

Final takeaway

A website archive shouldn’t just be a collection of files. It should be visually faithful, traceable to its source URLs, easy to review, and reproducible when the next migration or audit comes around.

Written & tested by
Syed Jahanzaib
Systems & Network Administration · Real-world IT troubleshooting and automation

Company name, domain, and sample filenames in this article have been changed for privacy. This is a technical experience note, not a claim that PDFs replace a full website backup.

October 25, 2026

Veeam Backup Finally Clean After Years of SQL, VSS & Guest Processing Warnings


REAL-WORLD VEEAM TROUBLESHOOTING CASE STUDY

Veeam Backup Finally Clean After Years of SQL, VSS & Guest Processing Warnings

How we cleaned up a long-running VMware backup environment, fixed SQL transaction-log warnings, corrected guest-processing authentication, resolved legacy DNS dependencies and finally achieved a clean successful Veeam backup of more than 41 virtual machines.

Syed Jahanzaib
Environment: Veeam Backup & Replication 12.3.2.3617 | VMware Infrastructure | Windows & Linux VMs | Microsoft SQL Server | Application-Aware Processing

The Background

Our Veeam environment performs a weekly backup of the virtual infrastructure, normally every Sunday. The job protects more than 40 production and infrastructure virtual machines including Active Directory, application servers, SQL servers, monitoring systems, legacy applications and various departmental systems. The backup itself had been running for many years, but the weekly email report almost always contained warnings or occasional failures. In many cases the actual VM data was successfully backed up, but application-aware processing, SQL transaction-log processing, VSS or guest authentication generatedwarnings.

Over the years, some VMs had even been configured with Copy Only or had application-awareprocessing disabled simply to suppress repetitive warnings.

This time we decided not to hide the warnings. We went through them individually and corrected their actual causes.

❌ The Main Problem

Several SQL Server VMs repeatedly reported messages similar to:

Failed to truncate SQL server transaction logs

Other VMs occasionally generated errors such as:

Failed to initialize VSS freeze in guest system

RPC error: Access is denied. Code: 5

Failed to prepare guest for hot backup

The important point was that these were not storage-repository or VMware snapshot failures. Most were related to what Veeam was trying to do inside the guest operating system.

🔎 Troubleshooting Approach

Instead of changing settings globally, we selected one problematic VM first and investigated it end-to-end.

1. Verify VSS Health

vssadmin list writers

We verified that the SQL Server Writer and other VSS writers were in a healthy state:

Writer name: 'SqlServerWriter'
State: [1] Stable
Last error: No error

This immediately told us that restarting VSS services blindly was not the right solution.

2. Check SQL Recovery & Log Status

SELECT
    name,
    state_desc,
    recovery_model_desc,
    log_reuse_wait_desc
FROM sys.databases
ORDER BY name;

Several application databases were using the FULL recovery model and showed:

log_reuse_wait_desc = LOG_BACKUP

This indicated that SQL Server was waiting for transaction-log handling.

3. Verify the Account Used by Veeam

Our Veeam Guest Processing account was:

XYZ\ADMIN

When we checked SQL Server, we discovered that this Windows/domain account did not exist as a login on some SQL instances.

SELECT
    name,
    type_desc,
    is_disabled
FROM sys.server_principals
WHERE name = 'XYZ\ADMIN';

SELECT IS_SRVROLEMEMBER(
    'sysadmin',
    'XYZ\ADMIN'
) AS IsSysAdmin;

On the problematic systems either no row was returned, or the Veeam account was not a SQL sysadmin.

🎯 Root Cause

The biggest recurring SQL warning had a surprisingly simple cause:

Veeam could authenticate to Windows and perform the VM-level backup, but the same account did not have sufficient rights inside several SQL Server instances.

Therefore the VM backup completed, but when Veeam attempted application-aware SQL processing and transaction-log truncation, the operation failed.

This also explains why simply switching the affected servers to Copy Only made warnings disappear in the past: it avoided the SQL log-management operation instead of correcting the actual permission problem.

✅ The SQL Fix

On each SQL instance that produced Veeam SQL-processing warnings, we added the Veeam guest-processing domain account as a SQL Server login and granted the required administrative rights.

USE [master];
GO

IF NOT EXISTS
(
    SELECT 1
    FROM sys.server_principals
    WHERE name = N'XYZ\ADMIN'
)
BEGIN
    CREATE LOGIN [XYZ\ADMIN] FROM WINDOWS;
END
GO

ALTER SERVER ROLE [sysadmin]
ADD MEMBER [XYZ\ADMIN];
GO

Verification:

SELECT
    name,
    type_desc,
    is_disabled
FROM sys.server_principals
WHERE name = N'XYZ\ADMIN';

SELECT IS_SRVROLEMEMBER(
    'sysadmin',
    'XYZ\ADMIN'
) AS IsSysAdmin;

Expected:

XYZ\ADMIN   WINDOWS_LOGIN   0

IsSysAdmin
----------
1

⚙️ Final Veeam SQL VM Settings

For SQL VMs where we wanted Veeam to create an application-consistent Sunday VM backup, we used:

Setting Configuration
Application Processing Require successful processing
VSS Process transaction logs with this job
SQL Truncate logs

We deliberately did not enable periodic Veeam SQL-log backups every 15/30/60 minutes, because our requirement was primarily:

Veeam
Weekly full VM disaster-recovery protection.
SQL Native Backup
Separate daily FULL database backups using SQL scripts.

💾 Native SQL Backup Strategy

Our SQL servers already run separate daily full database backup scripts. A typical command looks like:

sqlcmd -S "%SQLSERVER%" -E -b -r1 ^
-Q "BACKUP DATABASE [%DBNAME1%] TO DISK=N'%BAK_FILE1%' WITH COMPRESSION, CHECKSUM, INIT, STATS=10;" ^
> "%SQL1_BACKUP_OUTPUT%" 2>&1

This gives us two different recovery layers:

Recovery Requirement Recovery Source
Complete server / VM failure Restore latest Sunday Veeam VM backup
Recover newer application database Restore latest daily SQL FULL backup

Example: if a server fails on Wednesday, we can restore the VM from Sunday and then restore Tuesday night’s SQL FULL backup to bring the application database closer to the failure point.

🧰 Other Errors We Found Along the Way

1. VIX / RPC Access Denied

Failed to initialize VSS freeze in guest system (vix mode)

RPC function call failed
Access is denied
Code: 5

One VM repeatedly produced this error even though the credentials themselves looked correct. The actual problem turned out to be something completely outside Veeam: the VM still had old Domain Controller DNS addresses configured on its network adapter.

Those domain controllers had already been retired.

After replacing the obsolete DNS servers with the current AD DNS/DC addresses, domain authentication and
Veeam guest processing started working normally.

2. Legacy HVAC / BMS SQL Writer Issue

Another interesting case involved an older HVAC/BMS VM running a legacy Siemens/WinCC environment and SQL Server Express.

Its Event Viewer repeatedly showed:

SQLWRITER

Login timeout expired

Named Pipes Provider:
Could not open a connection to SQL Server

We verified that:

  • SQL Server service was running.
  • SQL Server Browser was running.
  • SQLWriter was running.
  • VMware Tools was running.
  • Manual VSS shadow-copy creation succeeded.
  • The SQL instance was reachable using sqlcmd.

The VM was ultimately rebooted so that the old application, SQL Writer and related services could start from a clean state before the next Veeam run.

📊 Auditing Application-Aware Processing Across All VMs

We also used Veeam PowerShell to audit which VMs had application-aware processing enabled or disabled.

$job = Get-VBRJob -Name "AGPL All VM BKP - Veeam_12"
$objects = Get-VBRJobObject -Job $job

$report = foreach ($obj in $objects) {

    $vss = Get-VBRJobObjectVssOptions -ObjectInJob $obj

    [PSCustomObject]@{
        VM_Name        = $obj.Name
        Enabled        = $vss.Enabled
        IgnoreErrors   = $vss.IgnoreErrors
        CopyOnly       = $vss.VssSnapshotOptions.IsCopyOnly
        SQL_Processing = $vss.SqlBackupOptions.TransactionLogsProcessing
    }
}

$report |
Sort-Object Enabled,VM_Name |
Format-Table -AutoSize

This helped identify several machines where VSS/application processing had been disabled years earlier to avoid warnings.

Rather than enabling everything blindly, each legacy or vendor-specific VM should be reviewed individually.

💡 Practical Lessons Learned

01 Do not use Copy Only merely to hide SQL warnings.
02 Verify that Veeam’s guest-processing account also exists inside every SQL instance that needs SQL-aware processing.
03 A successful Windows login does not automatically mean sufficient SQL permissions.
04 Check vssadmin list writers before restarting VSS services.
05 Old DNS entries can surface as authentication or VIX/RPC errors rather than obvious DNS errors.
06 Legacy industrial/application VMs should be treated carefully instead of forcing modern settings on them.
07 Fix the root cause first; suppressing backup warnings can hide genuine recoverability issues.

FINAL RESULT

✅ 41+ VMs — Clean Successful Sunday Backup

On Sunday, 25 October 2026, the weekly Veeam backup completed cleanly across more than 41 virtual machines.

After many years of recurring warnings, the environment finally produced the kind of backup report every infrastructure administrator wants to see:

SUCCESS — NO RECURRING SQL / GUEST PROCESSING WARNINGS

The biggest improvement came not from changing backup storage, schedules or compression levels, but from correcting guest authentication and SQL Server permissions.

✅ Veeam Application-Aware Troubleshooting Checklist

  • Run Test Now under Guest Processing.
  • Confirm the Veeam account is a local administrator inside the Windows guest.
  • Verify domain DNS configuration on the VM.
  • Run vssadmin list writers.
  • Confirm SqlServerWriter is Stable with No Error.
  • Verify the Veeam account exists as a SQL Server login.
  • Verify SQL privileges required for application-aware processing.
  • Review SQL recovery model and transaction-log handling.
  • Check VMware Tools status.
  • Review Windows Event Viewer during the exact failed backup window.
  • Do not disable application-aware processing purely to make warnings disappear.
  • Review legacy systems separately before applying global changes.

Conclusion

Backup success is not only about whether a VBK/VIB file gets created.

For database and application servers, guest processing, VSS consistency and application-level permissions matter just as much.

In our case, years of recurring SQL warnings were largely resolved by ensuring that the domain account used by Veeam had proper SQL Server access on the affected instances.

Additional problems such as stale DNS configuration and legacy application behavior were then handled individually rather than hidden by disabling application processing.

Sometimes the best backup improvement is not a new product or new storage — it is simply understanding exactly what the backup software is trying to do inside the guest.

Real-World Infrastructure Troubleshooting
Documented from a production VMware & Veeam environment
Concept, Troubleshooting & Documentation by Syed Jahanzaib

October 23, 2026

MikroTik Dude Shows VPN Devices RED After FortiGate ISP Failover – Root Cause & Permanent Fix


REAL-WORLD NETWORK TROUBLESHOOTING

MikroTik Dude Shows VPN Devices RED After FortiGate ISP Failover

Root Cause Analysis & Permanent Blackhole Route Fix

A practical case study involving MikroTik Dude, FortiGate IPsec VPN tunnels, dual ISP failover, ICMP monitoring, stale firewall sessions and the routing fix that finally resolved the recurring issue.

MikroTik Dude
FortiGate
IPsec VPN
Dual ISP
Network Monitoring

⚡ Case Summary

Monitoring MikroTik Dude 4.x Beta on Windows
Firewall FortiGate with Dual ISP Connectivity
Remote Connectivity FortiGate IPsec VPN
Problem Remote devices remained RED in Dude even after ISP/VPN recovery
Root Cause Stale WAN/SNAT session created while the VPN route was temporarily unavailable
Permanent Fix High-distance blackhole route for the remote VPN subnet

🖥️ Background – Why We Use MikroTik Dude

We have been using MikroTik Dude for many years as a centralized monitoring platform for our network and server infrastructure.

Although our installation is an older Dude 4.x Beta running on Windows, it still provides a very useful NOC-style graphical overview of our environment.

Our Dude monitoring includes:

📡 Availability Monitoring
Ping and ICMP-based UP/DOWN monitoring.
📊 SNMP Monitoring
CPU, memory, interfaces, bandwidth and device health.
🗺️ Network Maps
Graphical visualization of servers, switches, links and remote sites.
📜 Historical Outages
Tracking when devices or services went down and recovered.
Operational importance: When a critical server or remote-site device turns RED in Dude, it normally triggers immediate investigation by the infrastructure team.

🌐 Our Network Scenario

At our Head Office we have a FortiGate firewall with two ISP links.

The primary ISP handles normal traffic. If the primary ISP becomes unavailable, connectivity automatically fails over to the secondary ISP.

We also maintain IPsec VPN tunnels through these links for connectivity toward remote infrastructure and services.

LAN / Servers / Dude
↓
FortiGate Firewall
↓
Primary ISP ⇄ Secondary ISP
↓
IPsec VPN Tunnel
↓
Remote Network / Servers

🔴 The Problem

Whenever the primary ISP experienced an outage, the VPN tunnel temporarily became unavailable and Dude correctly marked the remote devices as RED.

So far, this was completely normal.

The real problem appeared after Internet connectivity and the VPN tunnel recovered.

Even though the VPN tunnel had recovered, some remote devices remained RED in MikroTik Dude.
ISP Failure
↓
VPN Tunnel Goes Down
↓
Dude Detects Ping Failure 🔴
↓
ISP Recovers
↓
VPN Tunnel Recovers
↓
Dude Device Still RED

🧪 Initial Suspicion – Dude Ping Probe

Because we were using an old Dude 4.x Beta version, initially we suspected its internal Ping/ICMP polling engine.

In some previous cases, restarting Dude immediately caused the remote device to become GREEN again, which made the Dude polling engine look like the obvious culprit.

To bypass Dude’s internal ICMP mechanism, we created a custom external Ping probe using:

Dude Function → CMD Wrapper → PowerShell → .NET ICMP Ping

The external probe performed three Ping attempts and required at least two successful replies before declaring a device healthy.

It worked correctly during normal operation.

However, after another ISP outage, both the native Dude Ping and the custom PowerShell Ping reported the same remote systems as unavailable.

This was the turning point: if Windows PowerShell itself could not reach the remote IP from the Dude server, then the issue was no longer just inside Dude.

🔎 The Breakthrough – Traceroute Comparison

We then compared traceroute results from the Dude server and another workstation on the LAN.

✅ Working Workstation

Workstation
   ↓
FortiGate
   ↓
IPsec VPN
   ↓
Remote Gateway
   ↓
Remote Server

❌ Dude Server

Dude Server
   ↓
FortiGate
   ↓
WAN / ISP
   ↓
Public Routing
   ↓
Timeout

Both systems were behind the same FortiGate, but their traffic was behaving differently.

The important finding: traffic originating from the Dude server was no longer entering the IPsec tunnel. It was being forwarded toward a normal Internet/WAN interface.

🔥 FortiGate Flow Debug Revealed the Root Cause

We performed FortiGate flow debugging using the Dude server as the source and the remote system as the destination.

The critical output showed:

Find an existing session

Trying to offloading session from LAN to WAN

SNAT <Dude-Server-IP> -> <Public-WAN-IP>

This proved that FortiGate had an existing session for this traffic and continued forwarding it through the WAN interface.

Meanwhile, traffic from working systems showed:

enter IPSec interface
output to IPSec tunnel
IPsec encrypt/auth
Root Cause: During the VPN outage, FortiGate created a WAN/SNAT session for traffic destined for the remote private network. After the VPN returned, this existing session continued using the WAN path instead of being immediately re-routed through IPsec.

🧩 Why the Session Remained Alive

Primary ISP / VPN Goes Down
↓
VPN Route Becomes Temporarily Unavailable
↓
Dude Continues Polling the Remote IP
↓
Traffic Falls Through Toward WAN
↓
FortiGate Creates WAN/SNAT Session
↓
VPN Comes Back
↓
Existing Session Still Points Toward WAN
↓
Dude Continues Refreshing the Same Session
↓
Device Remains RED

Because Dude continuously polls monitored devices, the stale session could remain active instead of naturally aging out.

This also explained why restarting Dude occasionally seemed to solve the issue: temporarily stopping the monitoring traffic could cause the old session to disappear, allowing a new session to be established through the correct VPN path.

🛠️ Immediate Recovery – Clearing the Stale Session

For confirmation, we filtered the affected FortiGate session:

diagnose sys session filter clear
diagnose sys session filter src <DUDE-SERVER-IP>
diagnose sys session filter dst <REMOTE-IP>
diagnose sys session filter proto 1
diagnose sys session list

After verifying the filter, we cleared only that matching session:

diagnose sys session clear
diagnose sys session filter clear
Production Warning: Never issue an unrestricted session clear on a busy production firewall unless you fully understand the impact. Filter the required session first.

Immediately after clearing the incorrect session, connectivity from the Dude server returned and the monitored devices became GREEN again.

✅ Permanent Fix – FortiGate Blackhole Route

Manually clearing sessions was useful for diagnosis, but it was obviously not a permanent solution.

The real objective was simple:

When the VPN is unavailable, traffic for the private remote subnet must be dropped — it must never fall through to the public Internet route.

We therefore added a high-distance blackhole route:

config router static
    edit 0
        set dst 192.168.100.0 255.255.255.0
        set blackhole enable
        set distance 254
        set comment "BH-SAP-VPN - Prevent WAN fallback"
    next
end

After applying the route, FortiGate showed:

Routing entry for 192.168.100.0/24
  Known via "static", distance 254
    directly connected, Null

Routing entry for 192.168.100.0/24
  Known via "static", distance 10, metric 0, best
  * via PRIMARY VPN TUNNEL
    via SECONDARY VPN TUNNEL inactive
This was exactly the expected routing state. The VPN route remains preferred, while the blackhole route acts only as a safety net when no VPN route is available.

🔁 Why This Does Not Break Dual-ISP Failover

Path Distance Function
Primary VPN 10 Normal preferred tunnel
Secondary VPN 10 Automatic failover tunnel
Blackhole 254 Used only when no VPN route exists

Since the active VPN route has distance 10 and the blackhole route has distance 254, either working VPN path always takes priority.

Primary ISP Available
→ Primary VPN ✅Primary ISP Down + Secondary Available
→ Secondary VPN ✅Both VPN Paths Unavailable
→ Blackhole / DROP ✅

🔄 Before vs After

❌ Before

VPN Down
↓
Private Destination
↓
Default Internet Route
↓
WAN SNAT Session
↓
VPN Recovers
↓
Old Session Still Uses WAN
↓
Dude Remains RED

✅ After

VPN Down
↓
Private Destination
↓
Blackhole Route
↓
Traffic Dropped
↓
VPN Recovers
↓
VPN Route Becomes Active
↓
Dude Automatically GREEN

🎯 Real-World Validation

We did not consider the issue resolved just because the initial test worked. We kept the configuration in production and monitored subsequent ISP interruptions.

Since applying the blackhole route, the ISP links have gone down several times.

Every time, the recovery sequence has worked correctly:

✅ Primary ISP outage occurs
✅ VPN connectivity temporarily drops
✅ Dude correctly reports affected devices as DOWN
✅ FortiGate fails over/re-establishes the tunnel
✅ VPN route becomes active again
✅ Remote devices become reachable
✅ Dude automatically returns to GREEN
✅ No Dude restart required
✅ No manual FortiGate session clearing required

The recurring problem was therefore considered resolved.

💡 Key Lessons

This case was interesting because the initial symptoms strongly pointed toward MikroTik Dude.

In reality, Dude was ultimately reporting a genuine connectivity problem originating from the server on which it was installed.

Important troubleshooting lesson:
Always test connectivity from the monitoring server itself. A successful Ping from your own workstation does not prove that the monitoring platform is using the same route.

The custom PowerShell Ping probe was also useful because it helped prove that the failure existed outside Dude’s internal Ping engine.

📋 Troubleshooting Checklist

1️⃣ Ping the remote destination directly from the monitoring server.
2️⃣ Compare traceroute from a working workstation and the monitoring server.
3️⃣ Check FortiGate routing for the remote subnet.
4️⃣ Review Policy Routes / SD-WAN rules.
5️⃣ Run FortiGate flow debug using the affected source IP.
6️⃣ Look for unexpected WAN forwarding or SNAT.
7️⃣ Inspect and selectively clear stale sessions for testing.
8️⃣ Use a blackhole route to prevent private VPN destinations from falling through to the Internet.

🏁 Conclusion

The original symptom appeared simple:

VPN recovered — but MikroTik Dude still showed the device RED.

The actual cause was a stale FortiGate WAN/NAT session created during the short period when the VPN route was unavailable.

By adding a high-distance blackhole route for the private VPN subnet, traffic can no longer escape toward the public Internet during tunnel downtime.

Primary ISP fails → Failover occurs → VPN recovers → Route becomes active → Dude automatically returns GREEN

Sometimes the application displaying the alarm is not actually the source of the problem. In this case, MikroTik Dude helped expose a much deeper routing and firewall session issue.

Syed Jahanzaib / aacable.wordpress.com
Real-world notes from network infrastructure, systems administration, monitoring and troubleshooting.
Always validate routing, firewall policies, failover behavior and session impact before implementing changes in a production environment.

October 22, 2026

Implementing ManageEngine AD360 and ADAudit Plus | Our Experience with Active Directory Auditing, File Monitoring and Troubleshooting


FIELD NOTES • ACTIVE DIRECTORY • WINDOWS FILE SERVER AUDITING

ManageEngine AD360 & ADAudit Plus: From Missing Folders to Proper File Move Tracking

Our hands-on experience with AD auditing, segregation of duties, Windows event logs, an undersized USN journal, Group Policy and the famous Error Code 87.

By Syed Jahanzaib  |  October 22, 2026  |  aacable.wordpress.com

The short version: We wanted to know who changed an AD account and, just as importantly, who moved or deleted a departmental file. AD auditing was one part of the journey. Getting meaningful file-move reports out of our Windows file servers took considerably more troubleshooting than expected.

Recently, we implemented ManageEngine AD360, ADManager Plus and ADAudit Plus as part of an effort to strengthen day-to-day administration and auditing in our Windows environment. I had initially expected file-server auditing to be a matter of adding the servers, selecting the shared folders and enabling a few audit options. Windows had other plans. 🙂

I’m documenting what happened because the issues were real, the test results were sometimes confusing, and the eventual fixes may help another administrator dealing with the same situation.

🎯 1. Why we introduced AD360, ADManager Plus and ADAudit Plus

Our infrastructure has multiple domain controllers, business applications, file servers, shared departmental folders and a large number of user accounts. Managing these systems requires more than just the ability to make changes; we also need to know who made those changes, when, and why.

  • Active Directory visibility: Track user creation, deletion, disable/enable actions, password resets, lockouts, logons and security-group membership changes.
  • Segregation of duties: Let helpdesk personnel handle their assigned tasks without using unrestricted Domain Admin credentials for routine requests.
  • Granular delegation: Use ADManager Plus roles and technician assignments to control who can perform particular AD administration activities.
  • Accountability: Use ADAudit Plus to review sensitive changes, privileged actions and their associated audit trails.
  • File-server investigations: Trace file or folder creation, modification, deletion, renaming and movements between locations.

A key distinction: ADManager Plus helps delegate administrative actions; ADAudit Plus helps us monitor and investigate activity. Together they improve control, but neither replaces good access policies and approvals.

📂 2. The original problem: “Our folder has disappeared!”

Every IT department knows this kind of request: a department calls and says a shared folder was there yesterday, but today it has gone missing. It may have been deleted. Or somebody may have accidentally dragged it into another directory in Windows Explorer.

Restoring from backup is useful, but a restore does not necessarily answer the questions that management or the department will ask:

Who moved it? When? From which location? And where did it end up?

That became our practical acceptance test for ADAudit Plus. A generic “file modified” event wasn’t enough. We wanted a report that clearly displayed the original path, destination path, username and timestamp.

🔍 3. File changes appeared, but the File Moves report was empty

After adding the Windows file servers and configuring file auditing, we could see activity in File and Folder Changes. We could also see file deletion events. But the dedicated File Moves, File Creations and File Renames reports did not initially show our test actions.

We used a test domain account on a workstation, created two subfolders called Source and Destination, created a text file, moved it, and renamed it. Then we examined Windows Security events on the file server itself.

Event ID What it tells us
4656 A handle to an object was requested
4658 An object handle was closed
4663 An audited operation was performed on a file or folder
4660 An object was deleted (when the relevant auditing is present)

For example, we captured 0x2 (WriteData/AddFile) and 0x10000 (DELETE access), including events involving both source and destination folders. The Windows side clearly knew something had happened. But those access events do not, by themselves, give us a ready-made “moved from A to B” report. ADAudit has to correlate the available records.

Lesson learned: A working Windows Security event does not automatically mean every operation-specific report in the auditing software will populate correctly.

💾 4. Security log retention and the USN journal surprise

While investigating, we discovered unusually heavy Security event activity. At one point the file server was retaining only about 56 minutes of Security history. A significant number of events involved access to auditing information, which was partly associated with audit configuration activity.

We enlarged that server’s Security log to 4 GB, giving us roughly 249 minutes of observed retention under the later workload. We also used a 15-minute ADAudit collection interval rather than 30 minutes, to reduce the chance of events being overwritten before collection.

Then the agent log revealed another clue:

ERROR_JOURNAL_ENTRY_DELETED
USN data Deleted from USN
Going to get data from USN firstUSN

The affected NTFS data volume was almost 6 TB, yet its USN Change Journal maximum size was only 32 MB. This journal helps change-tracking software maintain a history of file-system activity. If older journal records are discarded before the reader reaches them, correlation can become less reliable.

Setting After tuning
USN Journal Maximum Size 1 GB
USN Allocation Delta 128 MB
Security Log (busy server) 4 GB
ADAudit Collection Interval 15 minutes

Our second file server already had a 1 GB journal. On the first server, the resize kept the same journal ID; we did not delete or recreate the journal. We saw no further journal-loss errors in the logs reviewed after the change.

# Inspect your NTFS volume first
fsutil usn queryjournal F:

# Example: expand an existing journal to 1 GB / 128 MB
# Use the correct volume and an approved change window
fsutil usn createjournal m=1073741824 a=134217728 F:

Important: A larger journal helps retain more change history, but it cannot recover records already discarded. We also cannot attribute the eventual file-move success to the journal resize alone.

🏢 5. The Group Policy settings we were missing

Both file servers were domain-joined, and we already had a dedicated GPO linked to the File Servers organizational unit. Initially, it enabled File System auditing and Detailed File Share auditing, both for successful events.

We updated that same GPO rather than maintaining different local settings on each server.

Advanced Audit Policy Final configuration
Audit File System Success and Failure
Audit File Share Success
Audit Detailed File Share Success
Audit Handle Manipulation Success and Failure
Force audit subcategory policy to override legacy category settings Enabled

Handle Manipulation was particularly interesting. During a pilot on one file server, enabling this subcategory resulted in Event 4658 appearing, and subsequently our File Moves report began showing a correctly classified source-to-destination operation. After the GPO changes were applied to both servers, both started producing File Moves records.

That is a strong practical result, though we did not run an isolated laboratory experiment proving Handle Manipulation was the single cause. Several components—SACLs, journal retention, collection timing and audit policies—were changed during the investigation.

# Verify effective policies on each Windows file server
gpupdate /target:computer /force
auditpol /get /category:"Object Access"

Because Handle Manipulation and Detailed File Share auditing can generate considerable event volume, it is important to measure log retention and tune the scope according to actual requirements.

⚠️ 6. The other mystery: “The parameter is incorrect — Error Code: 87”

Even after the move reports started working, several folders displayed this message inside ADAudit’s Edit File Shares screen:

The parameter is incorrect. – Error Code: 87

At first I thought it was limited to one file server. Then I found the same error on the second. That told me to look for a configuration issue common to both servers.

We checked whether the shares existed, verified NTFS security descriptors, inspected existing SACLs, tested the ADAudit agent service and network connectivity, and even tried the vendor’s SACL configuration utility on a test share. Some affected folders had full-looking SACL entries; others had only one or no explicit auditing entry. There wasn’t a simple one-size-fits-all explanation from the error text.

The actual breakthrough: SMB share permissions

The ADAudit configuration used a privileged domain account, but some departmental SMB shares did not grant effective share-level access to that account’s group. A domain administrator is not automatically guaranteed access through every custom SMB share ACL.

I tested adding the authorized administrative group at:

Folder Properties → Sharing → Advanced Sharing → Permissions

After updating the SMB Share Permissions and selecting Apply Audit Level Settings in ADAudit Plus, previously red shares started turning green. We subsequently used a PowerShell script to add the authorized group with Read access to the approved shares on both servers, while preserving the existing share ACLs.

# Inspect share-level access
Get-SmbShareAccess -Name "DEPARTMENT_SHARE"

# Example only: grant Read to a specifically approved audit group
Grant-SmbShareAccess -Name "DEPARTMENT_SHARE" `
  -AccountName "DOMAIN\Audit-Readers" `
  -AccessRight Read -Force

Security reminder: In our troubleshooting we used the existing administrative group; for the long term, a dedicated least-privilege auditing identity is preferable. And share Read access alone does not override NTFS security permissions. We should avoid broadly granting Full Control just to clear an auditing error.

Some large folder trees remained in Audit Settings Are Being Configured status after the permission fix. Those must finish and be checked individually; a successful change on several shares isn’t proof that every monitored folder is fully covered.

✅ 7. The result: We can finally trace file movements

The best moment in this troubleshooting session was seeing actual records in File Moves instead of “No Data Available.” We tested with a domain user over SMB and ADAudit displayed the file, its original directory, the destination, the user and the timestamp.

Example of the information we wanted

File: TestFile.txt

Original: Department\Source

Moved to: Department\Destination

Performed by: The authenticated domain user

Recorded: Date and time of the operation

We ultimately saw File Moves on both monitored Windows file servers. Other basic file activities were also visible. Specialized reports such as File Creations and File Renames still deserve their own controlled verification; they should not be assumed complete just because File Moves works.

🧠 8. What I would tell another Windows administrator

  1. Test a real scenario. Create, move and rename a harmless file through SMB. A green agent status is not a substitute for an accurate report.
  2. Separate the layers. Group Policy controls event categories; NTFS SACLs control which objects and operations are audited; SMB share permissions control share access.
  3. Check the source events. Event 4663 can prove Windows captured the object access, even when an application-specific report is blank.
  4. Review event retention and USN journal health. Neither should be sized blindly, especially on a busy server.
  5. Use one centrally managed GPO. Keep settings consistent across domain-joined file servers and monitor any increase in Security log volume.
  6. Don’t assume Domain Admin means universal share access. Check the actual SMB share ACL as well as NTFS permissions.
  7. Avoid “fixes” that make every share writable. Use approved access, backups, preview-first scripts and least-privilege principles.
  8. Trust the final report and repeatable tests. An internal debug counter can be zero even when a valid move eventually appears after processing.

🏁 Final thoughts

Auditing is not just about installing a product and enabling checkboxes. It is about being able to answer the right questions when something actually goes wrong.

For us, the real milestone was no longer having to guess where a missing file went. We could see who moved it, when it happened and where it ended up. There are still areas to fine-tune, but that is a practical improvement for IT operations, security investigations and departmental accountability.

Happy troubleshooting! — Syed Jahanzaib

Further reading: ManageEngine: Configuring Windows File-Server Audit Policies

Note: Paths and identities shown in command examples are illustrative. Always validate commands, auditing privileges and performance implications before making changes on production file servers.

September 22, 2026

Building a Customized FortiClient VPN Installer Using Visual Studio | From Manual Configuration to One-Click Deployment


AACABLE • HANDS-ON IT AUTOMATION • SEPTEMBER 2026

From Manual VPN Setup to One-Click Deployment

Building a Branded FortiClient VPN Installer with Visual Studio

One corporate EXE. One installation flow. No manual VPN gateway, custom-port, or connection-profile entry by the end user.

Written by Syed Jahanzaib  |  Systems Administration & IT Automation  |  aacable.wordpress.com

The idea in one sentence

We were repeatedly installing FortiClient for employees and vendors, then manually configuring the same VPN details over remote support or through step-by-step PDF/video tutorials. I wanted the user to receive one branded EXE, click Install, and then enter only their own AD or provided credentials.

1. The original problem: a simple job repeated too many times

Our organization uses a FortiGate SSL-VPN service for approved remote employees, external vendors and other authorized users. On Windows endpoints, we deployed the free FortiClient VPN-only application. Each person authenticates with their own Active Directory username and password.

The VPN service itself was not the issue. The recurring work was everything that had to happen on the client PC before the user could connect.

Our old deployment routine

  1. Receive a remote-access request and confirm authorization.
  2. Share the original FortiClient VPN installer with the employee or vendor.
  3. Help them complete the installation if required.
  4. Send a PDF tutorial or video covering VPN connection creation.
  5. Or take remote control and configure the connection ourselves.
  6. Enter the primary/secondary gateways, SSL-VPN port and other profile options.
  7. Ask the user to enter their personal AD credentials and test connectivity.

Why this became frustrating

  • Remote-support dependency: Vendors and remote staff sometimes needed an IT session just to create a VPN profile.
  • Documentation overhead: We had to maintain screenshots, PDFs, videos and instructions for a routine process.
  • Human error: One mistyped hostname, missing secondary gateway or incorrect custom port could produce an avoidable “VPN not connecting” ticket.
  • Repeated work: Most of these values were identical across installations. Re-entering them added no meaningful value.

My question was simple: why should users configure the same technical settings over and over when IT already knows the approved configuration?

📸

2. Defining the goal before writing code

I wanted a self-contained, company-branded Windows installer that would combine the vendor application and our approved connection profile. Users would not have to open the FortiClient settings editor at all.

Requirement Desired experience
Distribution One EXE rather than a folder of scripts and files
Branding Official company logo, welcome screen and attribution
Application setup No separate FortiClient wizard to click through
VPN configuration Primary gateway, secondary gateway and port preconfigured
Credentials Never embedded; user enters own AD username/password
Existing installation Detect and ask user to remove it before continuing
User interface No background CMD/PowerShell window for users

The intended user journey

Launch the corporate EXE → Accept the required terms → Install → Open FortiClient → Enter AD credentials → Connect.

3. Finding a way to preconfigure FortiClient

Our test client used FortiClient VPN 7.0.8.0427. I first checked whether it offered a suitable configuration-export method. The FCConfig.exe utility existed on the administrator PC, but my initial VPN export command returned:

hr 1 80070002 FFFFFFFFFFFFFFFF

Rather than keep fighting that particular export path, I investigated where the working client stored its connection data. For this version, the VPN profiles were available under the Windows registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Fortinet\FortiClient\Sslvpn\Tunnels

Each connection appeared as a separate subkey. That suggested a test: configure the VPN once on an IT-controlled master PC, export only its approved profile, and import it into a clean test installation.

Example profile (sanitized)

Connection name: Corporate VPN

Primary: vpn1.example.com

Secondary: vpn2.example.com

Illustrative custom port: 10443

Authentication: Prompt on login

These are example addresses and an example port. They are not the organization’s actual VPN details.

After configuring the source connection, I exported only that connection’s key:

reg export ^
 "HKLM\SOFTWARE\Fortinet\FortiClient\Sslvpn\Tunnels\Corporate VPN" ^
 "C:\Temp\Corporate-VPN.reg" /y

Then on the test PC, I imported the approved profile:

reg import "C:\Temp\Corporate-VPN.reg"

First breakthrough: the VPN connection appeared in FortiClient without manually creating it.

4. A small registry surprise: the missing username field

The connection appeared, but its Username and Password inputs were initially missing. Clicking Connect produced this error:

Empty username is not allowed.

Oddly, opening the connection editor and clicking Save made the fields appear. That proved the imported profile was not being initialized in the same way as one saved through the client UI. Asking each employee to perform an extra Edit → Save step would defeat the purpose of the project.

In our test configuration, the relevant changes were to remove the source PC’s DATA1 value from the deployment copy and set the promptusername DWORD to 1. I exported the cleaned profile, imported it on the test PC and restarted the client.

Second breakthrough: Username and Password fields appeared immediately. No manual Edit → Save was required.

Important nuance: both changes were present in the successful test; I did not isolate which one independently fixed the issue. Do not blindly copy these values to another FortiClient release. Prepare and test the profile for the exact version you are distributing.

Security note: Review a registry export before sharing it. Never include stored usernames, passwords, tokens, private keys or administrator-specific data in a deployment package.

5. Combining the files: my first wrapper and its failures

With profile provisioning working, I turned to packaging. My initial approach combined the original FortiClient installer, the cleaned registry profile, a PowerShell script, and Windows IExpress.

First package concept

FortiClient-VPN-Package/
├── FortiClientVPNSetup.exe
├── Corporate-VPN.reg
├── Install.ps1
└── Build-Single-EXE.cmd

It was a practical prototype, but the debugging journey was real:

  • IExpress directive-file errors: the initial build could not read its generated extraction instructions.
  • Unattended installation trouble: the early wrapper launched vendor setup with unattended/restart-suppression arguments, but FortiClient was not present when the wrapper checked afterward.
  • Reboot clues: the setup log reported a reboot-required condition while restart prompting was suppressed; this was a clue, not proof of the sole cause.
  • False completion messaging: a wrapper can finish successfully while the application inside has not installed successfully.

The diagnostic change was to run the original vendor wizard normally and then validate the FortiClient installation before importing the profile. That intermediate single-EXE wrapper worked, and the client launched with the configured profile.

However, it still asked the user to click through Fortinet’s separate setup wizard. Technically working? Yes. The polished user experience I wanted? Not yet.

Lesson: Treat EXE extraction, vendor installation, software detection and VPN-profile import as separate stages. Each needs its own success check and meaningful error message.

6. The out-of-the-box idea: build a proper GUI in Visual Studio

I had used Visual Studio previously, so I decided to move beyond batch files and self-extracting packages. If we could build an internal web portal or automation script, why not build a small, purpose-made Windows installer?

I used Visual Studio, C#, .NET 8 and Windows Forms to create a branded application. It embedded the approved FortiClient installer and VPN profile, presented the user with a professional welcome screen, and handled the deployment stages within one interface.

PROJECT STACK

Simple tools, practical outcome

  • Visual Studio: development and debugging
  • C# / .NET 8: application and installation logic
  • Windows Forms: user interface and branded screens
  • Windows Registry: approved VPN profile provisioning
  • PowerShell: testing, inspection and publishing automation

Branding and user experience

I added the official company logo, a blue corporate header, welcome text, license acceptance, an installation progress area, and meaningful success/failure messages. I also included an attribution line for the internal customization effort:

FortiClient – Customized Package – By Syed Jahanzaib

This credit refers to the custom deployment wrapper. FortiClient remains a Fortinet product.

What if FortiClient is already installed?

Rather than overwrite an existing deployment, the installer checks for FortiClient first. If it finds one, it stops and asks the user to remove it and reboot if requested. That behavior was intentional: I wanted a predictable clean-install workflow, not an automatic uninstall of a potentially in-use VPN client.

Action required before installation

FortiClient is already installed. Remove it first, restart Windows if requested, and run this package again.

7. How the finished installer is organized

At a high level, the application follows this controlled workflow:

  1. Launch the branded corporate installation interface.
  2. Request Windows administrator approval when required.
  3. Check whether FortiClient already exists; stop if it does.
  4. Validate and extract the embedded vendor installer and approved VPN profile.
  5. Run the vendor installation in the unattended path supported by the tested build.
  6. Verify that FortiClient was actually installed.
  7. Import the corporate VPN profile and verify that the expected profile exists.
  8. Show a completion message; the user then enters their own AD credentials.

The user’s experience

Corporate setup → Install → FortiClient ready → AD login.

No separate server-address entry, no custom port to remember, and no routine VPN configuration call to IT.

One important distinction: a single distributable EXE may still extract temporary files internally. “Single EXE” describes what users receive and launch, not necessarily how Windows software installation operates under the hood.

8. Publishing as one self-contained EXE

The Visual Studio project built and ran during development. My first GUI publish attempt failed with an entry-point-related message, even though the project itself could run. Rather than confuse a profile-specific publishing failure with a broken application, I switched to the .NET CLI.

From the project directory, the publishing command was:

dotnet publish .\xxxL.FortiClient.Setup.csproj `
    -c Release `
    -r win-x64 `
    --self-contained true `
    -p:PublishSingleFile=true `
    -p:IncludeNativeLibrariesForSelfExtract=true `
    -p:PublishTrimmed=false `
    -o "C:\CorporateVPN-Publish"
Option Why I used it
-c Release Publish the release build
-r win-x64 Target 64-bit Windows
--self-contained true Bundle the required .NET runtime
PublishSingleFile=true Produce one application executable
PublishTrimmed=false Avoid trimming-related GUI compatibility surprises

Publishing through the CLI succeeded. The finished EXE was expectedly larger than a basic Windows Forms application because it included both the .NET runtime and the vendor installation payload.

9. The final test: one EXE, no manual VPN settings

I copied the published executable to a test client and ran the complete installation. The branded application launched, the FortiClient installation completed, and the corporate VPN profile was provisioned automatically. FortiClient opened with the Username and Password fields displayed.

TEST INSTALLATION • SUCCESSFUL

From repeated setup calls to a standardized installer

  • Branded GUI opened successfully.
  • FortiClient installed through the custom package.
  • Approved VPN profile appeared automatically.
  • Username and Password controls were ready.
  • No manual gateway or custom-port configuration was needed.

This was a successful installation and configuration test. It is not a claim that every Windows version, AD login scenario or secondary-gateway failover path has been tested. Those remain separate production validation items.

📸

10. Before vs. after: the operational benefit

Task Earlier With custom package
Send installer Vendor EXE plus instructions One corporate EXE
Create VPN profile Manual Automatic
Enter gateways / port User or IT Preconfigured
Remote support Frequently needed for setup Reduced for routine setup
User credentials Entered by user Still entered by user
Appearance Generic vendor setup Branded internal deployment

11. What I learned: thinking beyond the usual support workflow

Automation doesn’t always require a new product

Enterprise platforms are useful, but a focused internal tool may be enough for a specific repetitive task. In this case, tools already familiar to infrastructure teams were enough to prototype and test a solution.

Separate the layers when troubleshooting

The VPN profile, vendor installer, wrapper, software-detection logic and publishing process each had different failure modes. Progress came from testing them individually rather than changing everything at once.

Working is not the same as user-friendly

Our intermediate IExpress wrapper worked, but users still had a second wizard to complete. Visual Studio gave me a cleaner way to deliver the intended user experience.

IT administrators can build useful applications

If we can build backup scripts, dashboards and internal portals, we can also build small desktop applications to solve support problems. We don’t need to wait for someone else to automate every repetitive process.

The bigger lesson: a routine support task can become a script; a script can become a reusable deployment; and a reusable deployment can become a polished internal application. The best part is removing friction for both users and IT.

12. Security, compatibility and responsible deployment

Before deploying a similar package

  • Use the organization-approved FortiClient release and verify compatibility with the FortiGate/FortiOS version in use.
  • Never embed employee or admin passwords, tokens or private keys in the installer or registry profile.
  • Preserve certificate validation and other approved VPN security controls.
  • Review Fortinet licensing and redistribution terms; a custom wrapper does not change vendor ownership.
  • Test clean installation, existing-client detection, actual AD authentication and gateway failover separately.
  • Consider code signing, checksums and controlled distribution before broad rollout.
  • Do not automatically treat our tested FortiClient 7.0.8.0427 build as a recommended current version for new deployments.

13. Possible next improvements

  • Validate and package a newer approved FortiClient release.
  • Add package versioning, release notes and deployment logs.
  • Digitally sign the internal installer.
  • Collect installation status centrally where policy permits.
  • Integrate deployment with GPO or a managed endpoint platform when appropriate.

These are future ideas, not features claimed to be in the tested build.

FINAL THOUGHTS

Don’t keep repeating a task just because “that’s how we’ve always done it.”

This project began with sharing an EXE and walking people through a VPN tutorial. It ended with a branded application that handles installation and profile provisioning in one place.

Explore. Test. Troubleshoot. Automate. Document. Share.

AUTHOR & PROJECT CREDITS

Syed Jahanzaib

Systems Administration • IT Infrastructure • Automation

Project: Customized FortiClient VPN Deployment using C# / Windows Forms / Visual Studio / PowerShell

Credit: FortiClient – Customized Package – By Syed Jahanzaib

Blog: aacable.wordpress.com

FortiClient and Fortinet are trademarks of their respective owner(s). This post documents an internal deployment customization; example gateway names and ports are deliberately sanitized.

Older Posts »