Hi @Generic - Since Logic Apps runs on a public cloud, it won't work unless you configure a VNET & IPsec against your on-prem environment. That can be done by putting your Logic Apps app inside a VNET using the ISE environment, and you should be able to establish an IPsec tunneling.
Also, note that the Logic Apps team announced a new capability recently that enables running Logic Apps on on-prem. for more info, please review: What is Azure Arc enabled Logic Apps?