teamon

  • Archive
  • RSS
  • Ask me anything

SSH tunels with iChat and Colloquy

University`s internet connection sucks. The only open ports are 22,80 and 433. I wanted to have access to jabber and IRC but those ports are blocked. Solution? - SSH tunnels and some scripting to switching it on and off quickly. (This is just setup for iChat and Colloquy, not a ssh-tunnels tutorial!

Requirements

All you need is server with ssh on port 22.

Setup

iChat

I created two accounts in iChat with the same login but different server settings.

First one has localhost and port 8000, and other one with MY_REAL_JABBER_HOST and MY_REAL_JABBER_PORT.

Colloquy

Again, I created two connections.

One for localhost and port 7000, and second for irc.freenode.net and 6667. (You can use any server you want)

Scripting

You need to set up ssh tunnels. I do it with

And the last one - AppleScript.

Just save those files as enable-tunels.app and disable-tunels.app and you`ll have quick access to them via spotlight.

    • #mac
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

Recent comments

Blog comments powered by Disqus
← Previous • Next →

About

Ruby, Scala and others.

Pages

  • About
  • Projects
  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr