您可以查看和编辑 Mirage 网关服务器的配置文件。Mirage 网关服务器的配置文件存储在安装目录的子文件夹 etc 中。

配置文件的名称为 /opt/MirageGateway/etc/MirageGateway.conf

日志文件和进程 ID 文件保存在同一个安装目录的 logs 子文件夹中。

对这些文件的读/写权限仅会授予正在运行 Mirage 网关服务器的默认 Mirage 用户。

您可以保护所有文件以限制访问权限。

表 1. 受保护的文件
文件 默认路径
MirageGateway /opt/MirageGateway/bin
cert_manage.sh /opt/MirageGateway/bin
export.sh /opt/MirageGateway/bin
gws /opt/MirageGateway/bin
install.sh /opt/MirageGateway/bin
ptool /opt/MirageGateway/bin
GatewayStat.sh /opt/MirageGateway/bin
GatewayStatTimer.sh /opt/MirageGateway/bin
reg.sh /opt/MirageGateway/bin
sysreport_as_system.sh /opt/MirageGateway/bin
sysreport_full /opt/MirageGateway/bin
sysreport_logs /opt/MirageGateway/bin
MirageGateway.conf /opt/MirageGateway/etc
MirageGateway.pem /opt/MirageGateway/etc
config.txt /opt/MirageGateway/etc
gws.pid /opt/MirageGateway/etc
mirage_gateway_service.log /opt/MirageGateway/logs
error.log /opt/MirageGateway/logs
mirage_gateway_backend.log /opt/MirageGateway/logs
mirage_gateway_stat.log /opt/MirageGateway/logs
mirage_gateway.log /opt/MirageGateway/logs
用户数据 /home/mirage/.mirage-gateway/
mirage-gateway-service /etc/init.d