Visit Jeremy's Blog.
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 01-05-2003, 04:43 PM   #1
LQ Newbie
Registered: Jan 2003
Distribution: Mandrake, Gentoo
Posts: 3

Rep: Reputation: 0
Question ssh and port forwarding with a mandrake 8.2 firewall

Hi, i've passed by alot of posts regarding this matter, but none are specific enough to my problem (or are they?). Please dont laugh, i'm new to linux.

i have a Mandrake 8.2 Firewall that stands between my home LAN and the internet. The internal ip is and it is fully updated.

problem #1 - ssh

i am trying to use PuTTY to open an SSH root session on my firewall. i installed all the packages that have 'ssh' in their name, and when i try to connect, i get a message "Connection closed by remote host." if anyone can shed light on this, it would be helpful.

problem #2 - port forwarding

i would like to use VNC to connect to my Win2k box inside my LAN from school. My friends at school have accomplished this (no firewall) so i know that the problem isn't between the school and my firewall. i know i am supposed to use iptables, but how?

Thanx in advance.

Last edited by Tricky; 01-05-2003 at 07:25 PM.
Old 01-05-2003, 08:02 PM   #2
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Is the 'sshd' daemon running? 'ps -aux | grep sshd'
What port is sshd listening on?
Is your firewall forwarding to port 22 on your internal machine's address?

As for iptables - it's a pretty in-depth topic. You can either start drilling on google for HowTo's ( would be a good start) or have a look at sourceforge for some GUI firewall configuration tools. And yes, of course we can't forget about the man pages.

Drake migh also include packages for iptables configurtation.
Old 01-05-2003, 08:14 PM   #3
Registered: Jan 2003
Distribution: Fedora&Gentoo
Posts: 207

Rep: Reputation: 30
I toyed around with firestarter a few days ago

It's not too bad...I still like the ruleset I wrote better...but it'll get you a pretty decent script up and running....easy to setup port forwarding, denying hosts/ports. Only problem I found is that the program would crash sometimes. The script would stay loaded and do it's thing...but the GUI frontend would lockup and need to be killed. You are still protected even when that happens. Pretty decent little toy. I do like the log analyzer feature built into it (shows you "attacks" on ports real time). It was enough to keep me with it for a few days....but then I had to flush and reload my script :-D

Old 01-06-2003, 08:50 PM   #4
LQ Newbie
Registered: Jan 2003
Distribution: Mandrake, Gentoo
Posts: 3

Original Poster
Rep: Reputation: 0

wow, that firestarter program really fixed my port forwarding problem. thanx


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 Port Forwarding wwnexc Linux - Networking 4 09-29-2005 02:26 AM
SSH Port forwarding WRSpithead Linux - Networking 1 04-18-2005 05:09 AM
Port forwarding for ssh Adriaan Linux - Networking 1 03-08-2004 10:11 AM
Ssh port forwarding? J_Szucs Linux - Networking 1 10-29-2003 05:42 AM
SSH port forwarding tarballedtux Linux - Networking 2 05-29-2002 08:16 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:03 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration