<https://airvpn.org/forums/topic/24349-how-to-airvpn-via-sslstunnel-on-android-678/#comment-68733>
<http://schema.org/text>
"Thanks, sheivoko! Big help to start work. I want to suggest You a few additions for more Security and Ease of Use (EoU).   Security:(Add:In2:3/3) Move work files *.ssl and stunnel.crt into Termux home (cd ~/; -&gt;/data/data/com.termux/files/home/ - private Termux app data area, When OpenVPN import the *.ovpn - its saved into private OpenVPN app data area too)\t\ncd storage/shared/AirVPN\nmkdir ~/st\ncp -r *.ssl stunnel.crt ~/st/\t \tEoU:(Add:In2:6/7) Create:\tinto Termux home (~/) file \".bash_profile\":\t\nalias st1=\". ~/st/1\"\nalias st2=\". ~/st/2\"\nalias kist='killall stunnel'\n. ~/st/sthlp\nst1\n\tinto ~/st/ file \"sthlp\": \t\necho -e \"For Stop(Kill) any/all of stunnels: Type kist &amp; Press enter\"\necho -e \"For (Re)Start stunnel: Type (st1 OR st2) &amp; Press enter\"\necho -e \"For Stop Termux: Type exit &amp; Press enter twice\" \t  \tinto ~/st/ file \"1\": \t\nkillall stunnel\ncd ~/st\n. ~/st/sthlp\nstunnel AirVPN_BE-Brussels_Capricornus_SSL-443.ssl\ncd\n\tmay be into ~/st/ file \"2\": \t\nkillall stunnel\ncd ~/st\n. ~/st/sthlp\nstunnel AirVPN_SG-Singapore_Reticulum_SSL-443.ssl\ncd\n\tAs result - at the next start Termux stunnel will run automatically (in this case - AirVPN_BE-Brussels_Capricornus_SSL-443.ssl). If we commented \"foreground = yes\" into *.ssl then we will be able to stop(any), to restart and choose which *.ssl used (If foreground = no OR absent then we may be need add options log = overwrite and output = st1.log).\t \t(Add:In2:7/7 &amp; 3/3) I think we can combine the additions 1.&amp;2. by creating a folder \"AirVPN/st/\" with files: stunnel.crt, changed (*.ssl) and created (.bash_profile,1, 2, sthlp, ...). After \"transfer the AirVPN folder to your phone's sdcard / main storage directory\" &amp; install termux with stunnel we can\t\ncp -r storage/shared/AirVPN/st ~/\ncp ~/st/.bash_profile ~/\n. ~/.bash_profile\t\tand use (st1, st2, kist, etc.) as command w/o restart Termux.\t\t "
<https://airvpn.org/forums/topic/24349-how-to-airvpn-via-sslstunnel-on-android-678/?tab=comments#comment-68548>