mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
4295485719
Boot tested on Raspberry Pi B+ (BCM2708) and Raspberry Pi 2 (BCM2709) Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
167 lines
4.3 KiB
Diff
167 lines
4.3 KiB
Diff
From f022f74f85fa0871e650c1a2fe385d7a24d07d92 Mon Sep 17 00:00:00 2001
|
|
From: popcornmix <popcornmix@gmail.com>
|
|
Date: Mon, 3 Jun 2019 14:57:56 +0100
|
|
Subject: [PATCH 517/703] config: Add NF_TABLES support
|
|
|
|
---
|
|
arch/arm/configs/bcm2709_defconfig | 48 ++++++++++++++++++++++++++++++
|
|
arch/arm/configs/bcmrpi_defconfig | 48 ++++++++++++++++++++++++++++++
|
|
2 files changed, 96 insertions(+)
|
|
|
|
--- a/arch/arm/configs/bcm2709_defconfig
|
|
+++ b/arch/arm/configs/bcm2709_defconfig
|
|
@@ -136,6 +136,36 @@ CONFIG_NF_CONNTRACK_SANE=m
|
|
CONFIG_NF_CONNTRACK_SIP=m
|
|
CONFIG_NF_CONNTRACK_TFTP=m
|
|
CONFIG_NF_CT_NETLINK=m
|
|
+CONFIG_NF_TABLES=m
|
|
+CONFIG_NF_TABLES_SET=m
|
|
+CONFIG_NF_TABLES_INET=y
|
|
+CONFIG_NF_TABLES_NETDEV=y
|
|
+CONFIG_NFT_NUMGEN=m
|
|
+CONFIG_NFT_CT=m
|
|
+CONFIG_NFT_FLOW_OFFLOAD=m
|
|
+CONFIG_NFT_COUNTER=m
|
|
+CONFIG_NFT_CONNLIMIT=m
|
|
+CONFIG_NFT_LOG=m
|
|
+CONFIG_NFT_LIMIT=m
|
|
+CONFIG_NFT_MASQ=m
|
|
+CONFIG_NFT_REDIR=m
|
|
+CONFIG_NFT_NAT=m
|
|
+CONFIG_NFT_TUNNEL=m
|
|
+CONFIG_NFT_OBJREF=m
|
|
+CONFIG_NFT_QUEUE=m
|
|
+CONFIG_NFT_QUOTA=m
|
|
+CONF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PV6=m
|
|
+CONFIG_NFT_DUP_IPV6=m
|
|
+CONFIG_NFT_FIB_IPV6=m
|
|
+CONFIG_NF_FLOW_TABLE_IPV6=m
|
|
CONFIG_IP6_NF_IPTABLES=m
|
|
CONFIG_IP6_NF_MATCH_AH=m
|
|
CONFIG_IP6_NF_MATCH_EUI64=m
|
|
@@ -261,6 +306,9 @@ CONFIG_IP6_NF_RAW=m
|
|
CONFIG_IP6_NF_NAT=m
|
|
CONFIG_IP6_NF_TARGET_MASQUERADE=m
|
|
CONFIG_IP6_NF_TARGET_NPT=m
|
|
+CONFIG_NF_TABLES_BRIDGE=y
|
|
+CONFIG_NFT_BRIDGE_REJECT=m
|
|
+CONFIG_NF_LOG_BRIDGE=m
|
|
CONFIG_BRIDGE_NF_EBTABLES=m
|
|
CONFIG_BRIDGE_EBT_BROUTE=m
|
|
CONFIG_BRIDGE_EBT_T_FILTER=m
|
|
--- a/arch/arm/configs/bcmrpi_defconfig
|
|
+++ b/arch/arm/configs/bcmrpi_defconfig
|
|
@@ -129,6 +129,36 @@ CONFIG_NF_CONNTRACK_SANE=m
|
|
CONFIG_NF_CONNTRACK_SIP=m
|
|
CONFIG_NF_CONNTRACK_TFTP=m
|
|
CONFIG_NF_CT_NETLINK=m
|
|
+CONFIG_NF_TABLES=m
|
|
+CONFIG_NF_TABLES_SET=m
|
|
+CONFIG_NF_TABLES_INET=y
|
|
+CONFIG_NF_TABLES_NETDEV=y
|
|
+CONFIG_NFT_NUMGEN=m
|
|
+CONFIG_NFT_CT=m
|
|
+CONFIG_NFT_FLOW_OFFLOAD=m
|
|
+CONFIG_NFT_COUNTER=m
|
|
+CONFIG_NFT_CONNLIMIT=m
|
|
+CONFIG_NFT_LOG=m
|
|
+CONFIG_NFT_LIMIT=m
|
|
+CONFIG_NFT_MASQ=m
|
|
+CONFIG_NFT_REDIR=m
|
|
+CONFIG_NFT_NAT=m
|
|
+CONFIG_NFT_TUNNEL=m
|
|
+CONFIG_NFT_OBJREF=m
|
|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