ittun 在虚拟机中配置使用

来源:互联网 发布:自己制作名片软件 编辑:程序博客网 时间:2024/06/11 09:19

1.登录 官网http://www.ittun.com/选择下载合适的版本

   我的系统是centos6.4

  wget http://www.ittun.com/upload/17.4/linux64.zip

  解压unzip linux

2.文件权限

    chmod -R 777 linux64

3.配置文件修改

server_addr: "ittun.com:36415"
inspect_addr: 192.168.1.142:4040
tunnels:
    ssh:
       remote_port: 51001
       proto:
         tcp: ":22"
    web:
     subdomain: test
     root: "html/"
     proto:
       http: ":8080"
    web2:
     hostname: pimwx2
     root: "D:/java/nginx-1.0.11/html"
     proto:
       http: ":80"