[量子互联] 内网穿透之linux、openwrt安装方法

一、安装内网客户端软件

1 打开du.nsloop.com注册帐号并登录。

2 下载ssh软件 https://www.nsloop.com/download/putty.rar ,并连接服务器,安装内网软件。

linux 版本的程序下载地址

  1. x86 32位平台
  2. https://www.nsloop.com/download/nattunnel.linux.386/nattunnel
  3.  
  4. x86 64位平台
  5. https://www.nsloop.com/download/nattunnel.linux.amd64/nattunnel
  6.  
  7. arm 32位平台
  8. https://www.nsloop.com/download/nattunnel.linux.arm/nattunnel
  9.  
  10. arm 64位平台
  11. https://www.nsloop.com/download/nattunnel.linux.arm64/nattunnel
  12.  
  13. mips平台
  14. https://www.nsloop.com/download/nattunnel.linux.mips/nattunnel
  15.  
  16. mipsle平台
  17. https://www.nsloop.com/download/nattunnel.linux.mipsle/nattunnel

注意:放入后台执行时,-tsssssssss, ssssssss替换为用户的token,在帐户信息页面查看用户的token。如下图

二、配置开机启动

下面是开机启动的配置,路径和token修改为用户环境下参数

CentOS开机启动
chmod +x /etc/rc.d/rc.local
vi /etc/rc.d/rc.local
nohup /root/nattunnel -t0000000000000 &

Ubuntu开机启动
vi /etc/rc.local
nohup /root/nattunnel -t0000000000000 &

OpenWrt开机启动
vi /etc/rc.local

在exit 0上一行加入
nohup /root/nattunnel -t0000000000000 &

群晖nas 5.x版本开机启动
vi /etc/rc

在exit 0上一行加入
nohup /root/nattunnel -t0000000000000 &

 
原文地址:https://www.cnblogs.com/sding/p/11404271.html