Ubuntu 26.04 Pkg Networking
Overview
Ubuntu is a widely used Linux distribution produced by Canonical. Version 26.04 is a long-term support (LTS) release with standard security maintenance to 2031. This image differs from the standard Ubuntu Server 26.04 LTS image in its package profile: a named, version-pinned set of 61 networking packages, every one of them from Ubuntu's own archive, installed and ready. Of these, 33 come from main, which carries Canonical's full five-year security commitment, and 28 come from universe.
This guide covers deploying and configuring Ubuntu Server 26.04 LTS Networking Tools on Microsoft Azure, using SecureAnyCloud's preconfigured virtual machine image from the Azure Marketplace. The image is not a router, a firewall appliance or a security product. It is the standard Ubuntu Server image with a documented toolbox already on it, which saves you the apt install list you would otherwise type on every jump host, bastion or diagnostic VM. It has no third-party software, no vendor repository, and nothing that Canonical does not publish.
Every daemon in the profile is installed but disabled. nftables, OpenVPN, FRR, BIRD, lldpd, vnstat, conntrackd and iperf3 are all present and all switched off. A freshly deployed machine listens on port 22 and nothing else. Turning a service on is a deliberate step that you take, not a default that you have to undo.
The image also describes itself. A manifest generated from its own package database ships at /usr/share/sac/ubuntu-26-04-pkg-networking.manifest. It names every package, its version and its component, and it records what was deliberately left out and why.
What you get:
- Ubuntu Server 26.04 LTS with 61 networking packages preinstalled: 33 from
mainand 28 fromuniverse, every one from the Ubuntu archive - Capture and analysis:
tcpdump,tshark,ngrep,tcpflow,ssldump - Reachability and paths:
ping,tracepath,traceroute,tcptraceroute,mtr,fping,httping,ndisc6 - Interfaces, links and bonding:
iproute2,net-tools,ethtool,bridge-utils,vlan,ifenslave,ethstatus - Filtering and connection tracking:
nftables,iptables,ipset,ebtables,arptables,conntrack,conntrackd,ufw - Tunnels and routing:
wireguard-tools,openvpn,frr,bird2 - Naming and discovery:
bind9-dnsutils(dig),bind9-host,dnstracer,whois,ldap-utils,lldpd,snmp - Throughput and live monitoring:
iperf3,iftop,nload,bmon,nethogs,ifstat,vnstat,iptraf-ng - Address calculation:
ipcalc,ipcalc-ng,sipcalc,ipv6calc - Sockets and transfer:
netcat-openbsd,socat,curl,wget,openssh-client,inetutils-telnet - A shipped manifest derived from the image's own package database, so the description cannot drift from what is installed
- Every available security update applied at build time, with
unattended-upgradesarmed so the machine keeps patching itself - AppArmor in enforcing mode, Gen2 Hyper-V support and 24/7 SecureAnyCloud support
What is deliberately not included:
- Offensive and dual-use tooling.
nmap,hping3,masscan,zmap,ettercap,aircrack-ng,sqlmap,hydraand their relatives are excluded by design. You can install them if your work needs them. A general-purpose image should not ship them by default, and they are a recurring source of antivirus false positives on cloud marketplaces. ldnsutils. Its only fix for one open CVE on Ubuntu 26.04 (CVE-2026-10846) is published to Ubuntu Pro ESM, so a machine without a Pro subscription could never patch it. Every package on this image can be patched for free.iptables-persistentandnetfilter-persistent. Ubuntu'sufwpackage, which ships on the base image, declares a hard incompatibility with both. Keepingufw, the tool inmainwith the longer support commitment, was the better trade. Useufw, or save and restore rules yourself withnft -f.arping(the standalone package). It conflicts withiputils-arping, which is inmain. You still have thearpingcommand, from themainpackage.
Platform: Microsoft Azure (Gen2 Hyper-V, x64)
Default user: azureuser
Security posture
This image ships with no known credential. It has no default password and no baked-in SSH key.
- The root account password is locked, so no one can log in as root with a password.
PermitRootLoginis set tono, so root has no SSH login path at all.PasswordAuthenticationis disabled, so every login is by key.- The only key that works is the public key you supply when you create the virtual machine. Azure injects it into
azureuserat first boot, so no two machines you launch ever share a secret. - The machine identity and the SSH host keys are regenerated uniquely on every instance.
- Every daemon in the profile ships disabled and stopped. The listening set seen from outside the machine is exactly
{22}. - AppArmor is left enabled and enforcing, which is the Ubuntu default.
- No package on the image depends on Ubuntu Pro to receive its security fixes.
Prerequisites
Before you deploy this image, make sure you have:
- An active Microsoft Azure subscription
- Access to the Azure Portal or Azure CLI
- An SSH key pair for Linux VM access
- Familiarity with Azure VM management
Recommended VM size: Standard_B2s (2 vCPU, 4 GB RAM) or larger.
Disk size: The image ships with a 30 GiB OS disk. The profile itself adds roughly 270 MB, so a stock deployment uses about 3 GB and leaves around 25 GB free.
Deploy the Virtual Machine
Option A: Azure Portal
- Sign in to the Azure Portal.
- Search the Marketplace for Ubuntu 26.04 LTS Networking Tools and select the SecureAnyCloud offering.
- Click Create.
- Choose your subscription, resource group and region.
- Set the VM size to
Standard_B2sor larger. - Under Administrator account, choose SSH public key, leave the username as
azureuser, and paste your public key. - Under Inbound port rules, allow SSH (22) only, and restrict the source to your own management address range.
- Review and create the VM.
Option B: Azure CLI
# Accept the Marketplace terms once per subscription (required before the first CLI deploy)
az vm image terms accept --urn sac1647283583153:ubuntu-26-04-pkg-networking:default:latest
az vm create \
--resource-group my-resource-group \
--name ubuntu-nettools \
--image sac1647283583153:ubuntu-26-04-pkg-networking:default:latest \
--size Standard_B2s \
--admin-username azureuser \
--ssh-key-values ~/.ssh/id_rsa.pub \
--public-ip-sku StandardConnect via SSH
Connect to the virtual machine over SSH:
ssh azureuser@<vm-ip>Replace <vm-ip> with your virtual machine's public IP address.
Confirm the release and the profile
Check that you have the release you expect:
grep -E '^(PRETTY_NAME|VERSION|VERSION_ID|ID)=' /etc/os-release uname -srmExpected output:
PRETTY_NAME="Ubuntu 26.04.1 LTS" VERSION_ID="26.04" VERSION="26.04.1 LTS (Resolute Raccoon)" ID=ubuntu Linux 7.0.0-1012-azure x86_64Now confirm the profile. The split between main and universe decides how long each package is supported:
awk -F'\t' 'NF>=3{print $3}' /usr/share/sac/ubuntu-26-04-pkg-networking.manifest | sort | uniq -cExpected output:
33 main 28 universeRead the shipped manifest
The build generates the manifest from the image's own package database, so it cannot drift from what is installed. Print its first lines:
head -8 /usr/share/sac/ubuntu-26-04-pkg-networking.manifestExpected output (the generation timestamp will differ):
# sac ubuntu-26-04-pkg-networking — shipped package profile
# Derived from the dpkg database at build time. Do not hand-edit.
# generated: 2026-09-18T19:09:05Z
# series: resolute (Ubuntu 26.04 LTS)
#
# [main] — Canonical five-year security commitment iproute2 6.19.0-1ubuntu1.1 main net-tools 2.10-2ubuntu1 mainList the main half, with the versions you actually have:
awk -F'\t' 'NF>=3 && $3=="main"{printf "%-22s %s\n",$1,$2}' /usr/share/sac/ubuntu-26-04-pkg-networking.manifest | head -8Expected output:
iproute2 6.19.0-1ubuntu1.1 net-tools 2.10-2ubuntu1 tcpdump 4.99.6-1 mtr-tiny 0.95-1.1ubuntu2 ethtool 1:6.19-1 iputils-ping 3:20250605-1ubuntu1 iputils-tracepath 3:20250605-1ubuntu1 iputils-arping 3:20250605-1ubuntu1Every package resolves to the Ubuntu archive. This image has no third-party repository:
apt-cache policy tcpdumpExpected output:
tcpdump: Installed: 4.99.6-1 Candidate: 4.99.6-1 Version table: *** 4.99.6-1 500 500 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 Packages 100 /var/lib/dpkg/statusThe only source that offers this package is resolute/main on Ubuntu's own archive. Every package on the image gives the same answer.
Confirm nothing is listening
This property makes the image safe to deploy as it stands. Every service is present and switched off:
systemctl list-unit-files nftables.service frr.service lldpd.service openvpn.service vnstat.service bird.service conntrackd.service iperf3.serviceExpected output:
UNIT FILE STATE PRESET bird.service disabled enabled conntrackd.service disabled enabled frr.service disabled enabled iperf3.service disabled enabled lldpd.service disabled enabled nftables.service disabled enabled openvpn.service disabled enabled vnstat.service disabled enabled 8 unit files listed.Note the two columns. PRESET is what Ubuntu would normally do with each unit, which is to enable it. STATE is what this image ships, which is disabled. That gap is a deliberate choice.
Now check the listening set:
ss -tln | awk '$1=="LISTEN"{print $1, $4}' | sort -uExpected output:
LISTEN 0.0.0.0:22 LISTEN 127.0.0.53%lo:53 LISTEN 127.0.0.54:53 LISTEN [::]:22The only socket reachable from the network is SSH on port 22. The two entries on 127.0.0.53 and 127.0.0.54 belong to systemd-resolved, Ubuntu's stock local DNS stub. They are bound to loopback and cannot be reached from outside the machine.
Check the patch level and the Ubuntu Pro position
The image is fully patched at build time, including Ubuntu's phased updates, which a plain dist-upgrade silently holds back. Check for held packages and pending updates:
apt-mark showhold
sudo apt-get update -qq sudo apt-get -s -o APT::Get::Always-Include-Phased-Updates=true dist-upgrade | grep -c '^Inst ' || trueapt-mark showhold prints nothing when no package is held. The count is the number of updates still pending. It grows over time as Canonical publishes new updates, and unattended-upgrades applies them for you.
More importantly, nothing on this image needs an Ubuntu Pro subscription to be patched. The image ships unattached, and the build checked every package. Run this check yourself:
sudo pro security-status --format=json | python3 -c "import json,sys;d=json.load(sys.stdin);s=d['summary'];print('esm-infra updates:',s.get('num_esm_infra_updates'));print('esm-apps updates:',s.get('num_esm_apps_updates'));print('installed packages:',s.get('num_installed_packages'))"Expected output:
esm-infra updates: 0 esm-apps updates: 0 installed packages: 790Both counters are zero. A package whose only security fix is published to Ubuntu Pro ESM would show up here, and a machine without a subscription could not patch it. That is why ldnsutils is not on this image.
Use the toolbox
Everything in this step runs as shipped, with no service to start.
Look at your interfaces:
ip -brief address show ip -brief link showExpected output (your addresses will differ):
lo UNKNOWN 127.0.0.1/8 ::1/128 eth0 UP 10.0.0.12/24 metric 100 fe80::72a8:a5ff:fe43:cce/64 lo UNKNOWN 00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP> eth0 UP 70:a8:a5:43:0c:ce <BROADCAST,MULTICAST,UP,LOWER_UP>Capture live traffic:
sudo tcpdump -i any -c 3 -n -qExpected output (the addresses and ports will differ):
17:28:18.468687 eth0 Out IP 10.0.0.12.54894 > 168.63.129.16.80: tcp 0 17:28:18.469350 eth0 In IP 168.63.129.16.80 > 10.0.0.12.54894: tcp 0 3 packets captured 34 packets received by filter 0 packets dropped by kernel168.63.129.16 is Azure's own platform endpoint (the "wire server"). It is normal to see it here.
Query DNS:
dig +short A secureanycloud.com | head -3 dig +noall +answer NS ubuntu.com | head -2Expected output:
d14bmdyrx9dte8.cloudfront.net. 3.167.88.45 3.167.88.56 ubuntu.com. 113 IN NS ns3.canonical.com. ubuntu.com. 113 IN NS ns1.canonical.com.Look up who owns an address:
whois -H 1.1.1.1 | grep -iE '^(netname|descr):' | head -3Expected output:
netname: APNIC-LABS descr: APNIC and Cloudflare DNS Resolver project descr: Routed globally by AS13335/CloudflareMeasure throughput. iperf3 normally needs a server at the far end. You can prove the tool works against your own loopback before you point it anywhere:
(iperf3 -s -1 -p 5399 -B 127.0.0.1 >/dev/null 2>&1 &) ; sleep 1; iperf3 -c 127.0.0.1 -p 5399 -t 1 -f m | tail -4Expected output (the rate depends on your VM size):
[ ID] Interval Transfer Bitrate Retr [ 5] 0.00-1.00 sec 2.88 GBytes 24687 Mbits/sec 0 sender [ 5] 0.00-1.00 sec 2.88 GBytes 24684 Mbits/sec receiver iperf Done.The -1 flag makes the server exit after one connection, so nothing keeps listening.
Inspect the packet filter:
sudo nft list tablesExpected output:
table ip securityThe iptables-nft compatibility layer creates that table, and it carries no filtering rules of its own. This image applies no firewall policy, because Azure Network Security Groups do that job in front of the VM. Configure ufw or nft if you also want a host firewall.
Turn a service on when you want it
Nothing starts by itself. When you want a daemon, enable it explicitly:
# Example only — run these when you actually want the service.
sudo systemctl enable --now nftables.service
# load /etc/nftables.conf at boot
sudo systemctl enable --now vnstat.service
# keep long term interface counters
sudo systemctl enable --now lldpd.service
# discover neighbours over LLDPKeep two things in mind before you enable anything:
- Open the port in your Network Security Group too. The image does not filter, but Azure does. A service that is running and still unreachable is almost always blocked by an NSG rule, not by the VM.
tsharkcapture as a non-root user needs your account in thewiresharkgroup. Runsudo usermod -aG wireshark azureuser, and then log out and back in. Runningtsharkundersudoworks without that.
IPsec on this image
This image applies the standard SecureAnyCloud mitigation for CVE-2026-43284 and CVE-2026-43500. The mitigation prevents the kernel's ESP and IP payload compression modules from loading:
cat /etc/modprobe.d/dirtyfrag.confExpected output:
install esp4 /bin/false install esp6 /bin/false install ipcomp /bin/false install ipcomp4 /bin/false install ipcomp6 /bin/false install rxrpc /bin/falseThis does not affect WireGuard or OpenVPN, the two tunnel implementations on this image, because neither uses kernel ESP. It does mean that if you install strongswan or libreswan and try to terminate an IPsec tunnel on this machine, the kernel refuses to load the modules it needs. If you need to terminate IPsec on this machine, remove the file and reboot:
# Only if you are terminating IPsec ON this VM.
sudo rm /etc/modprobe.d/dirtyfrag.conf
sudo rebootTraffic through an Azure VPN Gateway is unaffected, because the gateway terminates IPsec, not your VM.
Common Use Cases
- Diagnostic jump host. Put one of these in a VNet and you have capture, DNS, path and throughput tools ready when something breaks, without installing packages during an incident.
- Bastion with a toolbox. The image listens only on SSH, so it is safe to place at the edge of a subnet with an NSG in front of it.
- Connectivity validation in CI. Drive
dig,fping,httping,socatandiperf3from a pipeline to assert that a landing zone is wired the way the design says. - Network lab.
frrandbird2are both present for BGP and OSPF work, and stay disabled until you configure them. - Golden base for a network appliance. Start from a known, documented package set rather than a bare image plus a long
apt installline.
Troubleshooting
Cannot connect via SSH
Check these three things. Your Network Security Group must allow inbound TCP 22 from your address. You must connect as azureuser. Your client must offer the private key that matches the public key you supplied at deployment. Password login is disabled by design, and root cannot log in at all.
traceroute and mtr show ??? for every hop
This is expected on Azure and is not a fault in the image. The Azure fabric does not return ICMP time-exceeded messages for intermediate hops, so hop-by-hop tools cannot see the path inside the platform network. tracepath behaves the same way. Use tcpdump, dig, httping and iperf3 to check reachability instead, and use Azure's own Network Watcher for path analysis.
A service is installed but not running
This is by design, because every daemon ships disabled. systemctl enable --now <service> starts the service and makes it survive a reboot. If the service does not come up, check systemctl status <service> and journalctl -u <service>.
nmap is not installed
The image excludes it deliberately, along with the other offensive and dual-use tools. If your work needs it, install it yourself with sudo apt install nmap.
Package manager issues
Refresh the package lists and repair any broken dependencies:
sudo apt-get update
sudo apt-get -f installIf apt reports held packages, apt-mark showhold names them. A freshly deployed image has none.
A service is blocked and the logs mention AppArmor
AppArmor is enforcing, as on stock Ubuntu. sudo aa-status lists the loaded profiles, and journalctl -k | grep apparmor shows what AppArmor denied. Fix the profile rather than disabling AppArmor.
Important Notes
- This is the standard Ubuntu Server 26.04 LTS image with a documented package profile added. It is not a router, firewall or security appliance, and SecureAnyCloud makes no such claim for it.
- Every package comes from the Ubuntu archive. No package comes from a third-party repository, and none depends on an Ubuntu Pro subscription for its security fixes.
- Ubuntu 26.04 LTS has standard security maintenance to May 2031. Packages in
universeare community maintained. The manifest records which component each package came from, so you can judge the support level yourself. - The image applies security updates automatically through
unattended-upgrades, as stock Ubuntu does. ufwis present but inactive, exactly as on the standard Ubuntu Server image. Azure Network Security Groups filter traffic in front of the VM.- Ubuntu is a trademark of Canonical Ltd. SecureAnyCloud is not affiliated with or endorsed by Canonical.
Support
SecureAnyCloud provides 24/7 support for this image. Contact support through the Azure Marketplace listing or at secureanycloud.com.
Deploy on Azure
Launch Ubuntu 26.04 LTS Networking Tools on Azure with 24/7 support from SecureAnyCloud.
View this image
Need Help?
Our support team is available 24/7.
sales@secureanycloud.com