diff --git a/ssh-tunnel-manager.sh b/ssh-tunnel-manager.sh index 0994e4198d28e8ef86d77615a96efd7c8120d3c3..9d7c4dbbbe8e27001b17e8099aae0f77da26b489 100755 --- a/ssh-tunnel-manager.sh +++ b/ssh-tunnel-manager.sh @@ -30,6 +30,16 @@ version=0.6.7 # "-p 1234 username@host2.example.com -L 10002:127.0.0.1:3306 -L 10012:127.0.0.1:27017" #) +# +# The SOCKETS array is used to configure sockets forwarded by individual +# ports. Each forwarded socket must be removed before it can be forwarded +# again, which this handles. +# +#SOCKETS=( +# "" +# "" +#) + # # The RECONNECT_TIMER is used in case of a tunnel connection to be lost. After # the script is detecting that the connection was lost, the time defined the