add --allow-loopback for docker, bot and creator app
This commit is contained in:
1 parent
94feaa4a53
commit
2f366b1128
18 files changed
+77
-21
No files matched your search
@@ -27,9 +27,11 @@ func main() {
|
||||
upstreamPass := flag.String("upstream-pass", "", "upstream SOCKS5 password")
|
||||
debugFlag := flag.Bool("debug", false, "verbose debug logging")
|
||||
allowPrivate := flag.Bool("allow-private-dst", false, "let the joiner reach private/internal addresses through this creator")
|
||||
allowLoopback := flag.Bool("allow-loopback", false, "let the joiner reach the creator's own loopback through this creator")
|
||||
flag.Parse()
|
||||
common.Debug = *debugFlag
|
||||
common.AllowPrivateDst = *allowPrivate
|
||||
common.AllowLoopbackDst = *allowLoopback
|
||||
|
||||
var memLimit int64
|
||||
switch *resources {
|
||||
|
||||
Reference in new issue
Block a user