Xray: Unterschied zwischen den Versionen

Aus Foxwiki
Wechseln zu:Navigation, Suche
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 10: Zeile 10:


== Beschreibung ==
== Beschreibung ==
; Zensur-Sicherheit
[[Xray/Zensur-Sicherheit]]
----
----
; Lizenz
; Lizenz
Dieses Projekt unterliegt der MIT-Lizenz
Dieses Projekt unterliegt der MIT-Lizenz
----
----
== Zensur-Sicherheit ==
[[Xray/Zensur-Sicherheit]]


== Funktion ==
== Funktion ==
Zeile 39: Zeile 36:


== Fehlerbehebung ==
== Fehlerbehebung ==
{| class="table table-striped table-hover"
[[Xray/Fehlerbehebung]]
!Problem
 
!Lösung
== Anwendung ==
<syntaxhighlight lang="bash" highlight="1" line copy>
</syntaxhighlight>
 
<!-- output -->
<syntaxhighlight lang="bash" highlight="" line>
</syntaxhighlight>
 
=== Problembehebung ===
 
== Konfiguration ==
=== Dateien ===
{| class="table table-striped table-hover options big"
|-
|-
|Xray lässt sich nicht starten
! Datei !! Beschreibung
|<code>xray run -test -c /usr/local/etc/xray/config.json</code>
|-
|-
|Verbindung abgelehnt
| ||
|<code>iptables -L -n</code> – Überprüfen Sie, ob Ihr Port offen ist
|-
|-
|TLS-Handshake schlägt fehl
| ||  
|<code>xray tls ping <domain></code> — Camouflage-Website überprüfen
|-
|Niedrige Geschwindigkeit
|<code>sysctl net.ipv4.tcp_congestion_control</code> — sollte <code>bbr</code> anzeigen
|-
|Der Client kann keine Verbindung herstellen
|Stellen Sie sicher, dass UUID, publicKey, serverName und shortId übereinstimmen.
|-
|Aus SSH ausgesperrt
|Stellen Sie eine Verbindung über die VPS-Konsole her. OpenSSH: Überprüfen Sie <code>/etc/ssh/sshd_config</code>. Dropbear: Überprüfen Sie <code>/etc/conf.d/dropbear</code>
|-
|Alte Firewall wiederherstellen
|<code>cp /etc/iptables/rules.v4.bak.TIMESTAMP /etc/iptables/rules.v4 && iptables-restore < /etc/iptables/rules.v4</code>
|-
|Alpine: Xray lässt sich nicht starten
|Überprüfen Sie, ob <code>/etc/init.d/xray</code> vorhanden ist und ob es unter <code>rc-update show</code> aufgeführt wird.
|-
|Alpine: iptables wird beim Systemstart nicht geladen
|Überprüfen Sie, ob <code>/etc/init.d/iptables-xray</code> vorhanden ist und in <code>rc-update show</code> aufgeführt wird.
|-
|Alpine: <code>qrencode</code> nicht gefunden
|Stellen Sie sicher, dass das Community-Repo aktiviert ist: Überprüfen Sie <code>/etc/apk/repositories</code>
|}
|}
----


== Speicherorte der Dateien ==
{| class="table table-striped table-hover sortable"
{| class="table table-striped table-hover sortable"
!File
!File
Zeile 132: Zeile 115:
|}
|}
----
----
== Aufruf ==
<syntaxhighlight lang="bash" highlight="1" line copy>
</syntaxhighlight>
=== Optionen ===
<!--
{| class="table table-striped table-hover sortable options gnu big"
-->
{| class="table table-striped table-hover"
|-
! Unix !! GNU !! Parameter !! Beschreibung
|-
| || || ||
|-
|}
=== Parameter ===
=== Umgebungsvariablen ===
=== Exit-Status ===
{| class="table table-striped table-hover options col1center big"
|-
! Wert !! Beschreibung
|-
| 0 || Erfolg
|-
| >0 || Fehler
|}
== Anwendung ==
<syntaxhighlight lang="bash" highlight="1" line copy>
</syntaxhighlight>
<!-- output -->
<syntaxhighlight lang="bash" highlight="" line>
</syntaxhighlight>
=== Problembehebung ===
== Konfiguration ==
=== Dateien ===
{| class="table table-striped table-hover options big"
|-
! Datei !! Beschreibung
|-
| ||
|-
| ||
|}


<noinclude>
<noinclude>
Zeile 188: Zeile 122:
----
----
-->
-->
== Anhang ==
== Anhang ==
=== Siehe auch ===
=== Siehe auch ===

Aktuelle Version vom 22. August 2026, 13:27 Uhr

Xray - Xray + VLESS + REALITY + XTLS-Vision auf Debian installieren


Beschreibung

Zensur-Sicherheit

Xray/Zensur-Sicherheit


Lizenz

Dieses Projekt unterliegt der MIT-Lizenz


Funktion

Xray/Funktion

Installation

Xray/Installation

DNS-Server

Xray/DNS

Client-Konfiguration

Xray/Client

Verwaltung

Xray/Verwaltung

Sicherheit

Xray/Sicherheit

Fehlerbehebung

Xray/Fehlerbehebung

Anwendung

Problembehebung

Konfiguration

Dateien

Datei Beschreibung
File Path
Xray binary /usr/local/bin/xray
Server config /usr/local/etc/xray/config.json
Access log /var/log/xray/access.log (if logging enabled)
Error log /var/log/xray/error.log (if logging enabled)
Log rotation /etc/logrotate.d/xray (if logging enabled)
Credentials backup /root/xray-credentials.txt (optional)
Firewall rules (v4) /etc/iptables/rules.v4
Firewall rules (v6) /etc/iptables/rules.v6
Firewall backup /etc/iptables/rules.v4.bak.* (timestamped)
Sysctl tuning /etc/sysctl.d/99-xray-optimize.conf
Xray init script /etc/init.d/xray (OpenRC only)
Firewall init script /etc/init.d/iptables-xray (OpenRC only)
Systemd unit /etc/systemd/system/xray.service (systemd only)
GeoIP database /usr/local/share/xray/geoip.dat
GeoSite database /usr/local/share/xray/geosite.dat
OpenSSH config /etc/ssh/sshd_config (if OpenSSH)
Dropbear config /etc/conf.d/dropbear (if Dropbear)


Anhang

Siehe auch


Dokumentation

Projekt

  1. https://github.com/0xevn/xray-reality-setup
  1. Xray-core GitHub
  2. Official REALITY example
  3. Project X Documentation
  4. VLESS protocol docs
  5. Transport/REALITY docs
  6. DNS.SB
  7. Mullvad DNS
  8. Quad9
  9. Cloudflare 1.1.1.1
  10. AdGuard DNS