aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/etrax/base-files/etc
diff options
context:
space:
mode:
authorClaudio Mignanti <c.mignanti@gmail.com>2009-02-04 09:56:19 +0000
committerClaudio Mignanti <c.mignanti@gmail.com>2009-02-04 09:56:19 +0000
commitd0ceb30281c130b23814cd7139e2e3f8b0892d52 (patch)
tree04f9dac9c83dbb69dfa2575246558d9ba961c8ac /target/linux/etrax/base-files/etc
parent5702336049684f3ef0d4334ca883972a74bcd950 (diff)
downloadupstream-d0ceb30281c130b23814cd7139e2e3f8b0892d52.tar.gz
upstream-d0ceb30281c130b23814cd7139e2e3f8b0892d52.tar.bz2
upstream-d0ceb30281c130b23814cd7139e2e3f8b0892d52.zip
[etrax] network and firewall configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14405 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/etrax/base-files/etc')
-rw-r--r--target/linux/etrax/base-files/etc/config/firewall6
-rw-r--r--target/linux/etrax/base-files/etc/config/network18
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 0000000000..f9c860e3d6
--- /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 0000000000..ed97da998f
--- /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
+
+