LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-26-2004, 10:43 AM   #1
fedenini
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
SSH behind a firewall


Wel....it goes like this:

I have two computers at home, one sharing the conection to internet (Windows XP with Firewall activated) and another one with Slackware10 Linux with the SSH server.
I would like to connect from university or other places trough SSH to my Linux machine, but obviously the petition goes through the Windows machine first.

After having read some articles and stuff about NAT firewalls and port-forwarding I activated the port 22 in the Windows Firewall to be redirected to my Linux machine but when I make any kind of petition I just get "connection refused" error.
After reading more stuff I think the problem may be with my Linux machine because I have done everything possible with that firewall to activate 22 port.

Any suggestions on how to get it?
 
Old 08-26-2004, 11:03 AM   #2
barisdemiray
Member
 
Registered: Sep 2003
Location: Ankara/Turkey
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
May be you should post your firewall rules on your Linux box.. Can you connect to your Linux box via SSH from your windows box? If no, then there is a blocking rule in your Linux box' firewall configuration; if yes then the problem is in your windows firewall's port forwarding configuration.
 
Old 08-26-2004, 11:14 AM   #3
fedenini
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Using 192.168.0.2:22 I can connect but if I try to use 200.116.xxx.xxx I get the refused connection, so the problem might be in Windows? Anything to do?
 
Old 08-26-2004, 11:24 AM   #4
barisdemiray
Member
 
Registered: Sep 2003
Location: Ankara/Turkey
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Then i think problem is in windows box. You can use `tcpdump' in your Linux box and analize the packets (port number, destination and source IP, for example) related with SSH to see if there is any traffic coming from your windows box.
 
Old 08-26-2004, 11:57 AM   #5
fedenini
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
After a grep of a big dump I found nothing about ssh, I better try to wrestle with windows and get something out of it, thanks anyway!
 
  


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
SSH behind firewall kamransoomro84 Linux - General 9 06-22-2009 11:32 PM
ssh firewall sanjibgupta Linux - Security 1 09-23-2005 09:59 AM
SSH through a firewall 09kevin77 Linux - Security 13 06-04-2005 08:21 AM
ssh firewall jumbled Linux - Security 6 04-11-2005 09:01 AM
Ssh behind a firewall muneebs Linux - Newbie 3 02-03-2005 07:36 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration