mirror of https://github.com/bjdgyc/anylink.git
添加 xt_comment
This commit is contained in:
parent
b3eb128dbd
commit
268e9c4e92
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue