This Port Forward configuration example will use the example of connecting an Android mail client to a mail server, via a SSH server. Please adjust addresses and ports to suit your needs.
- A Pro license for JuiceSSH, enabling Port Forwarding functionality.
- A mail client on your Android device which can be pointed to custom addresses and ports.
- An SSH server named ssh.mydomain.com which is listening on port 22.
- A mail server named mail.mydomain.com which is listening on port 110.
- Create your SSH Connection
- In the full connection list, hit New Connection.
- Enter the address ssh.mydomain.com.
- Ensure the connection has a valid Identity containing a username and a password or private key.
- Add a nickname and assign the connection to groups if you wish.
- Hit Save, and test that your new connection connects successfully.
- Create your Port Forward Profile
- From the full connection list, swipe left and hit New Port Forward.
- Enter the following details:
- Name: Mail Tunnel
- Connection: ssh.mydomain.com (or nickname)
- Mode: Local
- Port (from): 5000 (or any other locally available port between 1024-65535)
- Destination: mail.mydomain.com
- Port (to): 110
- Open in browser after connecting: no
- Hit Save
- Make it accessible, if desired, by adding a home screen shortcut (long press item in list) or the JuiceSSH widget.
- Activate the profile and check for the active profile's notification.
- Point your mail client to localhost on port 5000.
- When finished, use the notification, home screen widget/shortcut or full port forward list to disable the profile again.