mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 08:35:10 +08:00
默认开启 设置nat转发
This commit is contained in:
@@ -61,7 +61,7 @@ var configs = []config{
|
||||
{Typ: cfgInt, Name: "audit_interval", Usage: "审计去重间隔(秒),-1关闭", ValInt: -1},
|
||||
|
||||
{Typ: cfgBool, Name: "show_sql", Usage: "显示sql语句,用于调试", ValBool: false},
|
||||
{Typ: cfgBool, Name: "iptables_nat", Usage: "是否自动添加NAT", ValBool: false},
|
||||
{Typ: cfgBool, Name: "iptables_nat", Usage: "是否自动添加NAT", ValBool: true},
|
||||
}
|
||||
|
||||
var envs = map[string]string{}
|
||||
|
@@ -76,6 +76,6 @@ audit_interval = -1
|
||||
show_sql = false
|
||||
|
||||
#是否自动添加nat
|
||||
iptables_nat = false
|
||||
iptables_nat = true
|
||||
|
||||
|
||||
|
@@ -33,5 +33,4 @@ ipv4_gateway = "192.168.90.1"
|
||||
ipv4_start = "192.168.90.100"
|
||||
ipv4_end = "192.168.90.200"
|
||||
|
||||
#是否自动添加nat
|
||||
iptables_nat = false
|
||||
|
||||
|
Reference in New Issue
Block a user