Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: iptables & tcp wrappers |
|---|---|
| Date: | Wed, 29 Sep 2004 14:51:47 +0200 |
"iptables -L --line-numbers" will show you the line numbers of the rules. "iptables -A INPUT -p tcp -s ! ONLY_IP_YOU_WANT --dport 22 -j DROP" will block every connection to port 22 except ONLY_IP_YOU_WANT.
and off course, you will need this rule too: "iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT" (keeps your network a little bit cleaner)
-- harry aka Rik Bobbaers
K.U.Leuven - LUDIT -=- Tel: +32 485 52 71 50 Rik.Bobbaers@cc.kuleuven.ac.be -=- http://harry.ulyssis.org
"\x41\x20\x63\x6f\x6d\x70\x75\x74\x65\x72\x20\x77\x69\x74\x68\x6f\x75\x74\x20" "\x57\x69\x6e\x64\x6f\x77\x73\x20\x69\x73\x20\x6c\x69\x6b\x65\x20\x61\x20\x66" "\x69\x73\x68\x20\x77\x69\x74\x68\x6f\x75\x74\x20\x61\x20\x62\x69\x63\x79\x63" "\x6c\x65\x0a\x00"
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: iptables & tcp wrappers, Jan Gerrit Göbel |
|---|---|
| Next by Date: | RE: iptables & tcp wrappers, Whelan, Paul |
| Previous by Thread: | RE: iptables & tcp wrappers, Whelan, Paul |
| Next by Thread: | RE: iptables & tcp wrappers, Bowes, Ronald (EST) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |