readme
This commit is contained in:
parent
bf64df28f1
commit
74b3418193
@ -3,7 +3,7 @@
|
||||
基于javafx开发的 frp 客户端
|
||||
后台管理面板使用的是开源的 frp 管理面板 [SakuraPanel](https://github.com/ZeroDream-CN/SakuraPanel)
|
||||
|
||||
ps:为了方便 YanFrp 我自己修改了些面板代码,如果想自己搭建需要改造
|
||||
ps:为了适配 yanfrp 我自己修改了些面板代码,如果想自己搭建需要改造
|
||||
|
||||
管理面板网址:https://frp.octopusyan.top/?page=login
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
|
||||
- ~~HTTP Basic Auth~~ (已完成)
|
||||
- ~~添加p2p连接方式(xtcp,stcp)~~ (已完成)
|
||||
- 删除
|
||||
- HTTP URL路由
|
||||
- 待添加...
|
||||
|
||||
|
6
pom.xml
6
pom.xml
@ -5,9 +5,9 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>top.octopusyan</groupId>
|
||||
<artifactId>YanFrp</artifactId>
|
||||
<version>1.1.2</version>
|
||||
<name>YanFrp</name>
|
||||
<artifactId>yanfrp</artifactId>
|
||||
<version>1.1.3</version>
|
||||
<name>yanfrp</name>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
|
@ -55,7 +55,7 @@ public class YanFrpApplication extends Application {
|
||||
HttpLoggingInterceptor.Level.HEADERS
|
||||
))
|
||||
// 请求服务地址
|
||||
.serverPath("https://frp.octopusyan.top")
|
||||
.serverPath("https://example.com")
|
||||
// 是否打印日志
|
||||
.setLogEnabled(true)
|
||||
// 设置日志打印策略
|
||||
|
@ -20,13 +20,13 @@ public class ProxyConfig {
|
||||
private static final Map<String, Integer> typePort = new HashMap<>();
|
||||
|
||||
static {
|
||||
serverPath.put("香港", "xg.frp.octopusyan.top");
|
||||
serverPath.put("北京", "bj.frp.octopusyan.top");
|
||||
serverPath.put("上海", "frp.octopusyan.top");
|
||||
serverPath.put("香港", "example.com");
|
||||
serverPath.put("北京", "example.com");
|
||||
serverPath.put("上海", "example.com");
|
||||
|
||||
serverIp.put("香港", "101.32.202.135");
|
||||
serverIp.put("北京", "112.125.120.135");
|
||||
serverIp.put("上海", "81.68.214.67");
|
||||
serverIp.put("香港", "127.0.0.1");
|
||||
serverIp.put("北京", "127.0.0.1");
|
||||
serverIp.put("上海", "127.0.0.1");
|
||||
|
||||
typePort.put("http", 80);
|
||||
typePort.put("https", 80);
|
||||
|
Loading…
Reference in New Issue
Block a user