| 1 |
NETSCRIPT version 5.3 |
| 2 |
|
| 3 |
The firewall and network configuration system for advanced Linux |
| 4 |
firewalls/routers, and it is NOT meant to be used on servers! |
| 5 |
|
| 6 |
Copyright 1995-2014 Matthew Grant <[email protected]> |
| 7 |
1998,1999 Dave Cinege <[email protected]> |
| 8 |
|
| 9 |
This script system for network setup has its roots in the original firewalling |
| 10 |
setup that Matthew Grant did for a firewall using kernel 1.2.x. Since then |
| 11 |
it has been evolved through firewalls/routers on Linux kernels 2.0.x, 2.2.x |
| 12 |
2.4.x, 2.6.x, and 3.x. |
| 13 |
|
| 14 |
Version 1 was the stuff under kernel 2.0.x, version 2 on LRP 2.9.4 Kilimanjaro, |
| 15 |
Materhorn, and Eiger under 2.2, version 3.0 for Debian under kernel 2.2.x, and |
| 16 |
this one is for Debian under kernel 2.4.x and 2.6.x. |
| 17 |
|
| 18 |
You should install bridge-utils for bridging, iproute2 tools and iptables to |
| 19 |
use these scripts. Your kernel will need to be compiled for Advanced Router |
| 20 |
support and have almost the configuration options turned on. It is also |
| 21 |
recomended that routing software like zebra be installed on the system as it |
| 22 |
will make things like static routing and complex routing a lot easier to |
| 23 |
handle. |
| 24 |
|
| 25 |
A kernel configuration of what is needed can be found in 2.4.x-kernel.config |
| 26 |
It is also a good idea to add kernel patches from the iptables source tar ball, |
| 27 |
especially the IPv6 ones for logging support. The scripts will load all the |
| 28 |
neccessary modules for QoS and iptables. |
| 29 |
|
| 30 |
Documentation for this system is sparse at the moment, but more will be done |
| 31 |
when the time is found to do it. |
| 32 |
|
| 33 |
When installed, most of the configuration you will need will be found in |
| 34 |
/etc/netscript/network.conf including lower level protocol |
| 35 |
daemons/configuration programs like ciped, pppd, or wanconfig. |
| 36 |
|
| 37 |
You will have to configure the firewall using the iptables commands directly. |
| 38 |
Don't forget to save the configurations using the |
| 39 |
'netscript ipfilter|ip6filter save' commands! Unlike the last version, |
| 40 |
the firewalling and filtering is no longer configured from network.conf. |
| 41 |
This has been done as stateful filtering obviates the need for great |
| 42 |
complexity in the firewall scripts, and more flexibility is possible. |
| 43 |
You have to get down and get dirty with iptables and learn it, which is a |
| 44 |
good thing to do if you are running this to build a network - you should |
| 45 |
understand things fully, or else you will get things wrong. |
| 46 |
|