From b4e41b6ac22360684333ecd0a0473dac336efd5b Mon Sep 17 00:00:00 2001 From: Claudio Mignanti Date: Wed, 4 Feb 2009 09:56:19 +0000 Subject: [PATCH] network and firewall configuration SVN-Revision: 14405 --- .../linux/etrax/base-files/etc/config/firewall | 6 ++++++ .../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 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 000000000000..f9c860e3d648 --- /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 000000000000..ed97da998ffa --- /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 + + -- 2.30.2