zoukankan      html  css  js  c++  java
  • 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配置,搭配内网穿透,真香,看视频听歌曲无压力,*

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

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

  • 相关阅读:
    WPF学员管理系统
    dotnet-千星项目OpenAuthNet基于NetCore21的快速开发框架
    MVC5仓库管理系统
    华为设备IPC V200R002C0SPC SDK连接demo
    基础界面
    交通建设项目管理信息化系统
    Apache常见interview
    mamcached+(magent+keepalived高可用)搭建及理论概述
    TCP/IP三次挥手,四次断开(精简)
    简述FTP的主动模式与被动模式(精简)
  • 原文地址:https://www.cnblogs.com/zqq1234/p/12763839.html
Copyright © 2011-2022 走看看