Sfoglia il codice sorgente

network and firewall configuration

SVN-Revision: 14405
Claudio Mignanti 17 anni fa
parent
commit
b4e41b6ac2

+ 6 - 0
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
+

+ 18 - 0
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
+
+