主机论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
12
返回列表 发新帖
楼主: yanzhiling2002

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

[复制链接]

189

主题

2089

帖子

5259

积分

论坛元老

Rank: 8Rank: 8

积分
5259
 楼主| 发表于 2024-4-26 23:41:00 | 显示全部楼层
ant48 发表于 2024-4-27 13:12
试试一键转发的

有哪些工具推荐一下
回复

使用道具 举报

3

主题

55

帖子

179

积分

注册会员

Rank: 2

积分
179
发表于 2024-4-27 09:13:41 | 显示全部楼层
本帖最后由 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
回复

使用道具 举报

189

主题

2089

帖子

5259

积分

论坛元老

Rank: 8Rank: 8

积分
5259
 楼主| 发表于 2024-4-26 23:43:00 | 显示全部楼层
ant48 发表于 2024-4-27 13:38
wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/ip ...

我用的就是这个.....
那大概就是我机器的问题了,我重装系统试试吧
回复

使用道具 举报

7

主题

659

帖子

1973

积分

金牌会员

Rank: 6Rank: 6

积分
1973
发表于 2024-4-27 10:46:02 | 显示全部楼层
裝iptables-persistent 把規則持久化 不然iptables重啟規則就沒了
回复

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|小黑屋|主机论坛

GMT+8, 2024-5-21 13:39 , Processed in 0.075005 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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