How to connect front panel (sound/mic) to discrete sound card?

Solution
Some sound cards have the required connectors on the PCB for connecting to the case jacks, some sound cards don't have them.
If your card doesn't have them, you can't do it.