This is a reality no interaction one-click script,only support Debian10+/Ubuntu20+/Centos7+/Fedora8+
Run the following command. The PORT can be customized,Removing PORT=8880 it will use a random port
PORT=8880 bash -c "$(curl -L https://raw.githubusercontent.com/eooce/scripts/master/reality.sh)"
bash -c "$(curl -L https://raw.githubusercontent.com/eooce/scripts/master/test.sh)"
PORT,NEZHA_SERVER,NEZHA_PORT,NEZHA_KEY can be customized
The HY2_PORT can be customized,Removing HY2_PORT=8880 it will use a random port
HY2_PORT=8880 bash -c "$(curl -L https://raw.githubusercontent.com/eooce/scripts/master/Hysteria2.sh)"
bash -c "$(curl -L https://raw.githubusercontent.com/eooce/scripts/master/tuic.sh)"
bash -c "$(curl -L https://raw.githubusercontent.com/eooce/scripts/master/uninstall.sh)"
- install docker
curl -fsSL https://get.docker.com | sh
- clone this project
git clone https://github.com/eooce/scripts && cd xray-reality
- build docker image
docker build -t xrayreality .
- run
docker run -d --name xrayreality -p443:443 xrayreality
- get connection config :
get url
docker exec -it xrayreality cat /root/reality.txt
view qrcode
docker exec -it xrayreality sh -c 'qrencode -s 120 -t ANSIUTF8 $(cat /root/reality.txt)'
status :
docker ps -a | grep xrayreality
stop :
docker stop xrayreality
start :
docker stop xrayreality
remove :
docker rm -f xrayreality