浏览代码

WIP: NAT route table auto configure

xcbosa-itx 2 年之前
父节点
当前提交
51e8ccfbdc
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      webuiconf.h

+ 4 - 0
webuiconf.h

@@ -21,6 +21,10 @@ namespace xc::conf {
     const int mtu = 1536;
     const bool enableStaticAssetsController = false;
 
+    const string natMachineIPPrefix = "10.";
+    const int natMachineLocalhostPortBegin = 50000;
+    const int natMachineLocalhostPortSize = 10000;
+
     const string title("Frp-WebUI-XCBOSA");
     const int allowPortCountPerProfile(10);