Contents
  1. 1. Ubuntu 18.04

Setup v2ray in Linux.

Ubuntu 18.04

  • Install the v2rayL

    • installing online seems not working, even if you downloads it successfully
    • download the zip from https://www.lanzous.com/iaynbud
    • install from the local folder
      1
      $ ./install.sh
  • Set the scription with a correct link

  • Turn on one of connection

  • Find the config file /etc/v2rayL/config.json

    1
    2
    3
    4
    5
    6
    7
    8
    {
    "port": 1081,
    "protocol": "http",
    "settings": {
    "userLevel": 8
    },
    "tag": "http"
    }
  • (Options) find the port by netstat

    1
    2
    3
    4
    5
    6
    $ sudo netstat -tunlp | grep v2
    tcp6 0 0 :::1080 :::* LISTEN 6029/v2ray
    tcp6 0 0 :::12345 :::* LISTEN 6029/v2ray
    tcp6 0 0 :::1081 :::* LISTEN 6029/v2ray
    udp6 0 0 :::12345 :::* 6029/v2ray
    udp6 0 0 :::1080 :::* 6029/v2ray
  • Setup proxy for cmake, wget and other command in termials

    1
    2
    $ export http_proxy=127.0.0.1:1081
    $ export https_proxy=127.0.0.1:1081
  • Start your work then :)

Contents
  1. 1. Ubuntu 18.04