irssi through an ssh tunnel

Using irssi on your local desktop to connect to an IRC server behind a firewall is easy using an ssh tunnel, providing you have ssh access through the firewall.

First open the ssh tunnel:

ssh -L 6667:irc_server:6667

Then in another terminal on your local machine, type:

irssi -c localhost

irssi will connect to localhost on port 6667 – expecting to find an IRC server, ssh will redirect the localhost:6667 connection to irc_server:6667 through the ssh tunnel.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: