Bitbucket webhooks are not triggering to Jenkins

I’m trying to trigger changes made in bitbucket repo to get to Jenkins. Jenkins is installed in our On-Prem server while bitbucket is setup in the public server I’m networking error when trigger.
I’m not allowed to allowlist in inbound rules. I’ve tried webhook-relay yet facing issue. can any one suggest the best way to go.