San Francisco, CA (Sports Network) - Colin Kaepernick set an NFL rushing record for a quarterback with 181 yards and scored twice as the San Francisco 49ers beat Green Bay, 45-31, in an NFC Divisional Playoff.

Kaepernick, who was born in Milwaukee and grew up as a Packers fan, also completed 17-of-31 passes for 263 yards with a pair of scores to help the 49ers reach the NFC Championship Game for the second straight year.

Both of Kaepernick's TD passes went to Michael Crabtree, who had nine receptions for 119 yards.

The performance by Kaepernick shredded the previous QB rushing record for any game, set by Michael Vick (173) in 2002. It was also the most rushing yards for the 49ers in their playoff history.

The NFC West champion 49ers will play either Seattle or Atlanta in next Sunday's NFC Championship Game. The 49ers, seeded second, will host next weekend's contest if Seattle wins or could play the top-seeded Falcons on the road.

Aaron Rodgers finished 26-of-39 for 257 yards with a pair of scores and an interception, but the NFC North champions were eliminated from the playoffs one week after beating Minnesota in the Wild Card round.

One more win by the 49ers would send them to the Super Bowl for the first time since the 1994 season. They lost to the Super Bowl champion New York Giants in the NFC title game last year.