attempt to remove iptables
This commit is contained in:
@@ -42,7 +42,7 @@ define KernelPackage/qca-nss-ecm/Default
|
|||||||
+TARGET_ipq_ipq60xx_64:kmod-qca-nss-drv \
|
+TARGET_ipq_ipq60xx_64:kmod-qca-nss-drv \
|
||||||
+TARGET_ipq_ipq50xx:kmod-qca-nss-drv \
|
+TARGET_ipq_ipq50xx:kmod-qca-nss-drv \
|
||||||
+TARGET_ipq_ipq50xx_64:kmod-qca-nss-drv \
|
+TARGET_ipq_ipq50xx_64:kmod-qca-nss-drv \
|
||||||
+iptables-mod-extra +kmod-ipt-conntrack \
|
+kmod-nf-conntrack \
|
||||||
+kmod-pppoe @!LINUX_3_18 \
|
+kmod-pppoe @!LINUX_3_18 \
|
||||||
+kmod-ipsec
|
+kmod-ipsec
|
||||||
TITLE:=QCA NSS Enhanced Connection Manager (ECM)
|
TITLE:=QCA NSS Enhanced Connection Manager (ECM)
|
||||||
@@ -60,8 +60,7 @@ This package contains the QCA NSS Enhanced Connection Manager
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/qca-nss-ecm/Default/install
|
define KernelPackage/qca-nss-ecm/Default/install
|
||||||
$(INSTALL_DIR) $(1)/etc/firewall.d $(1)/etc/init.d $(1)/usr/bin $(1)/lib/netifd/offload $(1)/etc/config $(1)/etc/uci-defaults $(1)/etc/sysctl.d
|
$(INSTALL_DIR) $(1)/etc/init.d $(1)/usr/bin $(1)/lib/netifd/offload $(1)/etc/config $(1)/etc/uci-defaults $(1)/etc/sysctl.d
|
||||||
$(INSTALL_DATA) ./files/qca-nss-ecm.firewall $(1)/etc/firewall.d/qca-nss-ecm
|
|
||||||
$(INSTALL_BIN) ./files/qca-nss-ecm.init $(1)/etc/init.d/qca-nss-ecm
|
$(INSTALL_BIN) ./files/qca-nss-ecm.init $(1)/etc/init.d/qca-nss-ecm
|
||||||
$(INSTALL_BIN) ./files/ecm_dump.sh $(1)/usr/bin/
|
$(INSTALL_BIN) ./files/ecm_dump.sh $(1)/usr/bin/
|
||||||
$(INSTALL_BIN) ./files/on-demand-down $(1)/lib/netifd/offload/on-demand-down
|
$(INSTALL_BIN) ./files/on-demand-down $(1)/lib/netifd/offload/on-demand-down
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
|
|
||||||
#
|
|
||||||
# Permission to use, copy, modify, and/or distribute this software for any
|
|
||||||
# purpose with or without fee is hereby granted, provided that the above
|
|
||||||
# copyright notice and this permission notice appear in all copies.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
||||||
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
||||||
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
||||||
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
||||||
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
||||||
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
||||||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
||||||
#
|
|
||||||
|
|
||||||
iptables -A FORWARD -m physdev --physdev-is-bridged -j ACCEPT
|
|
||||||
Reference in New Issue
Block a user