Just sit with him, and if you need words, say I am here when you're ready. Then, while you're waiting, you're gonna have to have all the silent patience, it might take a few seconds, but it could take several minutes. Your job is to model what to do in that moment (deep breathing, understanding, and compassionate body language)until he can be consoled or helped. He just needs help with big feelings in a big world because almost nothing is within his control. Everything you do in that moment, you are teaching him to do with that feeling of anger/frustration/rage.
Let him, it's developmentally appropriate for his age, that's where his brains development is at right now and as someone with 21 nieces and nephews and my own twins, plus education in child development, human development, and early childhood education, I promise it won't last forever unless the child is differently abled. When you're little ANY attention is good attention so when it comes to tantrums as long as they're safe and those around them are safe, it's honestly best to ignore and wait til they're ready to be consoled.