Bladeren bron

vpn tls port on mesh

Bob Mottram 7 jaren geleden
bovenliggende
commit
62bea42aca
1 gewijzigde bestanden met toevoegingen van 2 en 3 verwijderingen
  1. 2
    3
      src/freedombone-mesh-connect

+ 2
- 3
src/freedombone-mesh-connect Bestand weergeven

41
 VPN_ORGANISATION="Freedombone"
41
 VPN_ORGANISATION="Freedombone"
42
 VPN_UNIT="Freedombone Unit"
42
 VPN_UNIT="Freedombone Unit"
43
 STUNNEL_PORT=3439
43
 STUNNEL_PORT=3439
44
-VPN_TLS_PORT=553
45
 VPN_MESH_TLS_PORT=653
44
 VPN_MESH_TLS_PORT=653
46
 
45
 
47
 function vpn_generate_keys {
46
 function vpn_generate_keys {
154
 
153
 
155
     if [ -f vpn.tar.gz ]; then
154
     if [ -f vpn.tar.gz ]; then
156
         dialog --title $"Generate VPN client keys" \
155
         dialog --title $"Generate VPN client keys" \
157
-               --msgbox $"\nNew VPN client keys have been generated in the /home/fbone directory.\n\nYou can find it by selecting \"Places\" then \"Home Directory\" on the top menu bar. Transmit the vpn.tar.gz file to whoever is running the other mesh network so that they can connect to yours.\n\nThey should uncompress vpn.tar.gz to their /home/fbone directory, then connect using your IP address or domain name." 15 70
156
+               --msgbox $"\nNew VPN client keys have been generated in the /home/fbone directory.\n\nYou can find it by selecting \"Places\" then \"Home Directory\" on the top menu bar. Transmit the vpn.tar.gz file to whoever is running the other mesh network so that they can connect to yours.\n\nThey should uncompress vpn.tar.gz to their /home/fbone directory, forward port $VPN_MESH_TLS_PORT then connect using your IP address or domain name." 15 70
158
     fi
157
     fi
159
 }
158
 }
160
 
159
 
162
     dialog --title $"VPN Connect to another mesh network" \
161
     dialog --title $"VPN Connect to another mesh network" \
163
            --backtitle $"Freedombone Mesh" \
162
            --backtitle $"Freedombone Mesh" \
164
            --defaultno \
163
            --defaultno \
165
-           --yesno $"\nHave you received the vpn.tar.gz file from the other mesh administrator and uncompressed it into the /home/fbone directory?" 10 70
164
+           --yesno $"\nHave you received the vpn.tar.gz file from the other mesh administrator, uncompressed it into the /home/fbone directory and also forwarded port $VPN_MESH_TLS_PORT from your internet router to this system?" 10 70
166
     sel=$?
165
     sel=$?
167
     case $sel in
166
     case $sel in
168
         1) return;;
167
         1) return;;