• frp内网穿透组建*访问


    内网穿透,frp介绍请移步搜索引擎,这里直接干货

    1,下载地址 https://github.com/fatedier/frp/releases

      

    2,复制除了window平台的文件

    3,修改frps的执行权限

    chmod u+x frps 

    3,修改 frps.ini 做服务器配置

    [common]
    bind_addr = 0.0.0.0 -- 本机网卡
    bind_port = 7000 -- 连接端口
    vhost_http_port = 8888 -- http端口

    4,启动服务

    如下即可成功

    [root@mini frp]# ./frps -c frps.ini
    2020/04/23 09:31:12 [I] [service.go:141] frps tcp listen on 0.0.0.0:7000
    2020/04/23 09:31:12 [I] [root.go:205] start frps success

    查看  netstat -tunlp

    tcp6 0 0 :::8888 :::* LISTEN 15792/./frps
    tcp6 0 0 :::7000 :::* LISTEN 15792/./frps

    5,客户端连接

    [common]
    server_addr = abeiyun
    server_port = 7000

    [web02]
    type = http
    local_ip = 127.0.0.1
    local_port = 8887
    use_encryption = false
    use_compression = false
    custom_domains = [your ip]

    代理tcp如mysql

    [tcp_mysql]
    type = tcp
    local_ip = 127.0.0.1
    local_port = 3306
    remote_port = 3306

    服务器查看端口

    tcp6       0      0 :::3306                 :::*                    LISTEN      15792/./frps     

    *******************************************************************************************************************************

    感谢阿贝云提供的免费云服务器和免费虚拟主机,1C1G5M配置,搭配内网穿透,真香,看视频听歌曲无压力,*

    运行起来也相当流畅,网速个人使用是真的赞,欢迎大家使用

    *******************************************************************************************************************************

  • 相关阅读:
    angularjs MVC、模块化、依赖注入详解
    SpringBoot2.0整合Redission
    SpringBoot2.0整合SpringSecurity实现自定义表单登录
    SpringBoot2.0整合SpringSecurity实现WEB JWT认证
    基于Redis实现消息队列的几种方式
    函数初识
    noip200204过河卒
    邮票问题
    noip200205均分纸牌
    废品回收
  • 原文地址:https://www.cnblogs.com/zqq1234/p/12763839.html
Copyright © 2020-2023  润新知