全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1806|回复: 17
打印 上一主题 下一主题

[疑问] iptables的转发总是莫名失效,有什么处理办法

[复制链接]
1#
发表于 2024-4-26 23:43:22 | 显示全部楼层
没有重启就失效吗?
2#
发表于 2024-4-27 13:12:28 | 显示全部楼层
yanzhiling2002 发表于 2024-4-27 09:13
是的,没重启就失效了,ssh登陆上,新建个端口转发也能用

试试一键转发的
3#
发表于 2024-4-27 13:38:52 | 显示全部楼层
本帖最后由 ant48 于 2024-4-27 13:39 编辑
yanzhiling2002 发表于 2024-4-27 13:14
有哪些工具推荐一下


wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/iptables-pf.sh && chmod +x iptables-pf.sh && bash iptables-pf.sh

./iptables-pf.sh


备用的

wget -N --no-check-certificate https://www.vrrmr.net/Code/iptables-pf.sh && chmod +x iptables-pf.sh && bash iptables-pf.sh

./iptables-pf.sh
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-28 09:21 , Processed in 0.068618 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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