Go Job Hunting at the LQ Job Marketplace
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 10-25-2001, 04:01 PM   #1
LQ Newbie
Registered: Jun 2001
Posts: 3

Rep: Reputation: 0
iptables - advanced port blocking/stealth mode

Hi guys,

I used to use ipchains (2.2.x kernel) and had ip masq rules setup (for sharing my cable modem onto my lan). I then upgraded to the latest Slackware version (8 i think) and installed kernel 2.4.x and then noticed i needed to use iptables.

I have iptables setup to do basic ipmasq, but I haven't been able to find any info of howto secure it (i.e. get all my crappy ports reporting stealth on steve gibsons shields up site). Does anyone have/know of any info on iptables configuration???

Old 10-26-2001, 06:21 AM   #2
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31

try playing with.

iptables -A INPUT -p tcp ! --syn -m state --state NEW -j LOG --log-prefix "New not syn:"
iptables -A INPUT -p tcp ! --syn -m state --state NEW -j DROP

Go to the following links for the info your looking for.



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
Stealth iptables ruleset Mux Linux - Security 10 02-21-2007 03:54 AM
opening port (blocking mode) novice_din Programming 2 02-17-2005 09:36 PM
Running linux in stealth mode mrpc_cambodia Red Hat 0 11-15-2004 08:53 PM
Question about port blocking with Iptables GUIPenguin Linux - Networking 2 10-11-2004 07:25 PM
IPTables in Stealth mode bentman78 Linux - Networking 1 04-06-2004 04:43 PM

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