ကြ်န္ေတာ္အဂုတင္ျပဖို႔ေစာ္က Server တိကနိန္ျပီးေက Website တိ၊ မၾကည္႔စီခ်င္ေရ ႏိုင္ငံေရးဆိုဒ္တိ၊ IP Address တိကို ဇာပိုင္ BAN လဲဆိုေစာ္ပါ။ ယေကလဲ ေအာက္ကျပထားေစာ္တိက Linux OS ကိုသုံးဖူးေရလူ၊ မဟုတ္ေက Command Line ကို သုံးဖူးေရလူတိရာ နားလည္ဖို႔လို႔ထင္ပါေယ။ ဇာပဲျဖိဳက္ျဖိဳက္ ဗဟုသုတရေအာင္တင္ပီးလိုက္ေစာ္ပါ။ မ်ားေသာအားျဖင္႔ Server တိမွာက Linux ကို သုံးေစာ္မ်ားပါေယ။ သူ႔ေကာင္းက်ိဳးက Virus မ Run ႏိုင္ပါ။ အဲ...ကြ်န္ေတာ္လဲ ေကာင္းေကာင္းေတာ႔နားမလည္သိပါ။ ကြ်န္ေတာ္ေလ႔လာနိန္ေရ အထဲက တြိေစာ္ကို ေဖာက္သည္ခ်ပီးလိုက္ေစာ္ပါယာ။
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
ျပည္ၾကီးဘလင္႔ခ္
No comments:
Post a Comment