mirror of
https://github.com/openp2p-cn/openp2p.git
synced 2025-12-24 12:57:52 +08:00
32 lines
752 B
JSON
32 lines
752 B
JSON
{
|
|
"network": {
|
|
"Node": "YOUR_NODE_NAME",
|
|
"User": "YOUR_USER_NAME",
|
|
"Password": "YOUR_PASSWORD",
|
|
"ServerHost": "openp2p.cn",
|
|
"ServerPort": 27182,
|
|
"UDPPort1": 27182,
|
|
"UDPPort2": 27183
|
|
},
|
|
"apps": [
|
|
{
|
|
"Protocol": "tcp",
|
|
"SrcPort": 22,
|
|
"PeerNode": "YOURNODE1",
|
|
"DstPort": 22,
|
|
"DstHost": "127.0.0.1",
|
|
"PeerUser": "",
|
|
"PeerPassword": ""
|
|
},
|
|
{
|
|
"Protocol": "tcp",
|
|
"SrcPort": 50022,
|
|
"PeerNode": "YOURNODE2",
|
|
"DstPort": 50022,
|
|
"DstHost": "127.0.0.1",
|
|
"PeerUser": "",
|
|
"PeerPassword": ""
|
|
}
|
|
]
|
|
}
|