标签 Padavan 下的文章

frp 内网穿透

这个是最常用的功能,如果自己没有vps的话,可以找一些免费的来使用。

[common]
server_addr = frp.freefrp.net
server_port = 7000
token = freefrp.net

# 注意下面的yourname要取一个和别人不重复的名字,名称冲突会启动失败

# http示例
[yourname_http]
type = http
local_ip = 192.168.0.2
local_port = 5000
# 自己的域名,需要 CNAME frp.freefrp.net
custom_domains = nas.yourdomain.com

# https示例
[yourname_https]
type = https
local_ip = 192.168.0.2
local_port = 5001
custom_domains = nas.yourdomain.com

# ssh示例
[yourname_linux_ssh]
type = tcp
local_ip = 192.168.0.3
local_port = 22
remote_port = 22222

# 远程桌面示例
[yourname_windows10_rdp]
type = tcp
local_ip = 192.168.0.4
local_port = 3389
remote_port = 33333

- 阅读剩余部分 -