Difference between revisions of "Tutorial:Remote Access"

From MobiNetS
Jump to: navigation, search
(Created page with "We use [FRP https://github.com/fatedier/frp] to enable remote access to servers in the lab. You may also register a unique port as access to your own PC. === Example === [co...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
We use [FRP https://github.com/fatedier/frp] to enable remote access to servers in the lab.  
We use [https://github.com/fatedier/frp FRP] to enable remote access to servers in the lab.  
 
You may also register a unique port as access to your own PC.
You may also register a unique port as access to your own PC.


=== Example ===
=== Example ===
[common] (Ask Zhiwei)
Place the following codes in your local '''frpc.ini''' and then you are good to go.
server_addr = x.x.x.x
 
server_port = xxxxx
[common]<br>
server_addr = x.x.x.x<br>
server_port = xxxxx<br>
 
[ssh]<br>
type = tcp<br>
local_ip = 127.0.0.1<br>
local_port = 22<br>
remote_port = xxxxx<br>


[ssh]
[mysql]<br>
type = tcp
type = tcp<br>
local_ip = 127.0.0.1
local_ip = 192.168.44.10<br>
local_port = 22
local_port = 3306<br>
remote_port = xxxxx
remote_port = xxxxx<br>


[mysql]
Ask [mailto:zhiwei@mobinets.org Zhiwei] for the IP address and ports.
type = tcp
local_ip = 192.168.44.10
local_port = 3306
remote_port = xxxxx

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.