Install packages
opkg update
opkg install qos-scripts luci-app-qos ipset iptables-mod-conntrack-extra
reboot
Enable and configure QoS
Go to Network > QoS
* Protocol: UDP
* Port: 500, 4500
Configure Firewall
* Source: LAN
* Destination: WAN
* Protocol: UDP
* Port 500, 4500