l2tp/ipsec and hairpin

I have a problem where l2tp/ipsec works when i am outside my lan network but inside it looks like the ipsec tunnel is setup but the l2tp component is working incorrectly.

It keeps logging “first L2TP UDP received …” but then nothing happens. The connection times out.

I have setup a hairpin masquerade rule that works with other services.

Is it possible to use l2tp/ipsec from your local network ?