mirror of
https://github.com/jpillora/chisel
synced 2026-06-08 15:07:02 +00:00
+5
-4
@@ -176,10 +176,11 @@ func NewClient(c *Config) (*Client, error) {
|
||||
}
|
||||
//prepare client tunnel
|
||||
client.tunnel = tunnel.New(tunnel.Config{
|
||||
Logger: client.Logger,
|
||||
Inbound: true, //client always accepts inbound
|
||||
Outbound: hasReverse,
|
||||
Socks: hasReverse && hasSocks,
|
||||
Logger: client.Logger,
|
||||
Inbound: true, //client always accepts inbound
|
||||
Outbound: hasReverse,
|
||||
Socks: hasReverse && hasSocks,
|
||||
KeepAlive: client.config.KeepAlive,
|
||||
})
|
||||
return client, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user