The document proposes a distributed packet filtering firewall for enhancing security in Mobile Ad-Hoc Networks (MANETs), addressing vulnerabilities to insider and outsider attacks. The proposed solution utilizes a Bloom filtering technique to filter out malicious packets and facilitate secure communication between nodes, while also establishing new routes in cases of IP modification. Performance evaluations indicate that the proposed system maintains normal routing performance while significantly improving network security and reliability.