Proxmox VE 9.2 VLAN Audit Before Running PBS S3 Sync Jobs
Proxmox VE 9.2 VLAN audit before PBS S3 sync jobs checks bridges, firewall rules, SSH paths, and S3 reachability so backups finish without timeout or errors.

On this page
A Proxmox VE 9.2 VLAN audit before PBS S3 sync jobs is a short network check that proves the backup and storage VLANs still exist, still route, and still pass the ports PBS needs after host upgrades, firewall changes, or switch maintenance. When that audit passes, isolated workloads keep their segmentation without turning a scheduled S3 sync into a timeout, a failed datastore, or a half-restored backup later.
Key Takeaways
- Audit first: Check VLANs and firewall paths before trusting a PBS S3 sync job to run cleanly.
- Bridge truth: A guest VLAN tag is not proof that the host bridge carries that VLAN.
- Firewall path: Proxmox firewall, SSH listen settings, and fail2ban can all make a healthy backup host look unreachable.
- Small test: Start with a tiny sync or backup and watch for five minutes before running a large job.
- Tradeoff: VLAN segmentation improves isolation, but it adds another network path that must be tested after every change.
Why VLAN Audits Matter Before PBS S3 Sync Jobs
Proxmox VE 9.2 often runs management, guest, storage, and backup traffic on separate VLANs. That segmentation is useful because a noisy LXC container cannot easily reach the Proxmox GUI or a PBS host that only listens on a management subnet. The same segmentation can quietly break PBS S3 sync jobs when a bridge, VLAN tag, firewall rule, or route changes and nobody tests the backup path.
PBS S3 sync jobs are patient but not magical. A job may show running while it waits on DNS, TCP connect, or TLS handshake. A 50 GB incremental sync that should move in a few minutes can sit idle for ten minutes if the PBS host cannot reach the S3 endpoint through the intended VLAN. The workload may still be isolated and healthy, but the backup path is broken in a place that looks like storage trouble.
If you already schedule sync jobs around maintenance windows, keep the VLAN audit in the same runbook as the PBS 4.2 S3 backup window test. The scheduling window tells you when the job should run. The VLAN audit tells you whether the network can actually carry it.
How to Confirm VLANs Are Actually Present on the Host
Start on the Proxmox host, not inside a VM. A guest can have the correct VLAN tag while the host bridge still does not carry that VLAN. Run:
ip -d link show type vlan
bridge vlan show
pvesh get /nodes/$(hostname)/network --output-format json
The first command shows host VLAN subinterfaces. The second shows VLANs attached to bridge ports when VLAN-aware bridging is enabled. The third asks the Proxmox network API what it sees, which helps when the GUI and the running system disagree.
For a VLAN-aware bridge, the network interfaces file should include the VLAN IDs explicitly:
auto vmbr0
iface vmbr0 inet static
address 10.0.10.2/24
bridge-ports eno1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 10 20 30
If you use classic VLAN subinterfaces instead, the host needs an interface for the backup or storage VLAN:
auto vmbr0.30
iface vmbr0.30 inet static
address 10.0.30.1/24
The tradeoff here is real. A VLAN-aware bridge keeps the configuration cleaner and avoids a pile of host subinterfaces, but it can hide the fact that a VLAN ID was never added to the bridge. A subinterface is noisier, but it is easier to spot with a simple address check.
The gotcha I see most often is a VM with a correct NIC tag on VLAN 30, but the bridge lost the VLAN ID list after a manual edit. The guest may still appear healthy for a short time because of cached ARP entries, then PBS sync fails when the datastore path needs to reconnect. That failure is easy to misread as a PBS issue because the VM itself still answers pings.
If you use Proxmox SDN rather than hand-written bridge VLANs, keep the same idea: verify the running object, not just the GUI checkbox.
pvesh get /cluster/sdn/zones --output-format json
pvesh get /cluster/sdn/vnets --output-format json
That check is especially useful after a network reload or upgrade. If the SDN object exists but the host bridge does not reflect it, the audit is not finished.
How to Check Firewall and SSH Paths Without Guessing
Proxmox firewall rules can be enabled at the datacenter, node, VM, or container level. A rule that looks harmless on the management VLAN can block PBS API calls, SSH maintenance, or outbound HTTPS to an S3 endpoint. Check the inherited settings first:
pvesh get /cluster/firewall/options --output-format json
pvesh get /nodes/$(hostname)/firewall/options --output-format json
Then inspect active rules for the ports that usually matter: 22 for SSH, 8006 for the Proxmox and PBS APIs, and 443 for S3 endpoints.
nft list ruleset | grep -E 'dport (22|8006|443)' || true
If the rule set is large, that grep is a fast first pass, not a full audit. For a deeper review, dump the ruleset to a file and read the chains that match your backup VLAN source range. The goal is to find a drop rule that applies to the PBS host source address or the backup VLAN subnet.
SSH hardening can also create false positives. If PBS or another backup host connects from a new VLAN address, an old fail2ban ban or a restrictive SSH listen address can make the host look dead.
sshd -T | grep -E '^(PermitRootLogin|PasswordAuthentication|AllowGroups|ListenAddress)' || true
systemctl status ssh --no-pager
command -v fail2ban-client >/dev/null && fail2ban-client status sshd || true
A common Proxmox mistake is binding SSH only to the management address, then expecting a PBS host on the backup VLAN to connect. That is not a PBS bug. It is a segmentation rule doing exactly what it was asked to do.
For a PBS host that talks to S3, outbound HTTPS is usually the missing piece. A restrictive node firewall may allow management SSH but drop outbound 443 from the backup VLAN. From the PBS host, test the endpoint:
curl -I https://s3.amazonaws.com
A 403 response is not a failure by itself; it means the endpoint answered. A timeout or DNS failure is the result you care about. If your endpoint is private, replace that URL with your actual S3-compatible endpoint.
If the PBS host cannot reach the S3 endpoint, a later restore test is pointless. Pair this network audit with the PBS S3 restore RPO test so you know the backup data is not only synced, but usable when you need it.
What to Test Before a PBS S3 Sync Job Runs
Use a small, boring test before trusting the scheduled job. I like a 2 GB LXC backup or a small incremental sync because it gives a result in under a minute when the network is healthy. If the job idles for five minutes, stop and inspect the path instead of waiting for the full sync window.
Run these checks from the PBS host:
getent hosts s3.amazonaws.com
ip route get 10.0.30.1 || true
ping -c 3 -W 2 10.0.30.1 || true
proxmox-backup-manager sync-job list --output-format json
journalctl -u proxmox-backup-server --since "10 minutes ago" --no-pager | grep -E 'sync|timeout|TLS|S3' || true
If the PBS host is separate from the Proxmox cluster, also confirm the Proxmox side can still reach the PBS datastore or remote. On the Proxmox host:
pvesh get /cluster/backup --output-format json
For guest isolation, test from a VM or LXC container on the backup VLAN, not only from the host:
ping -c 3 -W 2 10.0.30.2
Then start one small sync job manually and watch the logs. The exact button differs by PBS version, but the log line pattern is stable: the job should move from queued to running, then show sync progress or a clean finish. If it stays queued, suspect scheduling or datastore locks. If it starts and stalls, suspect VLAN routing, firewall drops, or TLS timeouts.
One honest tradeoff appears here. VLAN segmentation reduces the blast radius of a compromised or noisy workload, but it also means PBS S3 sync must have its own route, its own firewall allowance, and sometimes its own DNS path. That is worth doing, but it is not a set-and-forget design.
Common VLAN and Firewall Failures I See in Proxmox VE 9.2
| Symptom | Usually means | Check first |
|---|---|---|
| Guest keeps an IP but PBS sync fails | The backup VLAN is not truly present on the host bridge | Host bridge VLAN list and route |
| Bridge VLAN table is empty | VLAN-aware bridge is disabled or VLAN IDs were not assigned | Interface file bridge VLAN options |
| API or SSH times out from one VLAN | Proxmox firewall, SSH listen address, or fail2ban is blocking the source | Active firewall rules and SSH config |
| S3 sync starts then stalls | Outbound 443 or DNS is blocked on the backup VLAN | HTTPS endpoint test from PBS |
| Sync works after reboot but fails later | A stale switch trunk, bridge reload, or firewall change removed the path | Physical switch trunk and running bridge state |
If the endpoint resolves to the wrong address after a VLAN change, the Proxmox SDN DNS restore drill is a good companion test. DNS and VLAN reachability often fail together, and the first symptom is usually a backup job that appears stuck rather than a clear network error.
I also see fail2ban bans that are technically correct but operationally annoying. A PBS host may retry SSH from a new VLAN address, get denied by an old firewall rule, then trigger a ban after repeated attempts. The network looks broken, but the real answer is that the firewall and fail2ban are enforcing a path that no longer matches the backup design.
How to Keep the Audit Useful After Upgrades and Reboots
A VLAN audit is not a one-time document. It matters most after a Proxmox VE upgrade, a PBS upgrade, a network reload, a switch change, or a firewall rule edit. After reboot, the running state can differ from the stored config if a VLAN interface, bridge option, or route failed to come up.
Run the same short host checks after each change:
bridge vlan show
ip -4 addr show | grep -E 'vmbr0\.30|10\.0\.30\.' || true
If the backup VLAN is missing after reboot, do not assume the job will fix itself when it starts. PBS will keep retrying, but the failure will still land inside your backup window and may consume time you did not budget.
After a major upgrade, the Proxmox VE 9.2 reboot drill to verify SDN and VLANs is the right next step. That drill proves the network survives a reboot. This VLAN audit proves the PBS S3 sync path survives the network.
A Small Pre-Sync Checklist You Can Run in Five Minutes
- Confirm the host bridge carries the backup VLAN.
bridge vlan show
- Confirm the host has a usable address or route on that VLAN.
ip -4 addr show | grep -E 'vmbr0\.30|10\.0\.30\.' || true
- Confirm the PBS host can resolve and reach the S3 endpoint.
getent hosts s3.amazonaws.com
curl -I https://s3.amazonaws.com
- Confirm SSH and API paths are not being blocked by firewall or fail2ban.
nft list ruleset | grep -E 'dport (22|8006|443)' || true
sshd -T | grep -E '^(PermitRootLogin|PasswordAuthentication|AllowGroups|ListenAddress)' || true
command -v fail2ban-client >/dev/null && fail2ban-client status sshd || true
- Start a small sync or backup test and watch logs for five minutes.
journalctl -u proxmox-backup-server --since "5 minutes ago" --no-pager | grep -E 'sync|timeout|TLS|S3' || true
If all five steps pass, you have not proven the entire backup system is perfect, but you have removed one of the most annoying failure classes: an isolated Proxmox VE 9.2 workload that looks healthy while its backup path is quietly broken.
Conclusion
A VLAN and firewall audit before PBS S3 sync jobs keeps Proxmox VE 9.2 segmentation from becoming a silent backup failure. The goal is not to rebuild the network; it is to prove, in a few minutes, that the VLANs, routes, firewall rules, SSH paths, and S3 endpoint still agree. Your next step is to run the five-minute audit on one PBS host, schedule it after network changes and major upgrades, then compare the result with your next backup window test.


