Installing
-
2. Installing V2Ray Server
Then to Install V2Ray Core Server in Debian
Simply play:sudo su -c "bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)"
And again to Setup also geoip.dat and geosite.dat:
sudo su -c "bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh)"
Finally, in case to Remove it execute:
sudo su -c "bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh) --remove"
To get a personal Server the easiest solution is the Cloud Computing, and for a currently cheapest solution you may see Vultr.
-
3. Configuring V2Ray Server
Next to Customize V2Ray Server Configuration
Edit with nano the File in /usr/local/etc/v2ray/config.json:sudo nano /usr/local/etc/v2ray/config.json
To disable every access tentative Change the ID and then possibly the Port.
As ID Generator use the following Website: uuidgenerator.net.
A basic File to use looks like:{"inbounds": [ {"port": 10086, // server listening port"protocol": "vmess","settings": {"clients": [ {"id": "b831381d-6324-4d53-ad4f-8cda48b30811" } ] } } ],"outbounds": [ {"protocol": "freedom" } ] }
Finally, Ctrl+x to Save & Exit from nano Editor.
-
4. Launching V2Ray Server
Finally, Launch & Enjoy V2Ray Server
To Start it run:sudo systemctl start v2ray
Use “stop” and “restart” as others available Commands to control it.
Again to Enable it at Startup issue:sudo systemctl enable v2ray
Finally, remove this Setup with “disable”.
-
5. V2Ray Core Client Getting-Started Guide
Get Started with V2Ray Core Client for Debian GNU/Linux
V2Ray Core Client QuickStart Guide on Debian
So Now I am truly Happy if My Guide could Help you to Quick-Start with V2Ray Server on Debian Bookworm 12!
Contents