zoukankan      html  css  js  c++  java
  • [量子互联] 内网穿透之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 &

     
  • 相关阅读:
    Codeforces 706B Interesting drink
    hdu 1937 Finding Seats
    poj 2502 Subway
    hdu 1495 非常可乐
    分布式的一些基础知识
    python __new__和__init__
    TCP的time_wait、close_wait状态
    TCP三次握手,四次挥手
    迭代器、生成器
    创建自定义JSR303的验证约束(Creating custom constraints)
  • 原文地址:https://www.cnblogs.com/sding/p/11404271.html
Copyright © 2011-2022 走看看