# wiki-proxy **Repository Path**: cdkjframework/wiki-proxy ## Basic Information - **Project Name**: wiki-proxy - **Description**: - WIKI代理(wiki-proxy)是一个基于netty的、开源的 Java 内网穿透项目,公供学习交流使用。 - 技术栈: 维基框架、JPA、Netty - 遵循MIT许可,因此您可以对它进行复制、修改、传播并用于任何个人或商业行为。 - 官网地址:https://www.framewiki.com/wiki-proxy - **Primary Language**: Java - **License**: MIT - **Default Branch**: master - **Homepage**: https://framewiki.com/wiki-proxy - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 1 - **Created**: 2025-01-09 - **Last Updated**: 2025-07-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: Java, Netty, 内网穿透, 代理, 网络代理 ## README
## 3.2 Modify the server configuration file
``` yml
spring:
application:
name: wiki-proxy-server
proxy:
server:
# Server (TCP) port
service-port: 10010
# Exposed ports can be used for multiple
port:
- 443
# Certificate storage path
ssl-key-store-path: "D:\\Project\\wiki-proxy\\server\\proxy-server-web\\src\\main\\resources\\wiki-proxy.jks"
# Certificate Password
ssl-key-store-password: "wiki-proxy@SaFePwd2025!"
# Certificate Type
ssl-key-store-type: PKCS12
# The protocol defaults to TLSv1.2 version
protocol: TLSv1.2
# The algorithm defaults to sunx509
algorithm: sunx509
# The AES interaction key needs to be consistent with the client
aes-key: 8AUWlb+IWD+Fhbs0xnXCCg==
# The interactive signature key needs to be consistent with the client
token-key: tokenKey
```
## 3.3 Server Startup (Spring Boot Project)
> com.framewiki.proxy.server.ProxyServerApplication
## 3.4 Modify client configuration file
``` yml
spring:
application:
name: wiki-proxy-client
proxy:
client:
# Server IP
service-ip: 127.0.0.1
# Server (TCP) port
service-port: 10010
ip:
- 127.0.0.1 # Target proxy IP
dest-port: # Target proxy port
- 50501
port:
- 443 # Server exposed port
# Certificate storage path
ssl-key-store-path: "D:\\Project\\wiki-proxy\\server\\proxy-server-web\\src\\main\\resources\\wiki-proxy.jks"
# Certificate Password
ssl-key-store-password: "wiki-proxy@SaFePwd2025!"
# Certificate Type
ssl-key-store-type: PKCS12
# The protocol defaults to TLSv1.2 version
protocol: TLSv1.2
# The algorithm defaults to sunx509
algorithm: sunx509
# The AES interaction key needs to be consistent with the server
aes-key: 8AUWlb+IWD+Fhbs0xnXCCg==
# The interactive signature key needs to be consistent with the server
token-key: tokenKey
```
## 3.5 Client Startup (Spring Boot Project)
> com.framewiki.proxy.client.ProxyClientApplication
# 4. Deployment
First, build the jar package for the project (as shown in the figure below), or download and publish the jar package, and then upload it to the designated directory on the server.
## 4.1 Deploy server
First, upload the wiki-proxy-server. jar package, Dockerfile, start.sh, and stop.sh to the server/user/web/wiki proxy/server directory.
### 4.1.1 Build and run Docker imagesSwitch the working directory to the/user/web/wiki-proxy/server directory (modify according to your own server directory structure)
```shell cd /user/web/wiki-proxy/server ```Execute the following command to build a Docker image
```shell ./start.sh ``` ### 4.1.2 Stop Docker image ```shell ./stop.sh ``` ## 4.2 Deploy clientFirst, upload the wiki-proy-client. jar package, Dockerfile, start.sh, and stop.sh to the server/user/web/wiki proxy/client directory (modify according to your own server directory structure)
### 4.2.1 Build and run Docker imagesSwitch the working directory to the /user/web/wiki-proxy/client directory
```shell cd /user/web/wiki-proxy/client ```Execute the following command to build a Docker image
```shell ./start.sh ``` ### 4.2.2 Stop Docker image ```shell ./stop.sh ``` # 5. Proxy schematic diagram
# 6. Contact us
- WeChat: wangnanfei-cn
- Gitee: https://gitee.com/cdkjframework/wiki-proxy
- Github repository: https://github.com/cdkjframework/wiki-proxy
# 7. Participate and contribute