Apply inbounds on nodes via Xray with Reality settings and client sync.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -81,6 +81,7 @@
|
||||
<td>{{.Security}}</td>
|
||||
<td><span class="badge {{if .Enabled}}on{{else}}off{{end}}">{{if .Enabled}}ON{{else}}OFF{{end}}</span></td>
|
||||
<td class="actions actions-multi">
|
||||
<a class="btn btn-sm btn-ghost" href="/admin/profiles/{{$.Profile.ID}}/inbounds/{{.ID}}">Изменить</a>
|
||||
<form method="POST" action="/admin/profiles/{{$.Profile.ID}}/inbounds/{{.ID}}/toggle">
|
||||
<button class="btn btn-sm btn-ghost" type="submit">{{if .Enabled}}Выкл{{else}}Вкл{{end}}</button>
|
||||
</form>
|
||||
@@ -130,16 +131,44 @@
|
||||
<select name="security">
|
||||
<option value="none">none</option>
|
||||
<option value="tls">tls</option>
|
||||
<option value="reality">reality</option>
|
||||
<option value="reality" selected>reality</option>
|
||||
</select>
|
||||
</label>
|
||||
<label>Path / serviceName
|
||||
<input name="path" placeholder="/ws или grpc service">
|
||||
</label>
|
||||
<label>Host header
|
||||
<input name="host" placeholder="для ws">
|
||||
</label>
|
||||
<label>SNI
|
||||
<input name="sni" placeholder="авто из reality names">
|
||||
</label>
|
||||
<label>Fingerprint
|
||||
<input name="fingerprint" value="chrome">
|
||||
</label>
|
||||
<label>Flow
|
||||
<input name="flow" placeholder="xtls-rprx-vision для VLESS+Reality">
|
||||
</label>
|
||||
<label>ALPN
|
||||
<input name="alpn" placeholder="h2,http/1.1">
|
||||
</label>
|
||||
<label>Порядок
|
||||
<input name="sort_order" type="number" value="0">
|
||||
</label>
|
||||
<label>Заметка
|
||||
<input name="remark" placeholder="опционально">
|
||||
</label>
|
||||
<label>Reality dest
|
||||
<input name="reality_dest" placeholder="www.microsoft.com:443">
|
||||
</label>
|
||||
<label>Reality server names
|
||||
<input name="reality_server_names" placeholder="www.microsoft.com">
|
||||
</label>
|
||||
<label>SS method
|
||||
<input name="ss_method" value="aes-128-gcm">
|
||||
</label>
|
||||
</div>
|
||||
<p class="muted">Для Reality ключи и shortId генерируются автоматически. После назначения профиля ноде Xray поднимется на агенте.</p>
|
||||
<button class="btn btn-primary" type="submit">Добавить inbound</button>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user