Giter VIP home page Giter VIP logo

v2ray-agent's Introduction

自用 即使端口开放检查失败仍然继续 使用非80端口获取证书

做了什么?

注释掉exit 0

if [[ "${checkPortOpenResult}" == "fjkvymb6len" ]]; then
        echoContent green " ---> 检测到${port}端口已开放"
    else
        echoContent green " ---> 未检测到${port}端口开放,退出安装"
        if echo "${checkPortOpenResult}" | grep -q "cloudflare"; then
            echoContent yellow " ---> 请关闭云朵后等待三分钟重新尝试"
        else
            echoContent red " ---> 错误日志:${checkPortOpenResult},如果日志不为空可以提交issue反馈"
        fi
        #exit 0
    fi

添加--httpport自行修改NAT端口为自己小鸡的端口,默认为20348,您可以在"/etc/v2ray-agent/"找到install.sh并修改1461

sudo "$HOME/.acme.sh/acme.sh" --issue -d "${tlsDomain}" --standalone --httpport NAT端口 -k ec-256 --server "${sslType}" ${installSSLIPv6} 2>&1 | tee -a /etc/v2ray-agent/tls/acme.log >/dev/null

v2ray-agent's People

Contributors

02015678 avatar cloudwindy avatar demo0102 avatar hexiaoyanh avatar imgbotapp avatar irhonin avatar mack-a avatar wangwang-code 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.