Xray: Unterschied zwischen den Versionen
Aus Foxwiki
| Zeile 89: | Zeile 89: | ||
| || | | || | ||
|} | |} | ||
{| class="table table-striped table-hover sortable" | |||
!File | |||
!Path | |||
|- | |||
|Xray binary | |||
|<code>/usr/local/bin/xray</code> | |||
|- | |||
|Server config | |||
|<code>/usr/local/etc/xray/config.json</code> | |||
|- | |||
|Access log | |||
|<code>/var/log/xray/access.log</code> (if logging enabled) | |||
|- | |||
|Error log | |||
|<code>/var/log/xray/error.log</code> (if logging enabled) | |||
|- | |||
|Log rotation | |||
|<code>/etc/logrotate.d/xray</code> (if logging enabled) | |||
|- | |||
|Credentials backup | |||
|<code>/root/xray-credentials.txt</code> (optional) | |||
|- | |||
|Firewall rules (v4) | |||
|<code>/etc/iptables/rules.v4</code> | |||
|- | |||
|Firewall rules (v6) | |||
|<code>/etc/iptables/rules.v6</code> | |||
|- | |||
|Firewall backup | |||
|<code>/etc/iptables/rules.v4.bak.*</code> (timestamped) | |||
|- | |||
|Sysctl tuning | |||
|<code>/etc/sysctl.d/99-xray-optimize.conf</code> | |||
|- | |||
|Xray init script | |||
|<code>/etc/init.d/xray</code> (OpenRC only) | |||
|- | |||
|Firewall init script | |||
|<code>/etc/init.d/iptables-xray</code> (OpenRC only) | |||
|- | |||
|Systemd unit | |||
|<code>/etc/systemd/system/xray.service</code> (systemd only) | |||
|- | |||
|GeoIP database | |||
|<code>/usr/local/share/xray/geoip.dat</code> | |||
|- | |||
|GeoSite database | |||
|<code>/usr/local/share/xray/geosite.dat</code> | |||
|- | |||
|OpenSSH config | |||
|<code>/etc/ssh/sshd_config</code> (if OpenSSH) | |||
|- | |||
|Dropbear config | |||
|<code>/etc/conf.d/dropbear</code> (if Dropbear) | |||
|} | |||
---- | |||
<noinclude> | <noinclude> | ||
| Zeile 96: | Zeile 153: | ||
---- | ---- | ||
--> | --> | ||
== Anhang == | == Anhang == | ||
=== Siehe auch === | === Siehe auch === | ||
Version vom 22. August 2026, 13:16 Uhr
Xray - Xray + VLESS + REALITY + XTLS-Vision auf Debian installieren
Beschreibung
- Lizenz
Dieses Projekt unterliegt der MIT-Lizenz
- Zensur-Sicherheit
Funktion
Installation
DNS-Server
Client-Konfiguration
Verwaltung
Sicherheit
Fehlerbehebung
Aufruf
Optionen
| Unix | GNU | Parameter | Beschreibung |
|---|---|---|---|
Parameter
Umgebungsvariablen
Exit-Status
| Wert | Beschreibung |
|---|---|
| 0 | Erfolg |
| >0 | Fehler |
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
Links
Projekt
Weblinks
- Xray-core GitHub
- Official REALITY example
- Project X Documentation
- VLESS protocol docs
- Transport/REALITY docs
- DNS.SB
- Mullvad DNS
- Quad9
- Cloudflare 1.1.1.1
- AdGuard DNS