在SecureCRT中配置代理服務器可以通過以下步驟完成:
Profile
菜單。Add
來新建一個代理服務器配置。SSH Tunneling
。OK
保存設置。Profile
菜單。Proxy Rules
。Add
來添加一個新的規則。Action
選項中選擇 Forward
。Source Address
中輸入 *
(表示所有地址)。Source Port
中輸入 *
(表示所有端口)。Destination Address
中輸入內網設備的IP地址。Destination Port
中輸入內網設備的服務端口(例如:3389)。OK
保存規則。tar -xf frp_0.58.0_linux_amd64.tar.gz
cd frp_0.58.0_linux_amd64
./frps -c frps.toml &
./frpc -c frpc.toml &
frpc.toml
文件,配置代理服務器的相關信息:[common]
bind_port = 178
[tcp_8080_proxy]
type = tcp
local_ip = your_local_ip
local_port = 1080
remote_port = your_remote_port
frps.toml
文件,配置代理服務器的相關信息:[common]
bind_port = 6000
[tcp_8080_proxy]
type = tcp
local_ip = your_local_ip
local_port = 1080
remote_port = your_remote_port
nohup ./frps -c ./frps.toml > /dev/null 2>&1 &
nohup ./frpc -c ./frpc.toml > /dev/null 2>&1 &
SSH
協議,輸入跳板機的IP地址和端口。Connection
-> Data
-> SSH
-> Tunnels
中添加一個新的隧道。OK
保存設置。通過以上步驟,您可以在SecureCRT中成功配置代理服務器,實現內網設備的遠程訪問。