Hi,
I have a Mikrotik RB2011 iL-iN and I seldom look at the log. Today I was surprised to see that it is full of red lines with:
… memory ipsec, error phase 1 negotiation failed due to time up 127.0.0.1[500]<=>0.0.0.0[500] …
Nobody is complaining about the network so it seems that it is not affecting its work.
What does this mean? Is someone trying to get access to it? Or is there any wrong configuration that is causing it?
It seems as if you have something weird in ipsec configuration, like a peer configured with localhost as a remote peer’s address. Can you post here the output of
Hi Sindy,
I have no access to a console but I managed to use Winbox to look at the IP IPsec configuration. Will it be the same?
This is the information that I collected. I have not replaced any address because it only has generic addresses:
• Policies
*T
Src.Address ::/0
Src.Port
Dst. Address ::/0
Protocol 0 (all)
Action encrypt
Level require
Tunnel no
• Groups
I have no access to a console but I managed to use Winbox
If you can connect using Winbox, you should be able to press the “console” button and get the command line window.
Now as you have just a single peer defined in the
/ip ipsec
part of configuration, there must be something else in your configuration what causes packets to be sent to port 500 locally. Maybe the best next step would be to use
/export file=my_file_name hide-sensitive
command, download the resulting file and eventually remove public IP addresses from it, and copy-paste the sanitized contents of the file here. My candidate for the source of these packets is an L2TP interface with IPsec enabled and pointing to yourself, but it is just a wild guess.
Nothing in your configuration explains the behaviour to me. As you do not use IPsec at all, I suggest you to disable the default IPsec peer if RouterOS allows you to do so, and if it does not (I’ve got nowhere to test at the moment), consider a software upgrade.
Hi celoownz,
I tried the firmware upgrade and I reviewed the settings but the messages continue appearing.
As it is not affecting the functionality and I did not have the time to go after it, I just left it as it is.