အခု ကၽြန္ေတာ္ Server ကေနၿပီးေတာ့ မၾကည့္ေစခ်င္တဲ့ Sites ေတြကို ဘယ္လို BAN လဲဆိုတာကို ေလ့လာမိသေလာက္ ရႊီးလိုက္ပါတယ္ ... :)
အခု ေအာက္မွာ ေဖာ္ျပထားတဲ့ဟာကုိ Linux OS သံုးဖူးတဲ့သူတို႔ Commandline သံုးဖူးတဲ့သူတို႔ကေတာ့ နားလည္ၾကမွာပါ ... ဘာပဲျဖစ္ျဖစ္ေလ ဗဟုသုတ ဆိုၿပီးေတာ့ပဲ တင္ေပးလိုက္တာပါ
:P ဟီး ကၽြန္ေတာ့္ကို ရွင္းမျပခိုင္းၾကနဲ႔ေနာ္ ကၽြန္ေတာ္ နားမလည္ဘူး မသိဘူး
Login to the server
su- root
for ip tables -
iptables -A INPUT -s -j DROP
For APF firewall is installed -
apf -d
after rebooting, the ban will be removed and in case if you have APF, to open the deny host files, type in the following -
pico /etc/apf/deny_hosts.rules
At the bottom, put in the IP address, thereafter save changes.
To restart APF,
/etc/apf/apf -r
ဆိုၿပီး BAN ပါတယ္
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment