source:
genesis/tools/nofirewall@
1394
Last change on this file since 1394 was 813, checked in by , 21 years ago | |
---|---|
File size: 196 bytes |
Rev | Line | |
---|---|---|
[813] | 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.