1.在使用frp进行内网穿透的基础上,在内网机器的frpc.ini配置中添加

[web]
type = tcp
local_ip = master
local_port = 内网端口
remote_port = 外网机器端口

启动

./frpc -c frpc.ini

2.在内网机器上启动ss-server

修改配置/etc/shadow$ocks-libev/config.json,必须是0.0.0.0

{
    "server":"0.0.0.0",
    "server_port":内网端口,
    "local_port":1080,
    "password":"密码",
    "timeout":60,
    "method":"chacha20-ietf-poly1305"
}

启动

ss-server -c /etc/shadow$ocks-libev/config.json

3.配置代理

使用frp+ss访问内网机器服务

 

这样就能访问内网机器上的服务了

 

相关文章:

  • 2021-12-31
  • 2021-12-05
  • 2021-12-04
  • 2022-12-23
  • 2021-12-14
  • 2021-12-04
  • 2021-11-20
猜你喜欢
  • 2021-12-26
  • 2021-12-14
  • 2021-11-11
  • 2022-01-13
  • 2022-12-23
  • 2021-11-23
  • 2021-12-04
相关资源
相似解决方案