甲骨文ARM的ubuntu安装桌面并开启RDP后,直接连接卡成翔,听别人说使用frp转发可以解决这个问题,实测是对的!
frp安装不赘述,贴上配置文件内容
frps.ini
[common] bind_port = 7000 token = 12345678
frpc.ini
[common] server_addr = 127.0.0.1 server_port = 7000 token = 12345678 [3390] type = tcp remote_port = 3390 local_ip = 127.0.0.1 local_port = 3389
另外贴上frps.service
[Unit] Description = frp server After = network.target syslog.target Wants = network.target [Service] Type = simple ExecStart = /etc/frp/frps -c /etc/frp/frps.ini [Install] WantedBy = multi-user.target
还有frpc.service
[Unit] Description = frp client After = frps.service Wants = frps.service [Service] Type = simple ExecStart = /etc/frp/frpc -c /etc/frp/frpc.ini Restart = on-failure ExecReload = /etc/frp/frpc reload -c /etc/frp/frpc.ini RestartSec = 5s [Install] WantedBy = multi-user.target
你好,这个frp转发,使用本机做转发也可以吗?还是说必须要一台国内的或者延迟低的机子呢
在ubuntu本机转发可以解决软件兼容问题导致的卡顿,但如果因为网络导致的卡顿就需要延迟低稳定的机子了。