San Francisco's defense smothered Aaron Rodgers and the Green Bay offense for most of the game, then made one last stand to stop a late rally as the 49ers beat the Packers 30-22 on Sunday.