桥接模式下的Openwrt - ebtables内核错误

时间:2016-04-05 10:44:10

标签: networking iptables openwrt ebtables

我在家里有一个设置如下:

DHCP clients  -----> (wifi)(bridge) Openwrt -----> (eth)Main Router

我使用的设备是TPlink MR3020和Barrier Breaker,我试图为桥接流量设置透明代理 - 我想将通过网桥的数据包​​重定向到代理服务器(privoxy)。我尝试使用ebtables。但是当我输入以下命令时:

ebtables -t broute -A BROUTING -p IPv4 --ip-protocol 6 --ip-destination-port 80 -j redirect --redirect-target ACCEPT

我收到了以下错误:

Unable to update the kernel. Two possible causes:
1. Multiple ebtables programs were executing simultaneously. The ebtables
userspace tool doesn't by default support multiple ebtables programs running
concurrently. The ebtables option --concurrent or a tool like flock can be
used to support concurrent scripts that update the ebtables kernel tables.
2. The kernel doesn't support a certain ebtables extension, consider
recompiling your kernel or insmod the extension.

我尝试使用insmod激活IPv4软件包,但没有运气。

关于如何实现这一目标的任何想法?

0 个答案:

没有答案