Giter Club home page Giter Club logo

v2ray-'s Introduction

VPS一键搭建V2ray教程

准备工作

  • 1、已经解析的域名,Win+R输入CMD 回车:键入ping 空格输入你的域名,检查一下是否可以ping通
  • 2、一台境外VPS主流系统,例如:Debian/Ubuntu/CentOS
  • 3、下载并安装FinalShell SSH工具

Windows版下载地址: http://www.hostbuf.com/downloads/finalshell_install.exe

macOS版下载地址: http://www.hostbuf.com/downloads/finalshell_install.pkg

VPS服务器

Vultr注册链接:https://www.vultr.com/?ref=8941832-8H

VPS操作系统选择:Debian 10 x64

V2Ray一键安装代码:

bash <(curl -sL https://cdn.jsdelivr.net/gh/Misaka-blog/Xray-script@master/xray.sh)

放行端口

Debian/Ubuntu 放行端口

例如要放行80端口

iptables -I INPUT -p tcp --dport 80 -j ACCEPT

然后保存放行规则

iptables-save

Centos 放行端口

例如要放行80端口

firewall-cmd --zone=public --add-port=80/tcp --permanent

然后重启防火墙

firewall-cmd --reload

查看防火墙规则

iptables -L

v2ray-'s People

Contributors

kejixiaolu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.