Xray/Konfiguration: Unterschied zwischen den Versionen
Aus Foxwiki
Die Seite wurde neu angelegt: „== Konfiguration == === Dateien === {| class="table table-striped table-hover options big" |- ! Datei !! Beschreibung |- | || |- | || |} {| class="table table-striped table-hover" !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) |-…“ |
Keine Bearbeitungszusammenfassung |
||
| Zeile 72: | Zeile 72: | ||
{{Navigation|<zurück>|<nachste>}} | {{Navigation|<zurück>|<nachste>}} | ||
---- | ---- | ||
--> | -->[[Kategorie:Xray]] | ||
Aktuelle Version vom 15. September 2026, 12:00 Uhr
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)
|