添加 xt_comment

This commit is contained in:
bjdgyc 2024-03-19 16:28:38 +08:00
parent b3eb128dbd
commit 268e9c4e92
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ func checkTun() {
// 修复 rockyos nat 不生效 // 修复 rockyos nat 不生效
base.CheckModOrLoad("iptable_filter") base.CheckModOrLoad("iptable_filter")
base.CheckModOrLoad("iptable_nat") base.CheckModOrLoad("iptable_nat")
// base.CheckModOrLoad("xt_comment")
// 添加注释 // 添加注释
natRule := []string{"-s", base.Cfg.Ipv4CIDR, "-o", base.Cfg.Ipv4Master, "-m", "comment", natRule := []string{"-s", base.Cfg.Ipv4CIDR, "-o", base.Cfg.Ipv4Master, "-m", "comment",