* I have the script with the rules, what now?
@ 2004-03-23 9:26 Arrizabalaga, Saioa
2004-03-23 9:47 ` Andrew Schulman
2004-03-23 11:55 ` Georgi Alexandrov
0 siblings, 2 replies; 4+ messages in thread
From: Arrizabalaga, Saioa @ 2004-03-23 9:26 UTC (permalink / raw)
To: netfilter
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?
Thanks in advance
Saioa
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: I have the script with the rules, what now?
2004-03-23 9:26 I have the script with the rules, what now? Arrizabalaga, Saioa
@ 2004-03-23 9:47 ` Andrew Schulman
2004-03-23 11:55 ` Georgi Alexandrov
1 sibling, 0 replies; 4+ messages in thread
From: Andrew Schulman @ 2004-03-23 9:47 UTC (permalink / raw)
To: netfilter
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: I have the script with the rules, what now?
2004-03-23 9:26 I have the script with the rules, what now? Arrizabalaga, Saioa
2004-03-23 9:47 ` Andrew Schulman
@ 2004-03-23 11:55 ` Georgi Alexandrov
1 sibling, 0 replies; 4+ messages in thread
From: Georgi Alexandrov @ 2004-03-23 11:55 UTC (permalink / raw)
To: netfilter
Arrizabalaga, Saioa 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?
>
>Thanks in advance
>
>Saioa
>
>
>
>
>
it's probably a bash/sh script, right ?
so the simplest way:
sh mynewfwscript should do,
or chmod +x mynewfwscript and ./mynewfwscript
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: I have the script with the rules, what now?
@ 2004-03-23 17:10 Daniel Chemko
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Chemko @ 2004-03-23 17:10 UTC (permalink / raw)
To: Andrew Schulman, netfilter
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-03-23 17:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-23 9:26 I have the script with the rules, what now? Arrizabalaga, Saioa
2004-03-23 9:47 ` Andrew Schulman
2004-03-23 11:55 ` Georgi Alexandrov
-- strict thread matches above, loose matches on Subject: below --
2004-03-23 17:10 Daniel Chemko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.