Developing lightweight computation at the DSG edge

Commit 6c2d2a40 authored by Axel Neumann's avatar Axel Neumann
Browse files

qmp-small-node bmx6-qmp: quick firewall hack, updated bmx6-qmp

parent 0ed2a8bd
......@@ -14,13 +14,13 @@ PKG_SOURCE_PROTO:=git
Public Sources:
PKG_SOURCE_URL:=git://git.bmx6.net/bmx6.git
PKG_REV:=7d0158624af8ab98a1e543ecc421f2090b253ff0
PKG_REV:=873eed6c331476bbdcbe2e7766907aa2a54371f3
Private Sources:
#PKG_SOURCE_URL:=file:///usr/src/bmx6/bmx6-private.git
#PKG_REV:=7d0158624af8ab98a1e543ecc421f2090b253ff0
#PKG_REV:=873eed6c331476bbdcbe2e7766907aa2a54371f3
PKG_VERSION:=r2011101704
PKG_VERSION:=r2011101906
#PKG_RELEASE:=1
#PKG_INSTALL:=1 # this tries to install straight to /usr/sbin/bmx6
......
......@@ -70,6 +70,7 @@ endef
define Package/qmp-small-node/install
$(CP) ./files/* $(1)/
$(CP) ./files/etc/config/qmp $(1)/etc/config/qmp.orig
chmod 755 $(1)/etc/init.d/qmp_autoconf
endef
......
# This file is interpreted as shell script.
# Put your custom iptables rules here, they will
# be executed with each firewall (re-)start.
iptables -t nat -F
iptables -t nat -I POSTROUTING -o eth1 -j MASQUERADE
iptables -t nat -I POSTROUTING -s 192.168.22.0/24 ! -o 192.168.22.0/24
#!/bin/sh /etc/rc.common
# Copyright (C) 2008-2010 OpenWrt.org
START=45
start() {
/etc/firewall.user
}
stop() {
iptables -t nat -F
iptables -F
}
restart() {
stop
start
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment