frp内网穿透和阿里云服务器端口开放


配置截图

阿里云服务器开放端口阿里云服务器开放端口

除去默认22 ssh端口1690,1106,8023,3389 均为内网TCP转发过来的端口

1.3389代理http总的转发.

2.1690代理svn项目tcp端口,内网svn端口为3690

3.1106代理mysql数据库端口,内网mysql端口为3306

4.8023代理ssh登录端口,内网ssh端口为22

内网frpc.ini配置详情
[COMMON]
SERVER_ADDR = 115.29.111.7
SERVER_PORT = 7000
TOKEN = ****************
[JENKINS]
LOCAL_IP = 127.0.0.1
TYPE = HTTP
LOCAL_PORT = 3389
CUSTOM_DOMAINS = JENKINS.XIAOCHUN.CLOUD
USE_COMPRESSION = TRUE
USE_ENCRYPTION = TRUE
LOCATIONS = /
[SONARQUBE]
LOCAL_IP = 127.0.0.1
TYPE = HTTP
LOCAL_PORT = 2289
CUSTOM_DOMAINS = SONARQUBE.XIAOCHUN.CLOUD
USE_COMPRESSION = TRUE
USE_ENCRYPTION = TRUE
LOCATIONS = /
[SQFUAPP]
LOCAL_IP = 127.0.0.1
TYPE = HTTP
LOCAL_PORT = 8082
CUSTOM_DOMAINS = SQFUAPP.XIAOCHUN.CLOUD
USE_COMPRESSION = TRUE
USE_ENCRYPTION = TRUE
LOCATIONS = /
[SQFUAPPWEB]
LOCAL_IP = 127.0.0.1
TYPE = HTTP
LOCAL_PORT = 8080
CUSTOM_DOMAINS = SQFUAPPWEB.XIAOCHUN.CLOUD
USE_COMPRESSION = TRUE
USE_ENCRYPTION = TRUE
LOCATIONS = /
[DJIANGOBLOG]
LOCAL_IP = 127.0.0.1
TYPE = HTTP
LOCAL_PORT = 8000
CUSTOM_DOMAINS = DJANGOBLOG.XIAOCHUN.CLOUD
USE_COMPRESSION = TRUE
USE_ENCRYPTION = TRUE
LOCATIONS = /
[SSH]
LOCAL_IP = 127.0.0.1
TYPE = TCP
LOCAL_PORT = 22
REMOTE_PORT = 8023
USE_COMPRESSION = TRUE
USE_ENCRYPTION = TRUE
[MYSQL]
TYPE = TCP
LOCAL_IP = 127.0.0.1
LOCAL_PORT = 3306
REMOTE_PORT = 1106
[SVN]
TYPE = TCP
LOCAL_IP = 127.0.0.1
LOCAL_PORT = 3690
REMOTE_PORT = 1690
公网网frps.ini配置详情
[COMMON]
BIND_ADDR = 0.0.0.0
BIND_PORT = 7000
VHOST_HTTP_PORT = 3389
TOKEN = **********************

以上为所有配置