mirror of
https://github.com/cwinfo/yggdrasil-network.github.io.git
synced 2025-03-01 02:51:34 +00:00
Add examples for peers/interfacepeers
This commit is contained in:
parent
68fd565b46
commit
8ba2b4aac7
@ -54,13 +54,21 @@ A new configuration file has the following format. Please note that some of the
|
|||||||
|
|
||||||
# List of connection strings for static peers in URI format, e.g.
|
# List of connection strings for static peers in URI format, e.g.
|
||||||
# tcp://a.b.c.d:e or socks://a.b.c.d:e/f.g.h.i:j.
|
# tcp://a.b.c.d:e or socks://a.b.c.d:e/f.g.h.i:j.
|
||||||
Peers: []
|
Peers: [
|
||||||
|
tcp://a.b.c.d:xxxxx
|
||||||
|
tcp://d.c.b.a:xxxxx
|
||||||
|
]
|
||||||
|
|
||||||
# List of connection strings for static peers in URI format, arranged
|
# List of connection strings for static peers in URI format, arranged
|
||||||
# by source interface, e.g. { "eth0": [ tcp://a.b.c.d:e ] }. Note that
|
# by source interface, e.g. { "eth0": [ tcp://a.b.c.d:e ] }. Note that
|
||||||
# SOCKS peerings will NOT be affected by this option and should go in
|
# SOCKS peerings will NOT be affected by this option and should go in
|
||||||
# the "Peers" section instead.
|
# the "Peers" section instead.
|
||||||
InterfacePeers: {}
|
InterfacePeers: {
|
||||||
|
"eth0": [
|
||||||
|
tcp://a.b.c.d:xxxxx
|
||||||
|
tcp://d.c.b.a:xxxxx
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
# Read timeout for connections, specified in milliseconds. If less
|
# Read timeout for connections, specified in milliseconds. If less
|
||||||
# than 6000 and not negative, 6000 (the default) is used. If negative,
|
# than 6000 and not negative, 6000 (the default) is used. If negative,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user