Skip to content
/ v2raym Public

Dead simple v2ray client for macOS (terminal)

License

Notifications You must be signed in to change notification settings

ggicci/v2raym

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

v2raym

Dead simple v2ray client for MacOS (terminal)

0x01. pre-requisites

Have v2ray core binary installed in your system.

0x02. install this v2raym script

curl -sSL "https://raw.githubusercontent.com/ggicci/v2raym/main/v2raym" -o ~/.local/bin/v2raym \
  && chmod +x ~/.local/bin/v2raym

0x03. environment variables

  • V2RAY_BIN: path to the v2ray binary, default "/opt/v2ray/v2ray"
  • V2RAY_CONFIG: path to the v2ray config, default: "${HOME}/.config/v2ray/config.json"
  • V2RAY_HTTP_PROXY_PORT: port of the local HTTP/HTTPS/FTP proxy, default: 1086
  • V2RAY_PROXY_PORT: port of the local SOCKS proxy, default: 1080

You can change these variables according to your system settings.

0x04. usage

Usage: v2raym start | stop

v2raym start

Start v2ray service and configure your system network proxy settings, including HTTP/HTTPS/FTP/SOCKS.

osx proxy settings

v2raym stop

Stop v2ray service and unset the proxy settings of your system network.

About

Dead simple v2ray client for macOS (terminal)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages