Skip to contentSkip to conversation

block all trafic from input

DISCUSSION Kashif Ali Bukhari 5 participants 5 messages Apr 23, 2005 – Apr 24, 2005

lore
Share & tools
lore
#0 lore raw

how can i block all inbond access to my linux box

Signature · 6 lines
Syed Kashif Ali Bukhari
Network Associate Asia Net
Cell :- +92-300-4018407 , +92-300-4295604
Ph +92-42-111-111-202 Fax +92-42-5840905
MSN:- [email protected] ; [email protected]
http://asia.net.pk , http://asiatec.biz
#1 lore raw
Quoted 5 lines · Kashif Ali Bukhari

how can i block all inbond access to my linux box

Try this...

iptables -P INPUT DROP

#2 lore raw
Quoted 1 line

iptables -P INPUT DROP

Don't do it from an SSH session though. You will regret that if you don't have any prior rules to allow you back in.

Grant. . . .

#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · Taylor Grant
Quoted 1 line

iptables -P INPUT DROP

Don't do it from an SSH session though. You will regret that if you don't have any prior rules to allow you back in.

Though it will prevent them from making any other mistakes that could be catostrophic <smirk>!

Thanks,

Ron DuFresne
- -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
admin & senior security consultant: sysinfo.com
http://sysinfo.com
Key fingerprint = 9401 4B13 B918 164C 647A E838 B2DF AFCC 94B0 6629

...We waste time looking for the perfect lover
instead of creating the perfect love.

-Tom Robbins <Still Life With Woodpecker>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCapBEst+vzJSwZikRAj2vAKDGrxUf06QDfg/64v62vxnD7lU1DACgvXkj yNtEYchcdSl/DZMGL6NBHX0=
=oWJ/
-----END PGP SIGNATURE-----

#4 lore raw
Quoted 8 lines · R. DuFresne
Quoted 4 lines · Taylor Grant
Quoted 1 line

iptables -P INPUT DROP

Don't do it from an SSH session though. You will regret that if you don't have any prior rules to allow you back in.

Though it will prevent them from making any other mistakes that could be catostrophic <smirk>!

Ahh the glory of *nix:

Here is fully loaded, automatic weapon. Note that it is cocked and pointed
at yer foot.

	*BANG*

	What foot?
Quoted 4 lines

Thanks,

Ron DuFresne