<https://airvpn.org/forums/topic/24349-how-to-airvpn-via-sslstunnel-on-android-678/#comment-68548>
<http://schema.org/text>
"I think I know why: You're calling /bin/bash which likely does not exist on your phone. The shebang line (#!/bin/bash) is not necessary here, just leave it out. I've created a quick tutorial for Termux:Widget, including a small video, please try it out and compare it to your approach:   Termux:Widget usage   The following steps assume that you have successfully followed the main tutorial. Instead of manually typing the two commands necessary to launch stunnel, we can do the same with a script. A script is nothing more than a text file that contains the commands we need to run.   Here is a video on Vimeo that demonstrates steps 3 to 6.   1. Create a text file with the following contents. Please adjust the second line to whatever server you happen to be using! For this tutorial, I'll be using the server BE-Brussels_Capricornus: \ncd storage/shared/AirVPN\nstunnel AirVPN_BE-Brussels_Capricornus_SSL-443.ssl\n2. Save the file; choose whatever file name you want, but make sure you use the .sh file extension. For this tutorial, I'll name the file: \ncapricornus.sh\nPut your file into the AirVPN folder on your phone (the same folder you have already been using for the main tutorial).   3. Open Termux and run: \ncd\nThis makes sure we are in stunnel's home directory. Now run: \nmkdir .shortcuts\nThis will create a (hidden) folder that is required for Termux:Widget. That's where we need to copy our script to: \ncp storage/shared/AirVPN/capricornus.sh .shortcuts\n4. Leave Termux. Now install Termux:Widget from your preferred app store (FDroid or Google Play)   5. On your phone's home screen, enter your widget/wallpaper settings by long-pressing on a free spot on your home screen. Tap the WIDGETS button and find the Termux:Widget item. Drag one of the Termux:Widget items onto your home screen. For this tutorial, I'll use the \"All shortcuts 2x2\" option.   6. You should now see your script listed within that new widget on your home screen. Tap on your script to run it. 7. You can add and use as many .sh scripts for different stunnel connections as you like, as long as you also create/generate the corresponding .ovpn and .ssl files. "
<https://airvpn.org/forums/topic/24349-how-to-airvpn-via-sslstunnel-on-android-678/?tab=comments#comment-68548>