LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 05-07-2004, 01:36 PM   #1
hannes5020
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
Local Firewall Redhat 9?


Hello ,


yesterday i got a rootkit so today i want to secure my linux file server.

I started setup and then firewall configuration but it doesn´t work.
So my question is how can i tell redhat 9 - i want 2 open ports on this maschine it´´s 22 ssh and 2223 for my console
when i use the setup programm in the shell it doesn´t write anything.
Can anybody help me ?

john
 
Old 05-07-2004, 08:56 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
Re: Local Firewall Redhat 9?

yesterday i got a rootkit
Sorry to hear that. I hope that you did a complete wipe, format, and re-installation from trusted media.

i want to secure my linux file server.
Good. Doing it correctly the first time will save you the hastle of rebuilding it again.


So my question is how can i tell redhat 9 - i want 2 open ports on this machine it´´s 22 ssh and 2223 for my console
Use the following general format to open up ports:
iptables -I INPUT -p tcp -dport XXX - j ACCEPT

where XXX is the port you want to open. Though I would recommend limiting access only those IPs which you need to allow connections from (if that is at all feasible). If you don' t mind me asking. what are you planing using port 2223 for?
 
  


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
router/firewall can't use local network zoffmann Linux - Networking 13 07-02-2005 01:53 PM
Suse 9.2 firewall prevents 'ping' on local network? Steerpike Suse/Novell 5 11-27-2004 05:56 PM
Suse 9.0 Firewall not allowing local access gSalsero Linux - Security 3 04-19-2004 09:24 PM
troubleshooting nfs/can't ping local while firewall enabled toastermaker Linux - Newbie 18 11-28-2003 10:34 PM
Problems gettting to local network after setting firewall vendemmian Linux - Networking 0 05-21-2001 11:34 AM


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