block all trafic from input
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
Quoted 5 lines · Kashif Ali Bukhari
how can i block all inbond access to my linux box
Try this...
iptables -P INPUT DROP
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. . . .
-----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-----
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