mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
60 lines
2.8 KiB
Plaintext
60 lines
2.8 KiB
Plaintext
<style>
|
|
|
|
</style>
|
|
<div id="connections-page">
|
|
<div class="instructions">
|
|
<div class="step">
|
|
Step <%= instances.length === 1? "3": "4" %> of <%= instances.length === 1? "5": "6" %>
|
|
</div>
|
|
<div class="title">
|
|
Manually set Olympus port and address settings
|
|
</div>
|
|
<div class="note">
|
|
Please note: you may be required to allow these ports through your firewall and modem/router via port
|
|
forwarding. <br>
|
|
Otherwise, others may not be able to connect to Olympus.
|
|
</div>
|
|
</div>
|
|
<div class="wizard-inputs">
|
|
<div class="input-group frontend-port port-input">
|
|
<span>Frontend port
|
|
<img src="./icons/circle-info-solid.svg"
|
|
title="This port is used to allow access to Olympus. Be sure to allow this port through your firewall if you want people to connect remotely">
|
|
</span>
|
|
<div>
|
|
<input type="number" min="1024" max="65535" value="<%= activeInstance["frontendPort"] %>"
|
|
onchange="signal('onFrontendPortChanged', this.value)">
|
|
<img class="success hide">
|
|
<div class="error hide">
|
|
<img> <span>Port already in use</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="input-group backend-port port-input">
|
|
<span>Backend port
|
|
<img src="./icons/circle-info-solid.svg"
|
|
title="This port is used by Olympus to communicate with DCS. You only need to allow it through your firewall if you enable direct API connection">
|
|
</span>
|
|
<div>
|
|
<input type="number" min="1024" max="65535" value="<%= activeInstance["backendPort"] %>"
|
|
onchange="signal('onBackendPortChanged', this.value)">
|
|
<img class="success hide">
|
|
<div class="error hide">
|
|
<img> <span>Port already in use</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="input-group backend-address">
|
|
<span onclick="signal('onEnableAPIClicked')">
|
|
<div class="checkbox"></div> Enable direct backend API connection
|
|
<img src="./icons/circle-info-solid.svg"
|
|
title="Allows services to connect to Olympus directly. This is NOT NEEDED for normal Olympus operation, even for dedicated servers. Leave it unchecked if in doubt.">
|
|
</span>
|
|
</div>
|
|
<div class="note warning hide">
|
|
Note: if you enable direct backend API connection, you will be required to run DCS as admin or run the netsh
|
|
command for others to connect. Leave unchecked if you don't know what this is. <br>See the Olympus
|
|
documentation for more details.
|
|
</div>
|
|
</div>
|
|
</div> |