I am trying to connect to the L2TP server of a new client. Spent a few hours fiddling with all kinds of settings without success.
Then I decided to try it from my home router, and it worked instantly.
Double and triple checked all l2tp/ipsec options on both routers (they are same model and same version of ros), and they are the same.
After inspection of l2tp and IPsec logs, I saw that the only difference was that my work router is not behind nat (it has a public ip) so transport is established on port 500, while my home router is behind a nat (only has a private ip) and transport is established on port 4500.
The problem on the work router starts after IPsec-SA is established, and SCCRQ control message is sent to server. The server never replies. While the router at my home gets the reply.
The firewall is not in play as I have allowed all traffic from and to the server.
What can I do to address this issue? It is driving me mad.