From c7085094f55b8b98a937f1000778e4fe0f93d3e1 Mon Sep 17 00:00:00 2001 From: claudio Date: Wed, 4 Feb 2009 09:56:19 +0000 Subject: [etrax] network and firewall configuration git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14405 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/etrax/base-files/etc/config/firewall | 6 ++++++ target/linux/etrax/base-files/etc/config/network | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 target/linux/etrax/base-files/etc/config/firewall create mode 100644 target/linux/etrax/base-files/etc/config/network (limited to 'target/linux/etrax/base-files') 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 + + -- cgit v1.2.3