XRay 패키지 설치
오래된 저장소 정리
이전에 v2Ray 지침을 사용하셨다면, 그 당시 추가한 저장소를 정리해야 합니다:
rm /etc/opkg/customfeeds.conf
opkg update
opkg remove v2ray-core
저장소 업데이트
opkg update
커맨드를 사용하여 OpenWRT 저장소를 업데이트하세요.
다음과 같은 것을 보게 될 것입니다:
root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/releases/21.02.1/targets/mvebu/cortexa9/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/21.02.1/targets/mvebu/cortexa9/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/arm_cortex-a9_vfpv3-d16/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/arm_cortex-a9_vfpv3-d16/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.sig
Signature check passed.
root@OpenWrt:~#
dnsmasq 업그레이드
Xray를 설치하기 전에 dnsmasq를 dnsmasq-full로 교체해야 합니다:
opkg remove dnsmasq
opkg install dnsmasq-full
(이전에 지침을 따랐다면 이미 완료했을 수도 있습니다.)
XRay 코어 패키지 설치
opkg install xray-core xray-geodata
커맨드를 사용하여 xray-core 패키지를 설치하십시오.
root@OpenWrt:~# opkg install xray-core xray-geodata
Installing xray-core (1.5.3-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/arm_cortex-a9_vfpv3-d16/packages/xray-core_1.5.3-1_arm_cortex-a9_vfpv3-d16.ipk
Configuring xray-core.
Installing xray-geodata (1.5.3-1) to root...
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/arm_cortex-a9_vfpv3-d16/packages/xray-geodata_1.5.3-1_all.ipk
Configuring xray-geodata.
root@OpenWrt:~#
OpenWRT 21.03: Lucy 패키지
(22.03이 필요하십니까? 아래로 스크롤하세요.)
https://blockthis.xyz/storage/v2ray/luci-app-xray_1.15.0-1_all.ipk
을 사용하여 패키지를 다운로드한 후 opkg install luci-app-xray_1.15.0-1_all.ipk
을 사용하여 설치하세요.
root@OpenWrt:~# wget https://blockthis.xyz/storage/v2ray/luci-app-xray_1.15.0-1_all.ipk
Downloading 'https://blockthis.xyz/storage/v2ray/luci-app-xray_1.15.0-1_all.ipk'
Connecting to 43.154.208.212:443
Writing to 'luci-app-xray_1.5.2-1_all.ipk'
luci-app-xray_1.15.0- 100% |*******************************| 16628 0:00:00 ETA
Download completed (16628 bytes)
root@OpenWrt:~# opkg install luci-app-xray_1.15.0-1_all.ipk
Installing luci-app-xray (1.15.0-1) to root...
...
마지막 부분에서 오류가 발생할 수 있습니다. 이 특정 오류는 안전하게 무시할 수 있습니다. (다른 오류는 실제 문제를 나타낼 수 있습니다.)
OpenWRT 22.03: Lucy 패키지
https://blockthis.xyz/storage/v2ray/luci-app-xray_1.16.1-1_all.ipk
을 사용하여 패키지를 다운로드한 후 opkg install luci-app-xray_1.16.1-1_all.ipk
을 사용하여 설치하세요.
root@OpenWrt:~# wget https://blockthis.xyz/storage/v2ray/luci-app-xray_1.16.1-1_all.ipk
Downloading 'https://blockthis.xyz/storage/v2ray/luci-app-xray_1.16.1-1_all.ipk'
Connecting to 43.154.208.212:443
Writing to 'luci-app-xray_1.16.1-1_all.ipk'
luci-app-xray_1.16.1- 100% |*******************************| 16628 0:00:00 ETA
Download completed (16628 bytes)
root@OpenWrt:~# opkg install luci-app-xray_1.16.1-1_all.ipk
Installing luci-app-xray (1.16.1-1) to root...
...