Skip to content

Instantly share code, notes, and snippets.

@codeRhythm
Last active March 11, 2023 14:57
Show Gist options
  • Save codeRhythm/b4861301983f72a6ea6b4fd1e2aa65c6 to your computer and use it in GitHub Desktop.
Save codeRhythm/b4861301983f72a6ea6b4fd1e2aa65c6 to your computer and use it in GitHub Desktop.
梅林路由器设置反向代理,内网穿透

merlin路由器配置虚拟内存

http://koolshare.cn/thread-42723-1-1.html

注册域名,设置反向代理(需配置虚拟内存)

https://post.smzdm.com/p/566063/

域名管理网站里,添加a记录

在域名网站添加a记录,比如

Type Host Value
A Record home 10.10.31.251

即可把home.yourdomain.com,指向你路由器设定的对应ip和端口。

vps服务器里,安装frps

wget --no-check-certificate https://raw.githubusercontent.com/clangcn/onekey-install-shell/master/frps/install-frps.sh -O ./install-frps.sh
chmod 755 ./install-frps.sh
./install-frps.sh install

梅林路由器,安装插件frpc (client)并配置

具体配置略,配置完成后,即可通过home.yourdomain.com,访问路由器的管理界面了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment