add minecraft protocol
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"log": {
|
||||
"level": "info"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"type": "mixed",
|
||||
"tag": "mixed-in",
|
||||
"listen": "127.0.0.1",
|
||||
"listen_port": 1080
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"type": "minecraft",
|
||||
"tag": "mc-out",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 25565,
|
||||
"username": "Steve",
|
||||
"password": "my-secret-password"
|
||||
},
|
||||
{
|
||||
"type": "direct",
|
||||
"tag": "direct"
|
||||
}
|
||||
],
|
||||
"route": {
|
||||
"rules": [
|
||||
{
|
||||
"inbound": "mixed-in",
|
||||
"outbound": "mc-out"
|
||||
}
|
||||
],
|
||||
"final": "direct"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"log": {
|
||||
"level": "info"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"type": "minecraft",
|
||||
"tag": "mc-in",
|
||||
"listen": "::",
|
||||
"listen_port": 25565,
|
||||
"users": [
|
||||
{
|
||||
"username": "Steve",
|
||||
"password": "my-secret-password"
|
||||
}
|
||||
],
|
||||
"status": {
|
||||
"forward": false,
|
||||
"version": {
|
||||
"name": "1.20.4",
|
||||
"protocol": 765
|
||||
},
|
||||
"description": {"text": "A Minecraft Server", "color": "green"},
|
||||
"players": {
|
||||
"max": 20,
|
||||
"online": 1,
|
||||
"sample": [
|
||||
{
|
||||
"name": "Notch",
|
||||
"id": "069a79f4-44e9-4726-a5be-fca90e38aaf5"
|
||||
}
|
||||
]
|
||||
},
|
||||
"enforces_secure_chat": false
|
||||
},
|
||||
"fallback": {
|
||||
"server": "mc.hypixel.net",
|
||||
"server_port": 25565,
|
||||
"tag": "mc-fallback"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"type": "direct",
|
||||
"tag": "proxy-out"
|
||||
},
|
||||
{
|
||||
"type": "direct",
|
||||
"tag": "fallback-out"
|
||||
}
|
||||
],
|
||||
"route": {
|
||||
"rules": [
|
||||
{
|
||||
"inbound": "mc-fallback",
|
||||
"outbound": "fallback-out"
|
||||
}
|
||||
],
|
||||
"final": "proxy-out"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user