add more nat func

This commit is contained in:
兔子 2024-06-29 20:16:07 +08:00
parent 7d85b14d60
commit 8b0a3483a0

View File

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