source:
genesis/tools/nofirewall@
4990
Last change on this file since 4990 was 4317, checked in by , 20 years ago | |
---|---|
|
|
File size: 196 bytes |
Line | |
---|---|
1 | #! /bin/bash |
2 | # -x |
3 | # |
4 | # |
5 | |
6 | modprobe ipchains |
7 | ic='/sbin/ipchains' |
8 | |
9 | in=input |
10 | out=output |
11 | fw=forward |
12 | |
13 | $ic -F $in |
14 | $ic -F $out |
15 | $ic -F $fw |
16 | |
17 | $ic -P $in ACCEPT |
18 | $ic -P $out ACCEPT |
19 | $ic -P $fw ACCEPT |
20 | |
21 |
Note:
See TracBrowser
for help on using the repository browser.