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

Notices


Reply
  Search this Thread
Old 07-14-2005, 10:53 PM   #1
linuxLuser
Member
 
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-15-2005, 12:29 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

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


Reply


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 01:08 PM
SSH Port Forwarding wwnexc Linux - Networking 4 09-29-2005 02:26 AM
SSH port forwarding thru a NAT Firewall whoever Linux - Networking 3 07-29-2005 04:24 AM
SSH Port forwarding WRSpithead Linux - Networking 1 04-18-2005 05:09 AM
firewall port forwarding manthram Linux - Networking 0 04-01-2002 08:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:13 AM.

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