Skip to content

Instantly share code, notes, and snippets.

@mohammadkarbalaee
Last active May 22, 2024 21:12
Show Gist options
  • Save mohammadkarbalaee/9de54b72b935441c4d91314e494bb57e to your computer and use it in GitHub Desktop.
Save mohammadkarbalaee/9de54b72b935441c4d91314e494bb57e to your computer and use it in GitHub Desktop.
The steps I followed that let me install and run v2ray on linux successfully

1st

install v2ray via snap

sudo snap install v2ray

2nd

go to the installed directory of v2ray:

 cd /var/lib/snapd/void/

3rd

create a config file ``bash touch config.json

## 4th 
open the empty config file with nano
``bash
nano config.json

5th

paste or write your configurations into the nano page opened for you and save is with ctrl + s and then exit with ctrl + x

6th

go to settings and set your proxy before starting v2ray. make sure to set it up for both http and https

7th

disconnect and reconnect to your network once

8th

run v2ray with the following command ``bash v2ray run


# There you go. Enjoy 😍
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment