mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 00:13:12 +09:00
Implement basic proxy to connect to stopped instances
This commit is contained in:
1 parent
9bf817e665
commit
fc0279ad11
3 files changed
+165
-3
No files matched your search
@@ -407,6 +407,7 @@ export interface InstanceConfigFields {
|
||||
"factorio.executable_path": string | null;
|
||||
"factorio.shutdown_timeout": number;
|
||||
"factorio.game_port": number | null;
|
||||
"factorio.proxy_port": number | null;
|
||||
"factorio.host_assigned_game_port": number | null;
|
||||
"factorio.rcon_port": number | null;
|
||||
"factorio.rcon_password": string | null;
|
||||
@@ -502,6 +503,13 @@ export class InstanceConfig extends classes.Config<InstanceConfigFields> {
|
||||
type: "number",
|
||||
optional: true,
|
||||
},
|
||||
"factorio.proxy_port": {
|
||||
description:
|
||||
"UDP port to accept client connections on. When set, the host will proxy traffic to " +
|
||||
"the instance game port and start the instance on first packet.",
|
||||
type: "number",
|
||||
optional: true,
|
||||
},
|
||||
"factorio.host_assigned_game_port": {
|
||||
access: ["host"],
|
||||
type: "number",
|
||||
|
||||
Reference in new issue
Block a user