FRPS Keywords: reverse proxy, network penetration
The required environment: fixed public network IP and a server centos
Software: frp_0.20.0_linux_amd64.tar.gz
Server (note open the appropriate ports):
Starting method: [root @ localhost frp_0.20.0_linux_amd64] # nohup ./frps -c ./frps.ini & (back to start)
[root @ localhost frp_0.20.0_linux_amd64] # CAT frps.ini
[the Common]
bind_port server port = 7000 #
ivhost_http_port = 80
The client (company)
Start mode: ./frpc frpc.ini -C (backgrounding preceded nohup, & behind the increase)
[root@centos7 frp_0.20.0_linux_amd64]# cat frpc.ini
[common]
server_addr = 公网IP
server_port = 7000
[SSH]
of the type = tcp
local_ip = 192.168.221.128 # internal network IP
local_port = 22
remote_port proxy port = 6000 #)
Direct to home remote (ssh public IP -p 6000)