Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I use a private IRC server that is behind a NAT. Currently, I SSH into a server with a public address and use a command line IRC client in a tmux session to connect to the private server. Is there a way using only android apps to connect to the protected server using an IRC client on the Android phone through an SSH tunnel? I am not rooted but I am also not against rooting.

share|improve this question

migrated from superuser.com Sep 25 '13 at 13:47

This question came from our site for computer enthusiasts and power users.

1 Answer 1

One way to do this:

  1. Run an SSH client on your phone, such as ConnectBot

  2. Forward a local port to the remote IRC server, say localhost port 1234 to irc.server.ip:6666. (Directions for ConnectBot, with screenshots)

  3. Connect your IRC client to localhost:1234, instead of irc.server.ip:6666. If this doesn't work, check that you have permissions.

When your connection's not working, you will have to do some extra debugging to check that the SSH tunnel is still up. But otherwise, you should be able to use any IRC client.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.