|
|
@ -52,8 +52,8 @@ func (n *NatThroughs) Parse(reqs []string) error {
|
|
|
|
var req = NatThrough{
|
|
|
|
var req = NatThrough{
|
|
|
|
Forward: netforward.NetForward{
|
|
|
|
Forward: netforward.NetForward{
|
|
|
|
LocalAddr: "0.0.0.0",
|
|
|
|
LocalAddr: "0.0.0.0",
|
|
|
|
DialTimeout: 3000,
|
|
|
|
DialTimeout: time.Second * 5,
|
|
|
|
UDPTimeout: 20000,
|
|
|
|
UDPTimeout: time.Second * 20,
|
|
|
|
KeepAlivePeriod: n.KeepAlivePeriod,
|
|
|
|
KeepAlivePeriod: n.KeepAlivePeriod,
|
|
|
|
KeepAliveIdel: n.KeepAliveIdel,
|
|
|
|
KeepAliveIdel: n.KeepAliveIdel,
|
|
|
|
KeepAliveCount: n.KeepAliveCount,
|
|
|
|
KeepAliveCount: n.KeepAliveCount,
|
|
|
|