This script provides an all-in-one easy installation of Snort in a box in bridge mode with a complex configuration.
You can download it from the following link: https://packetstormsecurity.com/files/download/80312/Ipsbuilder.txt
Source: https://packetstormsecurity.com/files/80312/IPS-Building-Script.html