All Projects → dreamrover → v2ray-deb

dreamrover / v2ray-deb

Licence: other
v2ray debian/ubuntu安装包

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to v2ray-deb

emrah-buster-templates
The templates of the emrah-buster installer.
Stars: ✭ 57 (-60.14%)
Mutual labels:  debian, installer
intellij-idea-ultimate
Unofficial .deb packages of IntelliJ IDEA Ultimate Edition. This is a mirror of https://gitlab.com/mmk2410/intellij-idea-ultimate
Stars: ✭ 16 (-88.81%)
Mutual labels:  debian, deb-packages
Fhs Install V2ray
Bash script for installing V2Ray in operating systems such as Debian / CentOS / Fedora / openSUSE that support systemd
Stars: ✭ 3,236 (+2162.94%)
Mutual labels:  installer, v2ray
spotify-deb-install
MOVED: https://gitlab.com/q3aql/spotify-deb-install
Stars: ✭ 15 (-89.51%)
Mutual labels:  debian, installer
Swizzin
A simple, modular seedbox solution
Stars: ✭ 888 (+520.98%)
Mutual labels:  debian, installer
linux-installer
Universal GNU+Linux installer script
Stars: ✭ 16 (-88.81%)
Mutual labels:  debian, installer
intellij-idea-community
Unofficial .deb packages of IntelliJ IDEA Community Edition. This is a mirror of
Stars: ✭ 32 (-77.62%)
Mutual labels:  debian, deb-packages
Qv2ray
⭐ Linux / Windows / macOS 跨平台 V2Ray 客户端 | 支持 VMess / VLESS / SSR / Trojan / Trojan-Go / NaiveProxy / HTTP / HTTPS / SOCKS5 | 使用 C++ / Qt 开发 | 可拓展插件式设计 ⭐
Stars: ✭ 12,886 (+8911.19%)
Mutual labels:  debian, v2ray
Displaylink Debian
DisplayLink driver installer for Debian and Ubuntu based Linux distributions.
Stars: ✭ 768 (+437.06%)
Mutual labels:  debian, installer
airgeddon deb packages
Useful related to airgeddon packages for Debian based Linux distributions
Stars: ✭ 22 (-84.62%)
Mutual labels:  debian, amd64
Android Sdk Installer
Linux utility which aims to automatically install and configures Android SDK, Eclipse ADT Plugin, adds hardware support for devices and enables full MTP support.
Stars: ✭ 78 (-45.45%)
Mutual labels:  debian, installer
Mtprotoproxyinstaller
One-click script to install MTProto Proxy server on CentOS, Ubuntu and Debian
Stars: ✭ 216 (+51.05%)
Mutual labels:  debian, installer
pacstall
An AUR-inspired package manager for Ubuntu
Stars: ✭ 842 (+488.81%)
Mutual labels:  debian
simplyarch
The blazing fast ⚡ Arch Linux ⚡ installation script that puts you on control 🌟
Stars: ✭ 38 (-73.43%)
Mutual labels:  installer
ppa-packaging
Semi-automated script to create binary packages for (multiple versions of) Ubuntu
Stars: ✭ 15 (-89.51%)
Mutual labels:  debian
raspbian10-buster
Raspbian 10 (Buster) Lite Setup: with Wireguard, Pi-hole, Unbound
Stars: ✭ 54 (-62.24%)
Mutual labels:  debian
oberon-07-compiler
Oberon-07 compiler for x64 (Windows, Linux), x86 (Windows, Linux, KolibriOS), MSP430x{1,2}xx, STM32 Cortex-M3
Stars: ✭ 45 (-68.53%)
Mutual labels:  amd64
vs-code-container-with-ssl
Launch your own Code Server container with preloaded SDKs for React, Python, C#, Cloud CLIs, secured by SSL Reverse Proxy.
Stars: ✭ 54 (-62.24%)
Mutual labels:  debian
kafka role
Ansible role to install Apache Kafka
Stars: ✭ 18 (-87.41%)
Mutual labels:  debian
AdBlock-Acceleration
Accelerated subscription for international/China region ad filtering rules(国际/中国地区广告过滤规则的加速订阅)
Stars: ✭ 327 (+128.67%)
Mutual labels:  v2ray

v2ray-deb

简介

科学上网工具Project V的Linux服务端/客户端配置比较复杂,而官网v2ray-core releases仅提供了各平台的二进制压缩包,安装部署比较麻烦。

本项目将其打包成Debian/Ubuntu系统上的deb安装包(仅提供x86_64版,如需其他CPU平台的安装包请自行打包),使您能一键部署v2ray的Linux服务端/客户端,默认使用VMESS协议,安装后自动随机生成端口号和用户ID。

配置文件位于/etc/v2ray目录下,服务端和客户端配置文件分别为server.json和client.json,安装完成后默认配置为服务端,创建指向server.json的符号链接文件config.json。您也可以在安装之后修改默认配置文件来重置端口号和用户ID,也可以修改符号链接文件/etc/v2ray/config.json的指向来将其作为客户端使用。

作为服务端时,安装完成后自动生成的端口号为TCP端口号,同时也是基于UDP的mKCP的端口号,UUID相同,您可以在与此服务端连接的客户端使用TCP或mKCP,但不建议您使用mKCP,因为用了之后此端口和IP很快会被探测到进而被封,原因你懂的。另外,安装完成后服务端也默认支持基于UDP的QUIC协议传输,端口号为前述自动生成的端口号加1,UUID相同,key也与UUID相同,同样不建议您使用QUIC,原因与mKCP相同,虽然这两个基于UDP的协议速度更快。

服务端的配置信息都保存在/etc/v2ray/server.json中,包含TCP/mKCP/QUIC。客户端的配置信息都保存在/etc/v2ray/client.json中,仅包含TCP的配置信息,inbounds中的本地socks5代理为1080端口,HTTP代理为8080端口;outbounds中的端口号和UUID与服务端相同。

注意1

从v2ray 4.26.0版开始,v2ray已进入Debian 11 (Bullseye)官方源,使用apt-get upgrade命令会自动更新至官方源的版本,但实测发现此版本作为服务端时无法配置为同时监听多个端口,导致使用以前的配置文件无法启动v2ray。个人认为Debian官方源打包的v2ray非常糟糕,您可通过以下命令忽略Debian官方源的v2ray更新:

  • sudo apt-mark hold v2ray

注意2

安卓手机客户端v2rayNG升级至1.4.13版本后,当前默认配置下无法与4.27.5及更低版本的v2ray服务端连接,请将v2ray服务端版本升级至4.28.2及以上。

安装

本项目打包软件的版本号与官网保持一致,您可以直接下载deb安装包

并通过如下命令安装:

  • sudo dpkg -i v2ray-4.45.2-amd64.deb

首次安装后将显示随机生成的端口号用户ID(UUID)额外ID(alterId)为0。若已安装过旧版本,会提示是否替换之前的配置文件,如果选择“N”则不会重新生成端口号和UUID。将上述信息填入手机或PC端的v2ray客户端。

上述配置信息都保存在/etc/v2ray/config.json中(此文件为符号链接,指向同目录下的server.json),安装完成后会自动启动v2ray服务。

您可以在安装完成后通过修改文件/etc/v2ray/config.json来自定义端口号和用户ID等配置信息(UUID的格式和长度是固定的,请不要随意修改)。

修改配置文件后须重启v2ray服务使之生效:

  • sudo systemctl restart v2ray

生成用户ID(UUID)的方法:

  • cat /proc/sys/kernel/random/uuid

你也可以将符号链接文件/etc/v2ray/config.json指向client.json来将其作为客户端使用(默认不能同时作为服务端和客户端):

  • sudo unlink /etc/v2ray/config.json
  • sudo ln -s /etc/v2ray/client.json /etc/v2ray/config.json

卸载

您可通过如下命令卸载(保留配置文件和日志):

  • sudo dpkg -r v2ray

或者

  • sudo apt-get remove v2ray

完全卸载(移除配置文件和日志):

  • sudo apt-get purge v2ray

自行打包

您也可以自行打包生成deb安装包(AMD64):

如果您需要其他CPU平台的deb安装包,请前官网下载对应的二进制压缩包,并替换此项目中usr/bin/v2ray目录下的可执行文件v2ray和v2ctl,然后按照上述命令生成。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].