LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 01-05-2003, 03:43 PM   #1
Tricky
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 192.168.0.1 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 06:25 PM.
 
Old 01-05-2003, 07:02 PM   #2
mcleodnine
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 (tldp.org 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, 07:14 PM   #3
seabass55
Member
 
Registered: Jan 2003
Location: 127.0.0.1
Distribution: Fedora&Gentoo
Posts: 207

Rep: Reputation: 30
I toyed around with firestarter a few days ago http://firestarter.sourceforge.net/

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

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

Original Poster
Rep: Reputation: 0
yeh

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


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH Port Forwarding wwnexc Linux - Networking 4 09-29-2005 01:26 AM
SSH Port forwarding WRSpithead Linux - Networking 1 04-18-2005 04:09 AM
Port forwarding for ssh Adriaan Linux - Networking 1 03-08-2004 09:11 AM
Ssh port forwarding? J_Szucs Linux - Networking 1 10-29-2003 04:42 AM
SSH port forwarding tarballedtux Linux - Networking 2 05-29-2002 07:16 PM


All times are GMT -5. The time now is 03:02 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