mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-05 09:46:33 -05:00
16 lines
278 B
Go
16 lines
278 B
Go
package scenarios
|
|
|
|
import (
|
|
"v2ray.com/core"
|
|
v2net "v2ray.com/core/common/net"
|
|
)
|
|
|
|
var clientConfig = &core.Config{
|
|
Inbound: []*core.InboundConnectionConfig{
|
|
{
|
|
PortRange: v2net.SinglePortRange(pickPort()),
|
|
ListenOn: v2net.NewIPOrDomain(v2net.LocalHostIP),
|
|
},
|
|
},
|
|
}
|