Difference between revisions of "Tutorial:Remote Access"
From MobiNetS
Line 6: | Line 6: | ||
Place the following codes in your local '''frpc.ini''' and then you are good to go. | Place the following codes in your local '''frpc.ini''' and then you are good to go. | ||
[common] | [common]<br> | ||
server_addr = x.x.x.x<br> | server_addr = x.x.x.x<br> | ||
server_port = xxxxx<br> | server_port = xxxxx<br> | ||
Line 21: | Line 21: | ||
local_port = 3306<br> | local_port = 3306<br> | ||
remote_port = xxxxx<br> | remote_port = xxxxx<br> | ||
Ask [mailto:zhiwei@mobinets.org Zhiwei] for the IP address and ports. |
Latest revision as of 11:33, 7 February 2021
We use FRP to enable remote access to servers in the lab.
You may also register a unique port as access to your own PC.
Example
Place the following codes in your local frpc.ini and then you are good to go.
[common]
server_addr = x.x.x.x
server_port = xxxxx
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = xxxxx
[mysql]
type = tcp
local_ip = 192.168.44.10
local_port = 3306
remote_port = xxxxx
Ask Zhiwei for the IP address and ports.