Peru's Jefferson Farfan celebrates after scoring the opening goal against New Zealand in Lima.

New Zealand's World Cup dream is over, but All Whites coach Anthony Hudson is urging the country to show pride in the team.

His side lost 2-0 in the second leg of their World Cup playoff against Peru in Lima on Thursday, with goals to Jefferson Farfan and Christian Ramos in either half sealing Peru's first berth at a World Cup since 1982.

Peru were deserved winners, dominating long periods of the match at the Estadio Nacional after the first leg in Wellington on Saturday had ended in a scoreless draw.

REUTERS Peru's substitutes celebrate their first goal against the All Whites at the National Stadium.

But it didn't stunt Hudson's pride in the team, saying they performed above the expectations of most, especially unheralded players like Kip Colvey, Clayton Lewis and Deklan Wynne.

READ MORE:

* All Whites player ratings v Peru

* NZ v Peru: Five key moments

* Recap: All Whites v Peru in Lima

* Peruvian Air Force show support

* Mixed injury news for All Whites

* Cup playoff means the world

* All Whites v Peru: key questions

"The players we had on the pitch, the level they are playing at in relation to Peru, and the performances they had, were unbelievable. Overall, very proud, given the challenges of losing Chris Wood, Storm Roux."

REUTERS Peru's Jefferson Farfan, right, celebrates his goal with a Paolo Guerrero shirt on his head, as team-mate Christian Cueva embraces him.

Burnley striker Wood was only able to play 30 minutes in the first leg, while he came on at halftime in the second with his side down 1-0 thanks to Farfan's goal in the 27th minute.

Farfan received a Christian Cueva pass at the top of the box and smashed home his finish above New Zealand goalkeeper Stefan Marinovic.

As Farfan wheeled away for his celebration he grabbed a Peru No 9 shirt, that of his captain Paolo Guerrero, who missed the playoff due to a failed drugs test. Farfan fell to his knees and wept into the shirt as he was swamped by his team-mates.

MARIANA BAZO/REUTERS Defender Michael Boxall and goalkeeper Stefan Marinovic are unable to keep out Jefferson Farfan's shot.

That's what it meant to him.

A still tearful Farfan said after the match that his team had "to endure a lot of nonsense until we got here".

"I dedicate this to Paolo, I promised him we would deliver," Farfan said.

New Zealand's own talismanic No 9 Wood had an impact early in the second half, but the tie was all but over when the All Whites failed to clear a corner in the 65th minute and Peru defender Christian Ramos swept home his finish to cue wild celebrations with his team-mates and from the fans in the stands.

Hudson said Wood's hamstring injury had really hurt them across the two legs. He only had 60 minutes in his legs for the second leg and Hudson made the difficult decision to leave him on the bench again.

"I think the biggest thing is we rely so heavily on some of our bigger players. Woodsy is one of them. So to come into the window knowing he wasn't going to start the first game and knowing we would have to manage him going into the second leg."

1 of 20 DOUGLAS JUAREZ/REUTERS Peruvian fans show their colours as they arrive at the stadium before the World Cup playoff second leg with New Zealand. 2 of 20 DANIEL APUY/GETTY IMAGES All Whites fans get behind their team during the World Cup playoff at Lima's National Stadium. 3 of 20 DOUGLAS JUAREZ/REUTERS Peruvian fans are in good voice ahead of their do-or-die clash with the All Whites in Lima. 4 of 20 DOUGLAS JUAREZ/REUTERS A Peruvian fan is all smiles ahead of kickoff at the National Stadium. 5 of 20 REUTERS Peruvian fans wave flags donning the name of suspended star striker Paolo Guerrero prior to kickoff. 6 of 20 MARIANA BAZO/REUTERS Peruvian fans are in fine voice ahead of their World Cup qualifier with New Zealand in Lima. 7 of 20 MARIANA BAZO/REUTERS New Zealand's Clayton Lewis takes on Peru's Edison Flores. 8 of 20 MARIANA BAZO/REUTERS Peru's Alberto Rodriguez and New Zealand's Ryan Thomas compete for the ball in midfield. 9 of 20 MARIANA BAZO/REUTERS Peru's Christian Cueva holds off New Zealand's Kip Colvey at the National Stadium in Lima. 10 of 20 FERNANDO SANTISTEVAN/REUTERS Peru's Jefferson Farfan shoots to score his side's first goal via a deflection off All Whites captain Winston Reid. 11 of 20 DOUGLAS JUAREZ/REUTERS Peru's Jefferson Farfan wheels away after his goal as All Whites midfielder Michael McGlinchey looks for a flag. 12 of 20 REUTERS Peru forward Jefferson Farfan celebrates after scoring the opening goal for the hosts. 13 of 20 DOUGLAS JUAREZ/REUTERS Peru's Jefferson Farfan roars in delight after putting his country in front in Lima. 14 of 20 MARIANA BAZO/REUTERS Peru's Jefferson Farfan looks to the heavens after lashing in the opening goal of the match. 15 of 20 REUTERS Peru's Jefferson Farfan celebrates with team-mate Christian Cueva (8) after his goal. 16 of 20 MARIANA BAZO/REUTERS Peru players and substitutes celebrate wildly after they took the lead in the 27th minute. 17 of 20 MARIANA BAZO/REUTERS All Whites coach Anthony Hudson tries to get his point across to his players during the first half. 18 of 20 DOUGLAS JUAREZ/REUTERS Peru's Renato Tapia and New Zeland's Bill Tuiloma fight for the ball in Lima. 19 of 20 MARIANA BAZO/REUTERS Peru's coach Ricardo Gareca looks on from the touchline. 20 of 20 MARIANA BAZO/REUTERS Peru's Miguel Trauco and Alberto Rodriguez combine to beat All Whites captain Winston Reid to the ball.

Hudson was left to bemoan the hostile welcome they received in Peru as well.

That started with an unscheduled refuelling stop in Chile by their chartered plane from Argentina to Peru. Their team bus took an eternity to get anywhere, even getting trapped in the entrance to the Estadio Nacional for their final training run on Wednesday. The worst of it came on the morning of the game, when fans left off fireworks at 3am and 4am outside their hotel, before the Peruvian airforce did a flyover at dawn to ensure they were definitely all awake.

It would have played a part in the performance given the game did not kickoff until 9.15pm local time.

"I think in the end, New Zealand coming to Peru, we were probably not meant to win, giving every single obstacle that was put in our way, from the flight over here, to all the fireworks, to all the jet planes in the day time, to all the people watching our training, to all the bus rides that were slowed down. Everything that you could have done, you did.

"We probably should have stayed in the hotel right next to the Peru national team. That would have helped us, I think."

Hudson batted away a question about if this was the end of his three-year reign as All Whites coach.

MARIANA BAZO/REUTERS New Zealand's Deklan Wynne looks on as Peru's players and supporters celebrate their victory.

"We've just lost our chance of going to the World Cup, so my personal future is not important."

While he might not have wanted to talk about it on Thursday, it will have to be addressed in the coming days and weeks given he is now off contract.

The other drama in Thursday's match came very early on.

All Whites striker Kosta Barbarouses had a penalty shout turned down in the opening 15 seconds when he appeared to be pulled back in the box. Referee Clement Turpin waved play on, and with a second look it appeared the right decision.

Then in the third minute Advincula rattled the New Zealand crossbar with a strike from 25 metres out.

But it was all Peru from there as they well and truly earned their place at football's showpiece event in Russia in 2018.

AT A GLANCE

Peru 2 (Jefferson Farfan 27', Christian Ramos 65') New Zealand 0. HT: 1-0. Peru win 2-0 on aggregate