diff options
author | Claudio Mignanti <c.mignanti@gmail.com> | 2009-02-04 09:56:19 +0000 |
---|---|---|
committer | Claudio Mignanti <c.mignanti@gmail.com> | 2009-02-04 09:56:19 +0000 |
commit | b4e41b6ac22360684333ecd0a0473dac336efd5b (patch) | |
tree | 8d7b00bf92f8d3eabe03fcc3a3597f89397bb443 /target/linux/etrax/base-files/etc/config | |
parent | 7fcc18ee99c3deb1166c73f71ce3a516df062b30 (diff) | |
download | mtk-20170518-b4e41b6ac22360684333ecd0a0473dac336efd5b.zip mtk-20170518-b4e41b6ac22360684333ecd0a0473dac336efd5b.tar.gz mtk-20170518-b4e41b6ac22360684333ecd0a0473dac336efd5b.tar.bz2 |
network and firewall configuration
SVN-Revision: 14405
Diffstat (limited to 'target/linux/etrax/base-files/etc/config')
-rw-r--r-- | target/linux/etrax/base-files/etc/config/firewall | 6 | ||||
-rw-r--r-- | target/linux/etrax/base-files/etc/config/network | 18 |
2 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/etrax/base-files/etc/config/firewall b/target/linux/etrax/base-files/etc/config/firewall new file mode 100644 index 0000000..f9c860e --- /dev/null +++ b/target/linux/etrax/base-files/etc/config/firewall @@ -0,0 +1,6 @@ +config defaults + option syn_flood 1 + option input ACCEPT + option output ACCEPT + option forward REJECT + diff --git a/target/linux/etrax/base-files/etc/config/network b/target/linux/etrax/base-files/etc/config/network new file mode 100644 index 0000000..ed97da9 --- /dev/null +++ b/target/linux/etrax/base-files/etc/config/network @@ -0,0 +1,18 @@ + +# Copyright (C) 2009 OpenWrt.org + +config interface loopback + option ifname lo + option proto static + option ipaddr 127.0.0.1 + option netmask 255.0.0.0 + +config interface lan + option ifname eth0 + option type none + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0 +# option macaddr 00:40:8c:cd:xx:xx + + |