diff options
author | claudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-04 09:56:19 +0000 |
---|---|---|
committer | claudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-04 09:56:19 +0000 |
commit | c7085094f55b8b98a937f1000778e4fe0f93d3e1 (patch) | |
tree | 04f9dac9c83dbb69dfa2575246558d9ba961c8ac /target/linux/etrax/base-files | |
parent | 58f887f0777184026c0b1cf6e2e664592beaf219 (diff) |
[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')
-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 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 + + |