Ubuntu 使用 FRP 实现内网穿透

2020-03-17 14:43:14 浏览数 (1)

DownLoad

代码语言:javascript复制
wget https://github.com/fatedier/frp/releases/download/v0.13.0/frp_0.13.0_linux_amd64.tar.gz

frps.ini

代码语言:javascript复制
 [common] 
   bind_addr = 0.0.0.0 
  bind_port = 7000 
  dashboard_port = 7500 
  #dashb  user name and password  can is null  default all is admin 
  dashboard_user = admin 
  dashboard_pwd = admin

frpc.ini

代码语言:javascript复制
 [common]
 server_addr = 103.26.77.145
 server_port = 7000
 [ssh]
type = tcp
 local_ip = 127.0.0.1
 local_port = 22
 remote_port = 6000

start Server

代码语言:javascript复制
frps -c ./frps.ini
frpc -c ./frpc.ini                          

0 人点赞