Setting up with Dutch KPN fiber
I have tested the Ubiquiti Gateway Max (UGM) with KPN fiber (XGS-PON, 4Gbit). Since this router has 2.5Gbe WAN/LAN ports, you cannot use the full 4Gbit bandwidth if you have a 4GBit subscription.
Requirements:
- Use the Genexis/Nokia ONT provided by KPN. The UGM does not have an SFP+ slot, so it is not possible to hook up directly to fiber.
- KPN requires setting up the internet connection with PPPoE with VLAN tagging. The UGM supports PPPoE with VLAN tagging.
- Unifi OS 4.1.9 or later needs to be installed for proper hardware offloading. Starting with that version, the UCG can pretty much saturate the 2.5Gbit interface with IDS/IPS enabled.
The setup is pretty straightforward. First go to the internet settings:

The top of the page will show the primary and secondary WAN interfaces (Primary (WAN1) and Secondary (WAN2)). Click on Primary. Fill the following settings, when a setting is not mentioned, I used the default:
| Setting | Value | Comment |
|---|---|---|
| Expected ISP Speeds | 2300/2300 | Update later based on speed tests |
| Advanced | Manual | |
| VLAN ID | Check, set to 6 | |
| IPV4 connection | PPPoE | |
| Username | internet | Username/Password can be anything. |
| Password | internet | |
| IPv6 Configuration | Disabled | Set to SLAAC if you want IPv6, but some features don’t work well yet with IPv6. |

Speed
Speed tests are with IDS/IPS enabled.
- Ookla Speed Test: 2335/2243
- Waveform Bufferbloat grade: A