vpn tls port on mesh
This commit is contained in:
parent
c2aa4d210d
commit
62bea42aca
|
@ -41,7 +41,6 @@ VPN_LOCATION="Freedomville"
|
|||
VPN_ORGANISATION="Freedombone"
|
||||
VPN_UNIT="Freedombone Unit"
|
||||
STUNNEL_PORT=3439
|
||||
VPN_TLS_PORT=553
|
||||
VPN_MESH_TLS_PORT=653
|
||||
|
||||
function vpn_generate_keys {
|
||||
|
@ -154,7 +153,7 @@ function mesh_setup_vpn {
|
|||
|
||||
if [ -f vpn.tar.gz ]; then
|
||||
dialog --title $"Generate VPN client keys" \
|
||||
--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
|
||||
--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
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -162,7 +161,7 @@ function connect_to_vpn {
|
|||
dialog --title $"VPN Connect to another mesh network" \
|
||||
--backtitle $"Freedombone Mesh" \
|
||||
--defaultno \
|
||||
--yesno $"\nHave you received the vpn.tar.gz file from the other mesh administrator and uncompressed it into the /home/fbone directory?" 10 70
|
||||
--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
|
||||
sel=$?
|
||||
case $sel in
|
||||
1) return;;
|
||||
|
|
Loading…
Reference in New Issue