• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

s.2.u firewall v2.1 for xenforo

Admin

Well-Known Member
Staff member
Administrator
Đầu tiên các bạn download vầ máy mở s2u.firewall_config.php lên thay

PHP:
$config['s2u_fw1_domain_allow']=array(

    'http://yeudidong.com',

    'http://www.yeudidong.com'

);

Bằng domain của bạn

PHP:
//Mã PublicKey khi đăng kí ở http://www.google.com/recaptcha. Để trống tương đương với không dùng tính năng tự unlock bằng captcha.

$config['s2u_fw1_captcha_public_key']='6Lc1f8sSAAAAACnxQOs_cU8JhIP6S_V3XuZKQbz4';

//Mã PrivateKey khi đăng kí ở http://www.google.com/recaptcha. Để trống tương đương với không dùng tính năng tự unlock bằng captcha.

$config['s2u_fw1_captcha_private_key']='6Lc1f8sSAAAAAPTS_5-6szubrEIsJ6ftDLf4y-0R';

Thay public key và privatekey lấy ở reCAPTCHA: Stop Spam, Read Books
Thay

Code:
//Email để thông báo cho người bị khóa liên hệ.

$config['s2u_fw_email_admin']='dinhtiepnb2012@gmail.com';

Băng email của bạn

Tiếp các bạn upload tất cả thư mục s2u firewall v2.1 lên root website

Chạy domain.com/s2u.firewall_install.php

OK . Giờ mở

library/XenForo/Autoloader.php

Tìm

PHP:
define('XENFORO_AUTOLOADER_SETUP', true);

Thêm vào dưới nó

PHP:
if(file_exists('s2u.firewall_system.php')){require_once('s2u.firewall_system.php');}

OK. Mở file .htaccess lên thay toàn bộ .htaccess bằng code dưới

# Mod_security can interfere with uploading of content such as attachments. If you

# cannot attach files, remove the "#" from the lines below.

#<IfModule mod_security.c>

# SecFilterEngine Off

# SecFilterScanPOST Off

#</IfModule>

ErrorDocument 401 /s2u.firewall_until/401.shtml

ErrorDocument 400 /s2u.firewall_until/400.shtml

ErrorDocument 403 /s2u.firewall_until/403.shtml

ErrorDocument 404 /s2u.firewall_until/404.shtml

ErrorDocument 500 /s2u.firewall_until/500.shtml

ErrorDocument 508 /s2u.firewall_until/508.shtml

<IfModule mod_rewrite.c>

RewriteEngine On

# If you are having problems with the rewrite rules, remove the "#" from the

# line that begins "RewriteBase" below. You will also have to change the path

# of the rewrite to reflect the path to your XenForo installation.

#RewriteBase /xenforo

# This line may be needed to enable WebDAV editing with PHP as a CGI.

#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_FILENAME} -f [OR]

RewriteCond %{REQUEST_FILENAME} -l [OR]

RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]

RewriteRule ^.*$ index.php [NC,L]

</IfModule>

Options All -Indexes

DirectoryIndex index.html index.php

Options All -Indexes

DirectoryIndex index.html index.php

Xong rồi đó. Vào lại website rồi vào thư mục s2u.firewall_logs xem nó có ghi lại IP không, nếu có ghi thì thành công rồi đó :D
[down]Download tuoitreit.vn_s2u_firewall_v2.1.zip (91.9kb)[/down]
 
Dnp Firewall cho xf đó em
 

Facebook Comments

Similar threads
Thread starter Title Forum Replies Date
Admin Hướng dẫn sửa lỗi security token từ Firewall Protection Gateway Lite v0.4 Vbb tutorial 0
Myshare Share DnP Firewall V1.4 cho VBB : Chống tấn công DoS / Spam / Bots cho diễn đàn bạn Vbb tutorial 0
Admin Cài đặt tường lửa InV-Firewall Script cho diễn đàn bạn [IPB / phpBB /vBulletin] Chống local, attack, symlink, ddos 0
Admin Mod Anti-DDos With Sytem Block for VBB4.x (Firewall) Add-ons 16
Admin [Hướng dẫn] làm file chống DDOS không cần sử dụng firewall Chống local, attack, symlink, ddos 1
N Cho em xin code trang firewall khi vào forum Firewall 5
Admin Thông báo bật Firewall vài phút chống dog cắn chộm Thông báo mới 17
Admin S.2.U Firewall System - Hệ Thống Tường Lửa Chống Ddos Website Hiệu Quả Firewall 13
Admin Spam-O-Matic - Spam Firewall stops forum spam Vbulletin 0
Admin Fix [E_WARNING] inet_pton(): Unrecognized address unknown xenforo 2.2.10 Xenforo 0
V Giới hạn dung lượng ảnh tải lên trong Xenforo 2 Xenforo 0
V Hướng dẫn tạo logo giống Xenforo Xenforo 4
V Help Tiện ích thống kê bài viết cho Xenforo 2 Xenforo 0
hungdanchoi5 Forum Xenforo Thảo luận chung 1
Admin Your profile xenforo Xenforo 0
Admin Member Watch xenforo Xenforo 0
@kiss@ xin giúp đỡ về xenforo Hỗ trợ sử dụng diễn đàn 1
Admin Pro Black Xenforo 2 Xenforo 0
olalavui Hướng dẫn Enable User-ID tracking in Google Analytics for Xenforo Xenforo 3
Admin A2soft-pics - (A2)Upload Postimages picture xenforo 2 Xenforo 0
Admin Disable email and password edit xenforo 2 Xenforo 0
Admin Object Storage Adapter xenforo 2 Xenforo 0
cuongpro9x Share Tích hợp toàn bộ sticker xịn của zalo vào xenforo Xenforo 0
Admin Xenforo 2 - Random Ads Code Xenforo 0
Admin Quick Theme Switcher xenforo 2 Xenforo 0
Admin [AP] Member Bars xenforo 2 Xenforo 0
Admin Scroll Progress Xenforo 2 Xenforo 0
Admin Mocha Style xenforo 2 Xenforo 0
Admin German language - translation for XenForo 2.2.1 Xenforo 0
Admin [MMO] Navigation tab icons xenforo 2 Xenforo 0
Admin Hide Sidebar xenforo 2 Xenforo 0
Admin Media Gallery Advertisement Positions Xenforo 2 Xenforo 0
Admin Hướng dẫn xóa sổ hoàn toàn ký tự Nokia S40 cho Xenforo 2 - Remove all nokia s40 characters for xenforo 2 Xenforo 0
Admin Default Style Grey xenforo 1.x Xenforo 0
Admin Thread Prefix Colors xenforo 2 Xenforo 0
Admin Customising the layout with custom user fields xenforo 2 Xenforo 0
tiendiendev Hỏi Dùng xenforo bản bao nhiều là ổn định? Xenforo 2
Admin Remove the name and creation date under the thread title xenforo 2 Xenforo 0
Admin Remove little border on tab menu when scrolling xenforo 2 Xenforo 0
Admin XenForo 2.1.12 Released (Security Fix) Xenforo 0
Admin XenForo 2.2.1 Released (Includes Security Fix) Xenforo 0
Admin XenForo Importers XF2 Xenforo 0
Admin TUOITREIT Add Alt Images Resource Xenforo 2 Xenforo 2.x Premium 0
Admin TUOITREIT Add Alt Text To Images Xenforo 2 Xenforo 2.x Premium 0
Admin Similar threads xenforo 2 Xenforo 0
Admin Hướng dẫn tạo nút like (reaction) xenforo 2 gif động giống Facebook - Reaction xenforo 2 gif animation same Facebook Xenforo 0
Admin Hướng dẫn thay đổi tiêu đề hàng loạt cho xenforo - Replace title for xenforo with command line Xenforo 0
Admin Russian Language for XenForo Importers Xenforo 0
Admin Russian Language for XenForo Enhanced Search Xenforo 0
Admin Russian Language for XenForo Resource Manager Xenforo 0

Similar threads

New posts New threads New resources

Back
Top