V2RayGen is a fully automated script that helps you to set up your own v2ray server in the fastest time.
For running this script, you must have docker, docker-compose and python3 installed on your server or you can use --dockerup
switch which installs docker & docker-compose and runs v2ray-core automatically
curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | python3 - -h
curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | sudo python3 - --vmess
Or
curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py --output V2RayGen.py
sudo python3 V2RayGen.py --vmess
for changing port simply use --port
curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | sudo python3 - --shadowsocks
OR
curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | sudo python3 - --obfs
curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | sudo python3 - --generate --protocol both --dns cloudflare --dockerfile --dockerup --link --linkname vmess-ca --port 8090
Supported DNS providers:
DNS |
---|
cloudflare |
opendns |
quad9 |
adguard |
Supported Outband Protocols:
Outband Protocols |
---|
Freedom |
BlackHole |
Freedom + BlackHole |
- ShadowSocks JSON Template
- Adding more options for changing configuration
- Catch Errors if Error Occured
- More Exception Error Handeling
- Add Verbose Mode With Logger