passwd=password_for_that_tunnel
+
+or invoke the script with those environment variables set:
+
+ env subdomain=xxx passwd=xxx iodine-client-start
+
+If these are not set, the script will query the user for them.
+
DETAILS
The configuration file consists of lines which are either comments
function version
{
- echo iodine-client-start 1.0.1
+ echo iodine-client-start 1.0.3
}
case $# in
echo "${testhost:=slashdot.org}" > /dev/null
## Set if local network should be taken down and then up
-echo "${bounce_localnet:=true}" > /dev/null
+echo "${bounce_localnet:=false}" > /dev/null
## Set for testing network availability via ping at various points
echo "${test_ping_localnet:=true}" > /dev/null
echo ==== Setting default route through DNS tunnel...
## Remove default route via local router
-ip -4 route del default via ${router} || ${continue_on_error}
+ip -4 route del default via ${router} || echo WARNING: No default route to delete
## Add default via tunnel
ip -4 route add default via ${tunnel_remote} || ${continue_on_error}