找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: huaxie1988

openwrt官方支持nat加速了

[复制链接]
发表于 2018-2-24 12:51 来自手机 | 显示全部楼层
这个是类似于sfe的nat加速吗?不是硬件层的?

点评

是軟加速,同高通的SFE是同類的加速,不過由openwrt官方編寫,理論上和其它應用的兼容更好  详情 回复 发表于 2018-2-28 11:40
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-2-24 16:10 | 显示全部楼层
这个不是高通那个
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-2-24 16:22 来自手机 | 显示全部楼层
不会搞,看到,不能选择,不懂怎么选择4.14内核,算了

点评

X86的已经切换到4.14了,官方软件包里面已经有这个了名字叫kmod-ipt-offload,其他架构估计过段时间就会切到4.14了  详情 回复 发表于 2018-2-24 17:48
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-2-24 17:48 | 显示全部楼层
hcyme 发表于 2018-2-24 16:22
不会搞,看到,不能选择,不懂怎么选择4.14内核,算了

X86的已经切换到4.14了,官方软件包里面已经有这个了名字叫kmod-ipt-offload,其他架构估计过段时间就会切到4.14了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-2-24 18:21 | 显示全部楼层
看了下,使用方法大概类似于iptables -I PREROUTING -t nat -j FLOWOFFLOAD这种
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-2-25 23:42 来自手机 | 显示全部楼层
用法iptables -I FORWARD 1 -m conntrack --ctstate RELATED,ESTABLISHED -j FLOWOFFLOAD
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-2-25 23:59 来自手机 | 显示全部楼层
Make sure you compile with kernel 4.14 (older is not supported) In make menuconfig make sure you select the new kernel module called “kmod-ipt-offload”, which will automatically also include “kmod-nf-flow” Add the offloading rule to the forward chain in iptables: iptables -I FORWARD 1 -m conntrack --ctstate RELATED,ESTABLISHED -j FLOWOFFLOAD If you want to disable offloading again, you can revert if by using: iptables -D FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j FLOWOFFLOAD
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-2-26 00:00 来自手机 | 显示全部楼层
这个估计没高通那个的兼容性问题
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-2-26 20:00 | 显示全部楼层
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-2-28 11:40 | 显示全部楼层
c2726139513 发表于 2018-2-24 12:51
这个是类似于sfe的nat加速吗?不是硬件层的?

是軟加速,同高通的SFE是同類的加速,不過由openwrt官方編寫,理論上和其它應用的兼容更好
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-4-7 14:49 | 显示全部楼层
现在MT7621已经切到4.14了,经实测,开硬件加速后MT7621跑满100M路由器CPU占用0%
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-4-7 14:52 | 显示全部楼层
而且开启硬件加速后mwan3正常工作!!!!!!!!!!!!!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-4-7 14:53 | 显示全部楼层
这下MT7621成一代神器了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-7 15:27 来自手机 | 显示全部楼层
这个和广告酸奶有点冲突,开机启动后还要开关一下,不然不能访问国内站点
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-7 15:29 来自手机 | 显示全部楼层
MT7621,驱动驱动驱动
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-20 08:09

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表