20MHz is not crazy; RS-422/485 goes up that high, and is easily filtered and protected for robustness and RFI purposes.
Use schottky diodes (BAT54S typical).
Are these inputs, outputs, or both?
Do you actually need 8mA output current?
What kind of source/load will be attached to these pins?
It would be typical to add a buffer circuit to an output, which can be as simple as a sacrificial 74HC245 or whatever.
If you need a low output resistance AND 24V capability, you may find you need a custom buffer circuit. Example, adding a diode in series with the pull-up transistor, so that the output can be pulled above VCC without damage (but the pull-down transistor might still overheat, so a fold-back current limiting circuit might be used?).
Tim