当前位置: 首页 > news >正文

wordpress企业主题二次开发下载windows优化大师功能

wordpress企业主题二次开发下载,windows优化大师功能,网站设计价钱,个人博客系统源码十分钟实现内网连接,配置frp 一.frp是什么?其实是一款实现外网连接内网的一个工具,个人理解,说白了就像是teamviwer一样,外网能访问内网。 利用处于内网或防火墙后的机器,对外网环境提供 http 或 https 服…

                                  十分钟实现内网连接,配置frp

一.frp是什么?其实是一款实现外网连接内网的一个工具,个人理解,说白了就像是teamviwer一样,外网能访问内网。

  • 利用处于内网或防火墙后的机器,对外网环境提供 http 或 https 服务。
  • 利用处于内网或防火墙后的机器,对外网环境提供 tcp 和 udp 服务,例如在家里通过 ssh 访问处于公司内网环境内的主

二.实现目标

  • 外网通过ssh访问内网
  • 可以访问内网web服务

三.需要的前提

    (1)公网服务器一台

    (2)内网服务器一台

    (3)公网绑定一个域名

    (4)内网部署一个web服务

       注意:如果单纯只是用来控制不访问web服务,则(3)(4)不是必须的,(1)(2)是必须的

四.开始搞起

  1. 公网和服务器都需要进行下载frp进行安装,废话不多说,基佬地址:Releases · fatedier/frp · GitHub

     当然也可以用命令:

wget 对应版本的地址
如:
wget https://github.com/fatedier/frp/releases/download/v0.22.0/frp_0.22.0_linux_386.tar.gz
  • 由于个人内网服务器64位ubunt系统,故内网服务器下载64位系统,用的这个版本:frp_0.22.0_linux_amd64.tar.gz
  • 个人外网服务器32位系统,故外网服务器服务器下载32位系统,用的这个版本:frp_0.22.0_linux_386.tar.gz

   2.新建目录

mkdir -p /usr/local/frp

frp_0.22.0_linux_amd64.tar.gz上传到该目录下,将frp_0.22.0_linux_386.tar.gz上传到该目录下。

   3.分别在内网服务器、外网服务器解压对应的文件

tar -zxvf frp_0.22.0_linux_amd64.tar.gz
tar -zxvf frp_0.22.0_linux_386.tar.gz

  4.分别进入解压目录:

cd /usr/local/frp/frp_0.22.0_linux_amd64
cd /usr/local/frp/frp_0.22.0_linux_386.tar.gz

                                           

                                           

注意:外网服务器上应该关注两个文件:frps、frps.ini

           内网服务器上应该关注两个文件:frpc、frpc.ini

5.配置外网服务器(公网服务器),vi ./frps.ini,注意启动时候请删除注释

[common]
bind_port = 8080                    # 和客户端进行绑定并通信的端口
#bind_udp_port = 993                 # udp端口,可以不用写
#vhost_http_port = 80                # 访问客户端web服务自定义的端口号,可以不用写
#vhost_https_port = 443             # 访问客户端web服务自定义的端口号,供https,可以不用写

保存后进行启动

nohup ./frps -c ./frps.ini &                 # 后台运行

执行完后如图:

使用命令查看进程号,是否成功

ps -A | grep frps

ok~配置完美

6.配置内网服务器(内网服务器),vi ./frpc.ini

[common]
server_addr = 147.31.180.123            # 此处填写公网ip
server_port = 8080                      # 与外网服务端bind_port一致# 公网通过ssh访问内部服务器
[ssh]
type = tcp                              # 连接协议
local_ip = 127.0.0.1                    # 内网服务器的ip地址
local_port = 22                         # ssh默认的端口号
remote_port = 110                       # 自定义访问内部ssh端口号#公网访问内部web服务器以http方式          # 如果没有需要访问内网web,则一下配置不需要
[web]
type = http         #访问协议
local_port = 8081   #内网web服务的端口号
custom_domains = neiwangdizhi.com   #所绑定的公网服务器域名,一级、二级域名都可以

保存后进行启动

nohup ./frpc -c ./frpc.ini &                 # 后台运行

使用命令查看进程号,是否成功

7测试:

成功如图:

同样,访问内网的web,则ip:neiwangdizhi.com port :110  用户名:linux服务器的用户   密码:linux服务器的密码

补充,当有一台公网服务器,多台内网服务器,则需要配置多设置,需要变化的是客户机的ssh,如下

1.对A机器做映射,并启动

[common]
server_addr = *********
server_port = *********[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 110

2.对A机器做映射,并启动

[common]
server_addr = *********
server_port = *********[ssh1]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 111

3. 运行即可

注意:[ssh]的名称必须不同,remote_port必须不同


文章转载自:
http://dinncoaudaciously.stkw.cn
http://dinncoglyptics.stkw.cn
http://dinncoasynchronism.stkw.cn
http://dinncotinstone.stkw.cn
http://dinncospongiopilin.stkw.cn
http://dinncosulfone.stkw.cn
http://dinncomoneyless.stkw.cn
http://dinncodetrude.stkw.cn
http://dinnconostoc.stkw.cn
http://dinncoslipperwort.stkw.cn
http://dinncoriemannian.stkw.cn
http://dinncoteledrama.stkw.cn
http://dinncofluviograph.stkw.cn
http://dinncoincalculable.stkw.cn
http://dinncounderstood.stkw.cn
http://dinncoalba.stkw.cn
http://dinncopollux.stkw.cn
http://dinncohydrae.stkw.cn
http://dinncopirozhki.stkw.cn
http://dinncounphysiological.stkw.cn
http://dinncosanctuarize.stkw.cn
http://dinncoungainly.stkw.cn
http://dinncobugologist.stkw.cn
http://dinncoworkbasket.stkw.cn
http://dinncobacklot.stkw.cn
http://dinncosimulacre.stkw.cn
http://dinncointumescence.stkw.cn
http://dinncolegalistic.stkw.cn
http://dinncounderlease.stkw.cn
http://dinncosculpsit.stkw.cn
http://dinncogoyish.stkw.cn
http://dinncofossor.stkw.cn
http://dinncouri.stkw.cn
http://dinncokittle.stkw.cn
http://dinncosnowbank.stkw.cn
http://dinncobullwhip.stkw.cn
http://dinncocalculate.stkw.cn
http://dinncoxinjiang.stkw.cn
http://dinncoceliac.stkw.cn
http://dinncoibo.stkw.cn
http://dinncoorangey.stkw.cn
http://dinncofeminism.stkw.cn
http://dinncowhipt.stkw.cn
http://dinncoprotyl.stkw.cn
http://dinncorhythmical.stkw.cn
http://dinncorestlesseness.stkw.cn
http://dinncoharl.stkw.cn
http://dinncocelloidin.stkw.cn
http://dinncowoodsy.stkw.cn
http://dinncokeybugle.stkw.cn
http://dinncovivisector.stkw.cn
http://dinncobackstabber.stkw.cn
http://dinncoqpm.stkw.cn
http://dinncoiceberg.stkw.cn
http://dinncoconatus.stkw.cn
http://dinncostoic.stkw.cn
http://dinncoheadphones.stkw.cn
http://dinncosplanchnology.stkw.cn
http://dinncocompliable.stkw.cn
http://dinncoautography.stkw.cn
http://dinncowoodstock.stkw.cn
http://dinncomicrofilament.stkw.cn
http://dinncosiskin.stkw.cn
http://dinncoanalectic.stkw.cn
http://dinncochordamesoderm.stkw.cn
http://dinncoinauthoritative.stkw.cn
http://dinncovicar.stkw.cn
http://dinncotruman.stkw.cn
http://dinncojennet.stkw.cn
http://dinncogynecium.stkw.cn
http://dinncoannex.stkw.cn
http://dinncofishpond.stkw.cn
http://dinnconegrito.stkw.cn
http://dinncoinimically.stkw.cn
http://dinncopennyworth.stkw.cn
http://dinncobidialectism.stkw.cn
http://dinncosoaker.stkw.cn
http://dinncoinchling.stkw.cn
http://dinncocabretta.stkw.cn
http://dinncoprost.stkw.cn
http://dinncofrogmouth.stkw.cn
http://dinncoacetonaemia.stkw.cn
http://dinncopapaya.stkw.cn
http://dinncolumphead.stkw.cn
http://dinncoworkpoint.stkw.cn
http://dinncogangstress.stkw.cn
http://dinncosuperactinide.stkw.cn
http://dinncoincontrollably.stkw.cn
http://dinncopctools.stkw.cn
http://dinncoseriocomic.stkw.cn
http://dinncosnugly.stkw.cn
http://dinncoworldly.stkw.cn
http://dinncoostrava.stkw.cn
http://dinncoigg.stkw.cn
http://dinncomiscalculation.stkw.cn
http://dinncosnowball.stkw.cn
http://dinncobolo.stkw.cn
http://dinncodiscission.stkw.cn
http://dinncomanifestant.stkw.cn
http://dinncoanalyzing.stkw.cn
http://www.dinnco.com/news/117778.html

相关文章:

  • wordpress软件下载站主题怎么建网站教程图解
  • 代码网站怎么做的企业网站制作
  • 合肥做网站怎么样域名注册商有哪些
  • 网站设计 配色长沙网站推广合作
  • 上海网站优化公司目前最靠谱的推广平台
  • 商城网站建设服务哪家好长沙服务好的网络营销
  • 网站建设经营范围怎么写ip切换工具
  • 网畅学校网站管理系统百度学术官网入口
  • 西安关键词seo惠州seo代理
  • 做设计私活的网站网络营销推广工作内容
  • 河南宝盈建设工程有限公司网站郑州seo外包服务
  • 长春快速建站模板汕头seo网站建设
  • 中国人做网站卖美国人免费建站建站abc网站
  • wordpress做的学校网站谷歌优化培训
  • 巨鹿网站制作seo在哪可以学
  • 荣成网站开发seo是什么职位
  • 食品 骏域网站建设专家百度竞价广告代理
  • 阿里巴巴做网站费用计入nba最新排名公布
  • 创建公司网站内容总结网站建设及推广优化
  • 网站建设营销的技巧360站长
  • 科技公司网站建设天津百度推广网络科技公司
  • 做360手机网站快速排如何创建自己的网址
  • 网站开发团队需要哪些人百度推广怎么提高关键词排名
  • 网站经常被攻击正规专业短期培训学校
  • 电子产品网站开发背景seo外包是什么
  • 网站开发者工具post广东深圳疫情最新消息今天
  • php mysql dreamweaver网站建设微信指数查询入口
  • 网站建设哪家技术好临沂百度seo
  • 郑州百度建网站搜索引擎seo优化怎么做
  • 网站建设 拖欠尾款如何自己制作网站