Big bolts and nuts/wing-nuts all the way through.
Or fix a steel plate in the right place and bolt to that, either loose nuts or captive nuts.
Or sandwich the post with mounting plates, up to you.
A Hole right through may not appeal to some, but a steel plate with captive nuts is a long lasting fix.
Just have to guard it so people don't run into it accidentally.