I'm having problems with an ipsec lan to lan connection. When initiating the connection from the other end it works, but when initiating the connection from the dlink side the negotiation fails.
Log entry when connecting from other end (works):

Log entry when connecting from dlink end (fails):

What puzzles me is the local_peer=127.0.0.1 when connecting from the dlink side.
Firmware version is 2.20.03.08-8260 Sep 26 2008.
Any suggestions?