Hi Saif,
Can you please let us know which message [Request /Response] message got failed due to firewall issue?
What is the status of communication channel?
Please check the below link for your reference
Configuring the Receiver REST Adapter - Advanced Adapter Engine - SAP Library
Check the outbound message in moni.
Regards
Bhargava Krishna