13:58:40 App restriction version (not set) does not match expected version 1 perhaps ask Air support whether they can confirm that SSH connections work reliably at the moment (regardless of operating system).please try some different servers, different regions.other attempts failed with different errors.I got it to work exactly once (that's not a lot, but at least it proves that it can and should work).I didn't have much time, but during my limited experiments using Linux instead of Android, I saw some similar problems. Iskanda attempt #3: fail (ssh connection refused (ECONNREFUSED) Iskanda attempt #2: fail (ConnectBot opens local port 1412, but no response from VPN server) Iskanda attempt #1: fail (sshtunnel not established, local port 1412 stays closed) I haven't had much time to debug this, but here are my results:Ĭapricornus: fail (sshtunnel not established, local port 1412 stays closed)Īgena: success (I don't think I did anything differently) My Android and software versions are identical to yours. (You have to dive into its settings to enable VPN mode).ĬonnectBot's text output disappears sometimes but I think that's just a glitch, not a problem. I don't have a solution for this potential issue on stock Android, but if you're on a rooted device, you should absolutely consider installing AFWall+ (available in F-Droid).ĪFWall+ allows you to firewall individual apps, restricting their network access to VPN-only. If avoiding network leaks is important to you: be careful on Android, especially on unreliable mobile or WiFi networks that might cause the connection to collapse quite often. disconnect the OpenVPN connection firstġ0. Provided that the SSH connection is still running, OpenVPN will be able to connect. In OpenVPN's main screen, tap the VPN profile to establish the connection. in the ALLOWED APPS tab, find and select ConnectBot to exclude it from OpenVPN's routing Go to "ROUTING" and enable "Use default route". You may want to dive into the new profile's settings, OpenVPN will present you with an "import log", tap the "Save" file to accept. In the "Open from" dialog, choose "File Manager" Leave the ConnectBot app using your "home" button. Go back to ConnectBot's main screen and tap the connection entry to establish a connection. "Add port forward" with the following values:Ĭonfiguration of the SSH connection is now complete. Long-press the new connection again, but this time choose "Edit port forwards". Consider enabling the option "Stay connected". Disable the option "Start shell session" Change "Use pubkey authentication" to "sshtunnel.key". Long-press the newly created connection and choose "Edit host". Cancel the connection, we need to configure it now. It will try to connect and ask you to continue. If the default port 22 is blocked, you can try an alternative port by appending it at the Press Enter on your keyboard. Configure SSH connection in ConnectBotĪt the bottom of the screen, that's the IP we took note of in step 3). ovpn file in a text editor and look for a line that starts with "route", it contains the server's IP - we will need it in step 5. Transfer both of them to your Android's sdcard.Īlso, open the. We only need 2 out of the 3 generated files: Use the AirVPN Generator ( ) to create SSH config files for Linux (not Android). In order to install F-Droid, you may need to temporarily "Allow installation of apps from unknown sources" in Android's security settings. I highly recommend installing all of these apps via F-Droid, a Free Open Source Software platform: CyanogenMod File Manager (or pick any file manager you like) ConnectBot (any advanced SSH client will work, ) FOSS only! (Free and Open Source Software) no proprietary / commercial apps required. Tutorial: SSH-Tunneled VPN on Stock Android
0 Comments
Leave a Reply. |