Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-14-2005, 09:53 PM   #1
Registered: Jan 2005
Distribution: Gentoo
Posts: 111

Rep: Reputation: 16
SSH port forwarding through a firewall

Howdy all!

Basically I want to get through a firewall that is blocking the IRC port (6667) so that I can use IRC. I'm on an internal network and I have somebody with a static IP on the outside of the network who has given me a loggin on his computer.

My idea is simply to forward all the 6667 port traffic on my internal PC (call it 'intern') to some not-so-blocked port like 1080 through the firewall to the external PC (call it 'extern'). Then I need extern to take the 1080 traffic coming from intern and simply forward it to port 6667.

I've been trying different things with SSH and all but I don't think I understand it well enough. Is there anybody that could just help me get started with this? I feel kind of stupid for asking but I think I should just ask and let some network guru out there show his stuff.

Thanks in advance.

-- the dudemaN DavE
Old 07-14-2005, 11:29 PM   #2
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If you can get into ssh on his machine, just do this:
ssh -L6667:irc.server.of.your.choice:6667 username@hishost


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Port Forwarding Firewall - not forwarding MadTurki Linux - Security 14 04-09-2006 12:08 PM
SSH Port Forwarding wwnexc Linux - Networking 4 09-29-2005 01:26 AM
SSH port forwarding thru a NAT Firewall whoever Linux - Networking 3 07-29-2005 03:24 AM
SSH Port forwarding WRSpithead Linux - Networking 1 04-18-2005 04:09 AM
firewall port forwarding manthram Linux - Networking 0 04-01-2002 07:08 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration