浏览代码

Use port 80

Bob Mottram 8 年前
父节点
当前提交
32906661ab
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1
    1
      src/freedombone-app-tahoelafs
  2. 0
    1
      src/freedombone-client

+ 1
- 1
src/freedombone-app-tahoelafs 查看文件

618
     TAHOELAFS_STORAGE_ONION_HOSTNAME=$(add_onion_service storage-tahoelafs ${TAHOELAFS_STORAGE_PORT} ${TAHOELAFS_STORAGE_ONION_PORT} ${node_nick})
618
     TAHOELAFS_STORAGE_ONION_HOSTNAME=$(add_onion_service storage-tahoelafs ${TAHOELAFS_STORAGE_PORT} ${TAHOELAFS_STORAGE_ONION_PORT} ${node_nick})
619
 
619
 
620
     # create an onion address for client node
620
     # create an onion address for client node
621
-    TAHOELAFS_ONION_HOSTNAME=$(add_onion_service tahoelafs ${TAHOELAFS_PORT} ${TAHOELAFS_ONION_PORT})
621
+    TAHOELAFS_ONION_HOSTNAME=$(add_onion_service tahoelafs 80 ${TAHOELAFS_ONION_PORT})
622
 
622
 
623
     create_tahoelafs_stealth_node /home/tahoelafs/storage /home/tahoelafs/client ${node_nick} ${client_nick}
623
     create_tahoelafs_stealth_node /home/tahoelafs/storage /home/tahoelafs/client ${node_nick} ${client_nick}
624
 
624
 

+ 0
- 1
src/freedombone-client 查看文件

176
             echo '  ServerAliveInterval 60' >> ~/.ssh/config
176
             echo '  ServerAliveInterval 60' >> ~/.ssh/config
177
             echo '  ServerAliveCountMax 3' >> ~/.ssh/config
177
             echo '  ServerAliveCountMax 3' >> ~/.ssh/config
178
 
178
 
179
-
180
             if [[ $ENABLE_MONKEYSPHERE == $'yes' || $ENABLE_MONKEYSPHERE == $'y' ]]; then
179
             if [[ $ENABLE_MONKEYSPHERE == $'yes' || $ENABLE_MONKEYSPHERE == $'y' ]]; then
181
                 echo "  ProxyCommand sh -c 'monkeysphere ssh-proxycommand --no-connect %h %p ; $proxycmd'" >> ~/.ssh/config
180
                 echo "  ProxyCommand sh -c 'monkeysphere ssh-proxycommand --no-connect %h %p ; $proxycmd'" >> ~/.ssh/config
182
             else
181
             else