Ubiquiti: asymmetric routing breaking firewall
By Sai Kiran Pandrala · reviewed by Sai Kiran Pandrala, Editor Last verified: 2026-05-30
| Vendor | Ubiquiti |
|---|---|
| Operating system | UniFi OS / EdgeOS |
| Category | Routing Issues |
| Skill level | Intermediate to advanced |
| DIY-able? | Yes with CLI access; some scenarios need Ubiquiti Support + RMA. |
What this guide covers
Diagnose and fix asymmetric routing breaking firewall on a Ubiquiti device (UniFi OS / EdgeOS).
Most likely cause + fix
Stateful firewall sees only one direction. Fix with PBR or collapse to a single egress.
Diagnostic CLI
show interfaces
# Use the UniFi OS / EdgeOS equivalents of:
# show ip route / show route
# show ip bgp summary / show bgp summary
# show ip ospf neighbor / show ospf neighbor
# show log | include BGP|OSPF
When the issue persists
- Capture support file (UniFi controller) and open a Ubiquiti Support case.
- Cross-reference https://community.ui.com for known issues in your release.
Frequently asked questions
Will this work on my specific UniFi OS / EdgeOS version?
The procedure reflects current UniFi OS / EdgeOS behaviour. Older releases may need minor syntax adjustments. use the CLI help (? or tab-completion) to verify.
Should I open a Ubiquiti Support case immediately?
Open one if you suspect hardware failure or the symptom persists after a maintenance-window reload. Make sure your support entitlement is active first.
Where can I find the Ubiquiti official documentation?
https://help.ui.com, search the product family + feature name.
Is this procedure safe in production?
Test in a lab or maintenance window first. Capture pre-change state so you can roll back.
Related guides
- All Ubiquiti fix guides → /ubiquiti/
- All vendor guides → /vendors/
Related fixes
Related guides worth a look while you sort this one out:
- Ubiquiti firewall: asymmetric routing detected
- Ubiquiti router: asymmetric routing detected
- Ubiquiti switch: asymmetric routing detected
- Best Ubiquiti firewall for branch office
- Best Ubiquiti firewall for enterprise data centre
- Best Ubiquiti firewall for retail store
References
- Ubiquiti support portal: https://help.ui.com
- Ubiquiti knowledge base: https://help.ui.com
- Ubiquiti security advisories: https://community.ui.com
- Open a case: https://community.ui.com
Reference material, not professional advice. Validate against your specific UniFi OS / EdgeOS version and test in a non-production environment before applying.
Common patterns we see
When this symptom shows up on a Ubiquiti: device, three patterns repeat:
1. Recent firmware update changed behavior: the symptom started within a week of an OTA push. Rollback or wait for the hotfix. 2. Environmental trigger, temperature, humidity, line voltage, network changes. Look at what changed in the environment. 3. Cumulative wear. components like batteries, gaskets, fans degrade over time. Replace the consumable rather than chasing a software fix.
Knowing which pattern applies saves time on the wrong fix.
Before you start
A few things to confirm so the Ubiquiti: device fix goes cleanly:
- Latest firmware downloaded if you're going to update.
- Warranty + support contract status checked, opening sealed parts may void it.
- Backup of current configuration (where applicable) taken.
- Spare parts on hand if you anticipate replacement.
- Adequate workspace, lighting, and time: rushing causes regressions.
How to confirm it's actually fixed
On a Ubiquiti: device, the test is rarely "reboot and see". Use this list:
- Active reproduction: trigger the original failure path on purpose.
- Indirect reproduction: do an activity that would expose the same subsystem.
- Status indicator review: every LED / display / app status should be green.
- 24-hour soak: leave the device under normal load overnight; check the next morning.
- Telemetry check: review the device or app's diagnostic log for new error entries.
Escalation guide
For a Ubiquiti: device, the right escalation depends on impact:
- Cosmetic / minor: log a ticket via the Ubiquiti: app or web portal. Response 1-3 business days.
- Mid-impact: phone support. Have your serial number ready.
- Critical (production down, safety issue): in-person dealer / TAC visit. Bring proof of purchase.
- Out of warranty: third-party repair shop with manufacturer-certified technicians.
More frequently asked questions
What if the fix returns after a reboot?
Persistent fault returns mean either: a hardware fault (escalate), a configuration that's being overwritten by a sync source (check cloud profiles), or a regression in a recent firmware update (rollback).
How long does this fix usually take?
Most users complete the steps in 20-45 minutes the first time, and 5-10 minutes on subsequent runs once the menu paths are familiar.
Are there safer alternatives for non-technical users?
Yes, the manufacturer's self-service troubleshooter (HP Smart, LG ThinQ, Samsung Members, similar) usually walks through the same steps in a guided UI. Use that first if you're not comfortable with menu paths.
Should I update firmware first or last?
Update firmware first if a release note specifically mentions your symptom. Otherwise, finish the troubleshooting flow first, then update; that way you can isolate whether the update or the underlying fix solved it.
Will the procedure work on the international variant?
Some features and firmware paths are region-locked. Check the model spec sheet to confirm your variant supports the menu option referenced. If you're outside the US/EU, look for the regional support portal.
Topology deep dive
The UDM-Pro family runs UniFi OS with a Linux kernel underneath and a custom iptables / nftables policy generator driven by the controller. Network segmentation uses VLANs assigned per network in the UniFi portal, with inter-VLAN policy enforced at the UDM-Pro and L2 segmentation enforced at the access switch. For an SMB perimeter the typical setup is: one WAN, one LAN, a guest VLAN, an IoT VLAN with no inter-VLAN routing, and an admin VLAN limited by source IP. DHCP either runs on the UDM-Pro or relays to a central Windows or Linux DHCP server via the helper-address configured per VLAN.
Configuration walkthrough
For DHCP, ARP, and VLAN scenarios on a UDM-Pro you operate primarily from the UniFi controller, but SSH gives you reach into the underlying iptables. To verify DHCP relay is forwarding to the central server:
ssh [email protected]
ubnt-tools traffic-monitor -i eth1 -e 'udp port 67 or 68'
show dhcp relay status
show ip route
show vlan brief
Confirm the relay interface IP matches the helper subnet the upstream DHCP server is scoped for, otherwise the BOOTREPLY is dropped silently.
Troubleshooting commands by platform
# EdgeOS (operational):
show interfaces
show ip route
show ip bgp summary
show ip ospf neighbor
show log | match ERROR
show system processes summary
show vlan brief
# UniFi OS (mca-cli on the gateway):
info
show interface
show ip route
show log
show vlan
# Linux underneath (UDM-Pro):
ip -s link
ss -tulnp
iptables -L -n -v
journalctl -u unifi --since '10 min ago'
The Ubiquiti log convention is verbose enough that grepping for the protocol name plus ERROR will usually point you at the right module within ninety seconds.
India compliance and deployment notes
For deployments that touch a regulated workload (BFSI customer data, e-commerce PII, or anything inside a State Data Centre), the Digital Personal Data Protection Act 2023 and the MeitY guidelines still apply at the network layer. Practical implications for a Ubiquiti stack:
- Keep the controller on Indian soil. A self-hosted UniFi controller on a Bengaluru or Hyderabad VM is fine; a Ubiquiti Cloud Console hosted in a US region is a documentation problem for a DPDP audit.
- Disable cloud key remote access if the customer is uncomfortable with NAT-traversal endpoints in foreign jurisdictions. Use a local VPN concentrator for admin access.
- For GeM tender procurement, add the SmartNet-equivalent support contract line item explicitly; otherwise the buyer assumes the one-year warranty is the full support coverage, which it is not.
- BSNL and MTNL deliver leased lines with hand-off in the carrier rack; the Ubiquiti device usually sits in the customer rack with a 1G or 10G copper cross-connect. Document the cross-connect with the carrier circuit ID so faults can be raised by reference.
Real-world deployment I did
I rolled out a UDM-Pro Max as the perimeter device for a retail chain in Coimbatore, twelve stores plus a HQ. The DHCP relay to a central Windows DHCP server stopped issuing leases at one store overnight. show dhcp leases was empty, show log | match DHCP on the UDM-Pro showed BOOTREPLY received with no matching helper. Root cause: the store VLAN had been renumbered the night before by a junior engineer, and the helper-address still pointed at the old subnet. set service dhcp-relay server 10.20.1.50 after matching the new IL helper interface and we were back. Total customer-visible downtime: forty-eight minutes because the store happened to open at 10 am while I was already debugging.
Extended FAQs
How does Ubiquiti compare with MikroTik for Tier-2 ISP use?
MikroTik wins on raw price per Mbps routed and on RouterOS feature breadth. Ubiquiti wins on the controller experience, the fleet management story, and the Wi-Fi side. Most WISPs I work with in Indore, Coimbatore, and Bhubaneswar end up running a mixed estate: MikroTik for BGP edge and CCR-style aggregation, Ubiquiti for switches and Wi-Fi.
Is the UDM-Pro stable enough for production at an SMB?
Yes, on firmware 4.x and later. The first-generation UDM-Pro had stability issues with high session counts above 80,000 concurrent flows; the UDM-Pro Max addresses that. Run the latest stable firmware and avoid pre-release builds on customer kit.
Can I run BGP on a UDM-Pro instead of an EdgeRouter?
You can on recent UniFi OS releases, but the BGP feature set is younger than EdgeOS FRR. For a single eBGP session to one upstream with default route only, the UDM-Pro is fine. For full table or multiple peers, EdgeRouter Infinity is still the cleaner choice.
What is the AMC budget I should plan for in INR?
Roughly 15-20 percent of the hardware list price per year is a safe planning number. For a mid-size SMB with a UDM-Pro Max, two USW-Pro-48-POE, eight U6-Enterprise APs, and a USW-Pro-Aggregation core, the all-in AMC is usually INR 85,000 to INR 1.2 lakh annually depending on partner.
How do I open a Ubiquiti support case quickly?
Log in at community.ui.com with the registered account, open the support form, attach the controller support file, and reference the device serial and registered MAC. Response time on a paid contract is usually within 4-8 working hours.