รถเช่า ประเภทต่างๆ
รถเช่า จังหวัด
VPS จะตั้งบล๊อก Baidu จากเครื่องหลักไงครับ
วันที่: 21/10/2013
เวลา: 10:41:26
Block baidu
iptables -A FORWARD -p tcp --dport 80 -d {IP-VPS} -m string --string 'baidu' --algo bm -j DROP
Block bingbot
iptables -A FORWARD -p tcp --dport 80 -d {IP-VPS} -m string --string 'bingbot' --algo bm -j DROP
เฉพาะ VPS แบบ OpenVZ
จะป้องกัน IP ไหนก็แก้ที่ IP-VPS มีกี่ VPS ก็ใส่ทีละบรรทัด
iptables -A FORWARD -p tcp --dport 80 -d {IP-VPS} -m string --string 'baidu' --algo bm -j DROP
Block bingbot
iptables -A FORWARD -p tcp --dport 80 -d {IP-VPS} -m string --string 'bingbot' --algo bm -j DROP
เฉพาะ VPS แบบ OpenVZ
จะป้องกัน IP ไหนก็แก้ที่ IP-VPS มีกี่ VPS ก็ใส่ทีละบรรทัด
ความคิดเห็นทั้งหมด
ยังไม่มีความคิดเห็น มาร่วมแสดงความคิดเห็นเป็นคนแรกสิ!