I've made similar circuit with 555, but my fan is 3 pin only, and I PWM-ed the 12V rail of the fan.
If you have 4 pin fan, that can be controlled by PWM signal from motherboard, as suggested earlier, the most elegant solution is to make splitter cable or buy one. You could 12V and GND from any connector available, and tach and PWM have to be from the fan socket from the motherboard. It's just parallel connection.
Also, if the tach signal is coming from two different fans, on the same motherboard pin, the signal would probably be messed up, and you wouldn't get accurate reading.