650 B
650 B
openwrt-xray
Install
- Drop the files onto OpenWRT (22.03 and higher) router
- Run
install_xray.sh:chmod +x /root/install_xray.sh && /root/install_xray.sh - Configure this installation:
- Edit this rule in
configure_xray_startup.sh:iptables -t mangle -A XRAY -d 1.1.1.1 -j RETURNto match your public static IP address - In
/root/xray_config/04_outbounds.jsonadd your connection details
- Enable the
xrayservice in LuCI (System -> Startup, it should be at the end of the list) and reboot your router.
(In case it fails to work, you may disable the service and reboot the router again to revert the effects)