Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 01-07-2008, 06:09 PM   #16
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376

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, 07:29 PM   #17
Registered: Jun 2001
Distribution: Gentoo
Posts: 144

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


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

All times are GMT -5. The time now is 08:55 PM.

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