|
@@ -46,6 +46,7 @@ VPN_ORGANISATION="Freedombone"
|
46
|
46
|
VPN_UNIT="Freedombone Unit"
|
47
|
47
|
STUNNEL_PORT=3439
|
48
|
48
|
VPN_TLS_PORT=553
|
|
49
|
+VPN_MESH_TLS_PORT=653
|
49
|
50
|
|
50
|
51
|
vpn_variables=(MY_EMAIL_ADDRESS
|
51
|
52
|
DEFAULT_DOMAIN_NAME
|
|
@@ -504,6 +505,7 @@ function install_stunnel {
|
504
|
505
|
if [ $rootdir ]; then
|
505
|
506
|
prefix=$rootdir
|
506
|
507
|
prefixchroot="chroot $rootdir"
|
|
508
|
+ VPN_TLS_PORT=$VPN_MESH_TLS_PORT
|
507
|
509
|
fi
|
508
|
510
|
|
509
|
511
|
$prefixchroot apt-get -yq install stunnel4
|
|
@@ -634,6 +636,7 @@ function install_vpn {
|
634
|
636
|
if [ $rootdir ]; then
|
635
|
637
|
prefix=$rootdir
|
636
|
638
|
prefixchroot="chroot $rootdir"
|
|
639
|
+ VPN_TLS_PORT=$VPN_MESH_TLS_PORT
|
637
|
640
|
fi
|
638
|
641
|
$prefixchroot apt-get -yq install fastd openvpn easy-rsa
|
639
|
642
|
|