Feat:

This commit is contained in:
fanxb 2019-04-03 17:06:05 +08:00
parent c44c2b03f0
commit 39816c5e1d
2 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,11 @@
---
id: "2019-04-02-10-58"
date: "2019/04/02 10:58"
title: "最新linux搭建公网个人邮件服务器"
tags: ["smtp","linux","ubuntu","邮件服务器"]
categories:
- "其他"
---
如题,待续。

View File

@ -0,0 +1,52 @@
---
id: '2019-04-02-10-58'
date: '2019/04/02 10:58'
title: '免费frp内网穿透'
tags: ['frp', '免费', '内网穿透']
categories:
- '其他'
---
  公司调试需要公网 IP遂在网上找了个免费的内网穿透--[http://ku2.kerwin.cn/](http://ku2.kerwin.cn/)。延迟还行一百多毫秒。
# 使用方法
## 下载软件
  首先下载 frp下载地址[https://github.com/fatedier/frp/releases](https://github.com/fatedier/frp/releases),选择对应的平台和版本,主要版本一定要和网站上的一致。
<!-- more -->
## 编写配置文件
&emsp;&emsp;解压压缩包后编辑 frpc.ini
```properties
[common]
server_addr = frp.kerwin.cn
server_port = 7000
token = kerwin.cn
# 名称随意,只是一个标识
user = fleyx
[web]
type = http
# 本地ip地址
local_ip = 127.0.0.1
# 要穿透的端口
local_port = 8082
# 可以将自己的域名cname到ku2.kerwin.cn
# 如果没有自己的域名那也是可以的可以在frp页面看别人的域名然后在定义locations就可以将此路径下的请求发送到本机
# 下面这个域名就是别人的,然后我顺便借用下
custom_domains = ck1.ck2014.win
# 穿透路径
locations = /fleyx
```
## 启动
&emsp;&emsp;启动命令如下:
```bash
./frpc -c frpc.ini
```