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.

Requirements
  • 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.

Instructions
  1. Create your SSH Connection
    1. In the full connection list, hit New Connection.
    2. Enter the address ssh.mydomain.com.
    3. Ensure the connection has a valid Identity containing a username and a password or private key.
    4. Add a nickname and assign the connection to groups if you wish.
    5. Hit Save, and test that your new connection connects successfully.
  2. Create your Port Forward Profile
    1. From the full connection list, swipe left and hit New Port Forward.
    2. Enter the following details:
      1. Name: Mail Tunnel
      2. Connection: ssh.mydomain.com (or nickname)
      3. Mode: Local
      4. Port (from): 5000 (or any other locally available port between 1024-65535)
      5. Destination: mail.mydomain.com
      6. Port (to): 110
      7. Open in browser after connecting: no
    3. Hit Save
  3. Make it accessible, if desired, by adding a home screen shortcut (long press item in list) or the JuiceSSH widget.
  4. Activate the profile and check for the active profile's notification.
  5. Point your mail client to localhost on port 5000.
  6. When finished, use the notification, home screen widget/shortcut or full port forward list to disable the profile again.