LinuxQuestions.org
Register a domain and help support LQ
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 01-07-2008, 07:09 PM   #16
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371

Quote:
Originally Posted by Uncle_Theodore View Post
The last rule can be replaced with setting the OUTPUT policy to DROP, which is somewhat preferred way...
I think that until he becomes more familiar with iptables he should keep it at ACCEPT. There's less chance of him getting locked-out with an accidental flush of the chain, and plus it's not like you can't have your chain just as tight with the proper rules. I agree that setting it to DROP is optimal, but I think he should wait on that. Being able to flush the OUTPUT chain without having to worry about a lock-out is kinda nice when one is learning the basics - especially when one is working remotely.
 
Old 01-07-2008, 08:29 PM   #17
cizzi
Member
 
Registered: Jun 2001
Distribution: Gentoo
Posts: 140

Original Poster
Rep: Reputation: 18
Thanks now I have a basic understand of iptables to get started with.
 
  


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
How to prevent root user from logging into ssh linuxjamil Linux - Server 2 10-08-2007 07:10 PM
[ssh client]prevent to connect on every port exept one oudoubah Linux - Security 6 06-29-2007 12:48 PM
SSH Tunnel Through 2 machines? philosophia Linux - Newbie 3 06-25-2007 05:13 PM
How do I block IP's to prevent unauthorized SSH login attempts? leofoxx Linux - Security 6 05-23-2005 10:36 PM
Prevent Root access with SSH rshooper Linux - Security 4 11-18-2004 02:05 PM


All times are GMT -5. The time now is 09:43 PM.

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