找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 39726|回复: 727

[N1盒子] n1单臂主路由f大29+固件部分bug与常见功能优化

 火... [复制链接]
发表于 2020-3-15 21:32 | 显示全部楼层 |阅读模式
本帖最后由 arnofeng 于 2020-3-16 18:56 编辑

首先鸣谢f大的固件付出

环境:
1.电信200m带宽,上传20m。
2.vlan交换机+n1单臂主路由+k2p a2高恪纯ap

5g无线网速效果跑满并有溢出




针对29+的部分优化设置

一、插件ipsec服务器开启并在外连接成功后,不能访问内网管理和ftp等

自定义防火墙规则里增加ipsec的转发规则

iptables -I INPUT -m policy --dir in --pol ipsec --proto esp -j ACCEPT
iptables -I FORWARD -m policy --dir in --pol ipsec --proto esp -j ACCEPT
iptables -I FORWARD -m policy --dir out --pol ipsec --proto esp -j ACCEPT
iptables -I OUTPUT -m policy --dir out --pol ipsec --proto esp -j ACCEPT

二、dhcp莫名异常,反应在日志经常有dhcp读区缓存失败


在系统-ttyd终端里执行以下命令

chmod 777 /tmp/hosts/dhcp.cfg01411c
三、内网100m/s以上长时间传文件,出现内存爆满无法上网。

在系统-ttyd终端里执行以下命令

vi /etc/sysctl.conf


#添加以下内容


net.core.netdev_max_backlog=3000
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_max_syn_backlog = 1024
net.ipv4.tcp_rmem=4096 87380 67108864
net.ipv4.tcp_wmem=4096 87380 67108864

#执行以下命令生效

/sbin/sysctl -p
/sbin/sysctl -w net.ipv4.route.flush=1









祝大家玩的愉快!







评分

参与人数 1恩山币 +2 收起 理由
我你928 + 2 楼主能解释下这防火墙转发的是什么意思吗?

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-3-15 21:40 | 显示全部楼层
感谢你的分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-15 21:45 | 显示全部楼层
kankankankankankankankan
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-15 21:45 | 显示全部楼层
感谢分享@@
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-15 21:46 来自手机 | 显示全部楼层
需要看看你的分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-15 21:49 | 显示全部楼层
n1单臂主路由
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-15 21:50 | 显示全部楼层
支持一下,感谢分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-15 21:52 | 显示全部楼层
谢谢分享,正好需要
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-15 21:52 | 显示全部楼层
十分感谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-15 21:52 | 显示全部楼层
十分感谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-15 21:53 来自手机 | 显示全部楼层
看看怎么样
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-15 21:53 | 显示全部楼层
看下有么有用得上的资料


我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-15 21:53 | 显示全部楼层
我也想知道dhcp什么个情况。

点评

设置DHCP 这个比较麻烦  详情 回复 发表于 2020-5-26 00:32
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-15 21:53 | 显示全部楼层
学习学习!!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-15 21:54 | 显示全部楼层
支持一下,希望楼主做的更好,加油!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-18 16:58

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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