Don't forget to also place the following line at the beginning of the file: #!/bin/bash Andrew Schulman wrote: >> Hi everyone, >> >> I am a newbie, and I am probably asking a silly question, but anyway! >> >> I have 3 network cards (2 for internal networks and the other one to >> Internet), and I have already started with my ruleset and have made a >> script, based on the scripts I have found in several HOWTOs and >> tutorials. >> >> My question is: how do I execute this script now? > > At a command prompt, > > chmod u+x script > ./script > > Saioa, it sounds to me as though you need to learn some Unix/Linux > fundamentals, in order to tackle the other problems that will surely > come up when you're building a firewall. I suggest that you get a > good book about Unix or Linux, and read it. For an introductory > book, lots of people like Running Linux, from O'Reilly. For an > intermediate book, Unix Power Tools, also from O'Reilly, is terrific. > > Good luck, > Andrew.