<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hướng dẫn cấu hình Firewall Fortigate &#8211; Thegioifirewall</title>
	<atom:link href="https://thegioifirewall.com/category/huong-dan-cau-hinh-firewall-fortigate/feed/" rel="self" type="application/rss+xml" />
	<link>https://thegioifirewall.com</link>
	<description>Tường lửa bảo vệ doanh nghiệp, trung tâm thông tin và giá cả</description>
	<lastBuildDate>Tue, 18 Mar 2025 06:51:18 +0000</lastBuildDate>
	<language>vi</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://thegioifirewall.com/wp-content/uploads/vacif_icon-150x150.png</url>
	<title>Hướng dẫn cấu hình Firewall Fortigate &#8211; Thegioifirewall</title>
	<link>https://thegioifirewall.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>HƯỚNG DẪN CẤU HÌNH FORTINET WEB FILTERING ĐỂ CHẶN TRUY CẬP WEB </title>
		<link>https://thegioifirewall.com/huong-dan-cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web/</link>
					<comments>https://thegioifirewall.com/huong-dan-cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web/#respond</comments>
		
		<dc:creator><![CDATA[Leon]]></dc:creator>
		<pubDate>Wed, 25 Sep 2024 09:18:44 +0000</pubDate>
				<category><![CDATA[Hướng dẫn cấu hình Firewall Fortigate]]></category>
		<category><![CDATA[Fortigate]]></category>
		<guid isPermaLink="false">https://thegioifirewall.com/?p=20438</guid>

					<description><![CDATA[Bài hướng dẫn này nhằm giúp người dùng cấu hình tính năng Web Filtering trên tường lửa FortiGate phiên bản 7.2.9 để quản lý và chặn truy cập vào các trang web không mong muốn. Mục tiêu chính là giúp người quản trị hệ thống: Việc này sẽ giúp nâng cao bảo mật mạng và [&#8230;]]]></description>
										<content:encoded><![CDATA[
<ol class="wp-block-list">
<li><strong>Mục đích bài viết.</strong></li>
</ol>



<p class="wp-block-paragraph">Bài hướng dẫn này nhằm giúp người dùng cấu hình tính năng Web Filtering trên tường lửa FortiGate phiên bản 7.2.9 để quản lý và chặn truy cập vào các trang web không mong muốn. Mục tiêu chính là giúp người quản trị hệ thống:</p>



<ul class="wp-block-list">
<li>Kiểm soát việc truy cập internet của người dùng trong mạng nội bộ.</li>



<li>Chặn các trang web có nội dung không phù hợp hoặc gây hại như: cờ bạc, nội dung người lớn, lừa đảo, hoặc những trang web không mong muốn khác.</li>



<li>Tạo các chính sách chặn theo danh mục, URL cụ thể, hoặc từ khóa tùy chỉnh.</li>



<li>Áp dụng và theo dõi hoạt động chặn trang web qua các log trên FortiGate.</li>
</ul>



<p class="wp-block-paragraph">Việc này sẽ giúp nâng cao bảo mật mạng và tối ưu hóa băng thông bằng cách ngăn ngừa người dùng truy cập vào các trang web gây lãng phí tài nguyên hoặc tiềm ẩn nguy cơ bảo mật.</p>



<ol start="2" class="wp-block-list">
<li><strong>Các bước cấu hình</strong></li>
</ol>



<p class="wp-block-paragraph">Bài hướng dẫn này chỉ ra cách cấu hình Web Filtering trên FortiGate để chặn truy cập vào các trang web không mong muốn, đặc biệt là chặn trang facebook.com. Cụ thể, các bước bao gồm:</p>



<ol class="wp-block-list">
<li>Bật tính năng Web Filtering trên FortiGate để kích hoạt khả năng quản lý và chặn các trang web.</li>



<li>Tạo Web Filter Profile mới và sử dụng Static URL Filter để chặn truy cập vào các trang web dựa trên URL cụ thể.</li>



<li>Cấu hình URL Filter bằng cách thêm facebook.com với tùy chọn Wildcard để đảm bảo chặn tất cả các phiên bản của trang web.</li>



<li>Áp dụng profile Web Filter vào chính sách tường lửa (Firewall Policy) để quản lý truy cập internet cho người dùng trong mạng nội bộ.</li>



<li>Lưu cấu hình và theo dõi hoạt động qua các log trên FortiGate.</li>



<li><strong>Hướng dẫn cấu hình</strong></li>



<li><strong>Bật FortiGate Web Filter.</strong></li>
</ol>



<p class="wp-block-paragraph">&nbsp;Trước tiên, bạn cần kích hoạt tính năng <strong>Web Filtering</strong> trên FortiGate.</p>



<ul class="wp-block-list">
<li>Vào <strong>System > Feature Visibility.</strong></li>



<li>Bật tùy chọn <strong>Web Filter</strong> và nhấn <strong>Apply </strong>để lưu lại cấu hình.</li>
</ul>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="486" src="https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-1024x486.png" alt="" class="wp-image-20440" srcset="https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-1024x486.png 1024w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-300x143.png 300w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-768x365.png 768w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-1536x730.png 1536w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web.png 1600w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<ol start="2" class="wp-block-list">
<li><strong>Tạo Web Filter Profile.</strong></li>
</ol>



<p class="wp-block-paragraph">Sau khi kích hoạt, tạo một profile cho Web Filtering để quản lý các chính sách chặn web.</p>



<p class="wp-block-paragraph">Truy cập vào <strong>Security Profiles &gt; Web Filter.</strong></p>



<p class="wp-block-paragraph">Nhấn <strong>Create New</strong> để tạo profile mới.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="486" src="https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-1-1024x486.png" alt="" class="wp-image-20441" srcset="https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-1-1024x486.png 1024w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-1-300x143.png 300w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-1-768x365.png 768w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-1-1536x730.png 1536w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-1.png 1600w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<ol start="3" class="wp-block-list">
<li><strong>Cấu hình URL Filter.</strong></li>
</ol>



<p class="wp-block-paragraph"><strong>Kích hoạt Static URL Filter:</strong></p>



<ul class="wp-block-list">
<li>Kéo xuống phía dưới, bạn sẽ thấy phần <strong>Static URL Filter</strong>.</li>



<li>Nhấn vào <strong>nút gạt</strong> để bật <strong>URL Filter</strong>.</li>
</ul>



<p class="wp-block-paragraph"><strong>Thêm URL vào Static URL Filter:</strong></p>



<ul class="wp-block-list">
<li>Sau khi kích hoạt, một bảng sẽ xuất hiện.</li>



<li>Nhấn <strong>Create New</strong> để thêm quy tắc mới.</li>
</ul>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="486" src="https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-2-1024x486.png" alt="" class="wp-image-20443" srcset="https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-2-1024x486.png 1024w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-2-300x143.png 300w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-2-768x365.png 768w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-2-1536x730.png 1536w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-2.png 1600w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Cấu hình thông số chặn Facebook:</strong></p>



<ul class="wp-block-list">
<li><strong>URL:</strong> Nhập đường dẫn *facebook.com.</li>



<li><strong>Type:</strong> Chọn <strong>Wildcard</strong> (để chặn tất cả các phiên bản của URL, bao gồm các subdomain như www.facebook.com hoặc m.facebook.com).</li>



<li><strong>Action:</strong> Chọn <strong>Block</strong> (để ngăn chặn truy cập).</li>



<li><strong>Status:</strong> Chọn <strong>Enable</strong> (để kích hoạt quy tắc).</li>
</ul>



<p class="wp-block-paragraph">&nbsp;<strong>Lưu cấu hình:</strong></p>



<ul class="wp-block-list">
<li>Nhấn <strong>OK</strong> để lưu lại quy tắc chặn URL này.</li>
</ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="486" src="https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-3-1024x486.png" alt="" class="wp-image-20444" srcset="https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-3-1024x486.png 1024w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-3-300x143.png 300w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-3-768x365.png 768w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-3-1536x730.png 1536w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-3.png 1600w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Sau khi đã hoàn thành tất cả các bước cấu hình trong Web Filter profile theo yêu cầu, bạn cần <strong>nhấn nút OK</strong> để lưu lại cấu hình.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="486" src="https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-4-1024x486.png" alt="" class="wp-image-20445" srcset="https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-4-1024x486.png 1024w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-4-300x143.png 300w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-4-768x365.png 768w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-4-1536x730.png 1536w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-4.png 1600w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ol start="4" class="wp-block-list">
<li><strong>Gán Web Filter profile vào policy.</strong></li>
</ol>



<p class="wp-block-paragraph"><strong>Truy cập vào Policy &amp; Objects:</strong></p>



<ul class="wp-block-list">
<li>Điều hướng đến <strong>Policy &amp; Objects</strong> > <strong>Firewall Policy</strong>.</li>
</ul>



<p class="wp-block-paragraph"><strong>Chỉnh sửa Policy truy cập internet:</strong></p>



<ul class="wp-block-list">
<li>Tìm policy hiện đang cho phép người dùng trong mạng nội bộ truy cập internet.</li>



<li>Nhấn đúp chuột trái vào policy đó để mở cửa sổ chỉnh sửa.</li>
</ul>



<p class="wp-block-paragraph"><strong>Kích hoạt Web Filter trong Security Profiles:</strong></p>



<ul class="wp-block-list">
<li>Kéo xuống phần <strong>Security Profiles</strong>.</li>



<li>Tại mục <strong>Web Filter</strong>, bật nút gạt để kích hoạt tính năng Web Filter cho policy này.</li>



<li>Ở mục lựa chọn <strong>Web Filter profiles</strong>, chọn profile <strong>Vacif_Block_Facebook</strong> (hoặc tên profile bạn đã tạo trước đó).</li>
</ul>



<p class="wp-block-paragraph"><strong>Lưu cấu hình:</strong></p>



<ul class="wp-block-list">
<li>Nhấn <strong>OK</strong> để lưu lại cấu hình.</li>
</ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="486" src="https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-5-1024x486.png" alt="" class="wp-image-20446" srcset="https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-5-1024x486.png 1024w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-5-300x143.png 300w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-5-768x365.png 768w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-5-1536x730.png 1536w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-5.png 1600w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ol start="5" class="wp-block-list">
<li><strong>Kiểm tra kết quả.</strong></li>
</ol>



<p class="wp-block-paragraph">Sau khi thực hiện các bước trên, FortiGate sẽ chặn truy cập vào các trang web không mong muốn theo cấu hình của bạn.&nbsp;</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="503" src="https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-6-1024x503.png" alt="" class="wp-image-20447" srcset="https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-6-1024x503.png 1024w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-6-300x147.png 300w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-6-768x377.png 768w, https://thegioifirewall.com/wp-content/uploads/2024/09/cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web-6.png 1270w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://thegioifirewall.com/huong-dan-cau-hinh-fortinet-web-filtering-de-chan-truy-cap-web/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>HƯỚNG DẪN CẤU HÌNH DDNS TRÊN FIREWALL FORTIGATE</title>
		<link>https://thegioifirewall.com/huong-dan-cau-hinh-ddns-tren-firewall-fortigate/</link>
					<comments>https://thegioifirewall.com/huong-dan-cau-hinh-ddns-tren-firewall-fortigate/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 23 Aug 2024 09:21:25 +0000</pubDate>
				<category><![CDATA[Hướng dẫn cấu hình Firewall Fortigate]]></category>
		<category><![CDATA[DDNS]]></category>
		<category><![CDATA[Firewall Fortigate]]></category>
		<guid isPermaLink="false">https://thegioifirewall.com/?p=20215</guid>

					<description><![CDATA[Cấu hình DDNS giúp duy trì kết nối từ xa khi địa chỉ IP công cộng thay đổi, tiết kiệm chi phí so với IP tĩnh, và đảm bảo quản lý truy cập từ xa hiệu quả. Nó hữu ích cho các dịch vụ như VPN và hosting, đồng thời tối ưu hóa bảo mật [&#8230;]]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1033" height="613" src="https://thegioifirewall.com/wp-content/uploads/2024/08/cau-hinh-ddns-tren-firewall-fortigate.png" alt="" class="wp-image-20217" srcset="https://thegioifirewall.com/wp-content/uploads/2024/08/cau-hinh-ddns-tren-firewall-fortigate.png 1033w, https://thegioifirewall.com/wp-content/uploads/2024/08/cau-hinh-ddns-tren-firewall-fortigate-300x178.png 300w, https://thegioifirewall.com/wp-content/uploads/2024/08/cau-hinh-ddns-tren-firewall-fortigate-1024x608.png 1024w, https://thegioifirewall.com/wp-content/uploads/2024/08/cau-hinh-ddns-tren-firewall-fortigate-768x456.png 768w" sizes="auto, (max-width: 1033px) 100vw, 1033px" /></figure>



<ol class="wp-block-list">
<li><strong>Mục đích bài viết</strong><strong>.</strong></li>
</ol>



<p class="wp-block-paragraph">Cấu hình DDNS giúp duy trì kết nối từ xa khi địa chỉ IP công cộng thay đổi, tiết kiệm chi phí so với IP tĩnh, và đảm bảo quản lý truy cập từ xa hiệu quả. Nó hữu ích cho các dịch vụ như VPN và hosting, đồng thời tối ưu hóa bảo mật và xử lý sự cố liên quan đến thay đổi IP.</p>



<p class="wp-block-paragraph">Bài viết này sẽ hướng dẫn các bạn cấu hình DDNS trên Firewall Fortinet</p>



<ol start="2" class="wp-block-list">
<li><strong>Hướng dẫn cấu hình</strong></li>



<li><strong>Cấu hình DDNS trên giao diện web của Fortigate:</strong></li>
</ol>



<p class="wp-block-paragraph">Trong mục <strong>Network</strong>, chọn <strong>DNS</strong> để truy cập vào cài đặt DNS của Fortigate.</p>



<p class="wp-block-paragraph"><strong>Cấu hình DDNS</strong></p>



<ul class="wp-block-list">
<li>Trong phần <strong>DNS Settings</strong>, bật tính năng <strong>FortiGuard DDNS</strong> bằng cách chuyển nút sang trạng thái <strong>On</strong>.</li>



<li>Trong mục <strong>Interface</strong>, chọn giao diện mạng mà bạn muốn giám sát, ví dụ: <strong>wan</strong>.</li>



<li><strong>Use public IP address</strong>: Bật tùy chọn này để sử dụng địa chỉ IP công cộng.</li>



<li>Trong mục <strong>Server</strong>, chọn dịch vụ DDNS mà bạn muốn sử dụng, ví dụ: <strong>fortiddns.com</strong>.</li>



<li><strong>Unique location</strong>: Nhập tên miền duy nhất mà bạn muốn sử dụng, ví dụ: <strong>vacif</strong>.</li>



<li>Kiểm tra trạng thái của tên miền trong phần <strong>Domain</strong>. Nếu hiện <strong>Available!</strong>, điều đó có nghĩa là cấu hình đã thành công.</li>
</ul>



<p class="wp-block-paragraph">Sau khi hoàn thành các bước trên ấn <strong>Apply</strong> để lưu cấu hình.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1600" height="760" src="https://thegioifirewall.com/wp-content/uploads/2024/08/cau-hinh-ddns-tren-firewall-fortigate-1.png" alt="" class="wp-image-20218" srcset="https://thegioifirewall.com/wp-content/uploads/2024/08/cau-hinh-ddns-tren-firewall-fortigate-1.png 1600w, https://thegioifirewall.com/wp-content/uploads/2024/08/cau-hinh-ddns-tren-firewall-fortigate-1-300x143.png 300w, https://thegioifirewall.com/wp-content/uploads/2024/08/cau-hinh-ddns-tren-firewall-fortigate-1-1024x486.png 1024w, https://thegioifirewall.com/wp-content/uploads/2024/08/cau-hinh-ddns-tren-firewall-fortigate-1-768x365.png 768w, https://thegioifirewall.com/wp-content/uploads/2024/08/cau-hinh-ddns-tren-firewall-fortigate-1-1536x730.png 1536w" sizes="auto, (max-width: 1600px) 100vw, 1600px" /></figure>



<ol start="2" class="wp-block-list">
<li><strong>Cấu hình DDNS qua CLI trên Fortigate.</strong></li>
</ol>



<p class="wp-block-paragraph">Sử dụng terminal hoặc CLI console trên giao diện quản trị web của Fortigate để nhập lệnh.</p>



<ul class="wp-block-list">
<li><strong>config system ddns</strong> để bắt đầu cấu hình DDNS.</li>



<li><strong>edit 1</strong> để bắt đầu chỉnh sửa cấu hình đầu tiên trong danh sách.</li>



<li><strong>set ddns-server FortiGuardDDNS</strong> để chọn máy chủ DDNS là FortiGuard.</li>



<li><strong>set server-type ipv4</strong> để đặt kiểu server là IPv4.</li>



<li><strong>set ddns-domain &#8220;vacif.fortiddns.com&#8221;</strong> để chỉ định tên miền DDNS bạn muốn sử dụng.</li>



<li><strong>set addr-type ipv4</strong> để chọn loại địa chỉ là IPv4.</li>



<li><strong>set use-public-ip enable</strong> để cho phép sử dụng địa chỉ IP công cộng.</li>



<li><strong>set monitor-interface &#8220;wan&#8221;</strong> để giám sát giao diện WAN.</li>



<li><strong>next</strong> để lưu cấu hình và chuyển sang mục tiếp theo.</li>



<li><strong>end</strong> để kết thúc cấu hình DDNS.</li>
</ul>



<figure class="wp-block-image size-large"><img decoding="async" src="https://thegioifirewall.com/wp-content/uploads/2024/08/cau-hinh-ddns-tren-firewall-fortigate-2.png" alt=""/></figure>



<ol start="3" class="wp-block-list">
<li><strong>Truy cập cổng quản trị thông qua DDNS</strong></li>
</ol>



<p class="wp-block-paragraph">Trong mục <strong>Network</strong>, chọn <strong>Interfaces</strong> và chọn cổng <strong>WAN </strong>để truy cập vào cài đặt..</p>



<p class="wp-block-paragraph">Bật <strong>HTTPS</strong> lên, chỉ nên bật HTTPS chứ không nên bật HTTP.</p>



<p class="wp-block-paragraph">Sau đó <strong>Apply</strong> lưu cấu hình.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://thegioifirewall.com/wp-content/uploads/2024/08/cau-hinh-ddns-tren-firewall-fortigate-3.png" alt=""/></figure>



<p class="wp-block-paragraph">Trong mục <strong>System</strong>, chọn <strong>Settings</strong> và chọn mục Administrator Settings.</p>



<p class="wp-block-paragraph">Đổi HTTPS Port thành một Port bất kì, ở đây mình đổi thành Port 8443.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://thegioifirewall.com/wp-content/uploads/2024/08/cau-hinh-ddns-tren-firewall-fortigate-4.png" alt=""/></figure>



<p class="wp-block-paragraph">Ở đây mình đã mở Port 8843 để truy cập từ xa.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://thegioifirewall.com/wp-content/uploads/2024/08/cau-hinh-ddns-tren-firewall-fortigate-5.png" alt=""/></figure>



<ol start="3" class="wp-block-list">
<li><strong>Tổng kết.</strong></li>
</ol>



<p class="wp-block-paragraph">Trên đây là bài viết hướng dẫn cấu hình DDNS trên Firewall Fortigate do Vacif biên soạn. Hy vọng với những chia sẻ trên bạn có thể dễ dàng cấu hình và đừng quên theo dõi&nbsp;<a href="https://vacif.com/"><strong>Vacif</strong></a><strong> </strong>để nhận được những thông tin, hướng dẫn mới nhất về các thiết bị mạng. Xin cảm ơn!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thegioifirewall.com/huong-dan-cau-hinh-ddns-tren-firewall-fortigate/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>FORTIGATE : CÁCH CẤU HÌNH HA ACTIVE-ACTIVE (P2)</title>
		<link>https://thegioifirewall.com/fortigate-cach-cau-hinh-ha-active-active-p2/</link>
					<comments>https://thegioifirewall.com/fortigate-cach-cau-hinh-ha-active-active-p2/#respond</comments>
		
		<dc:creator><![CDATA[Dino]]></dc:creator>
		<pubDate>Thu, 30 Nov 2023 02:04:03 +0000</pubDate>
				<category><![CDATA[Hướng dẫn cấu hình Firewall Fortigate]]></category>
		<category><![CDATA[HA]]></category>
		<category><![CDATA[High Availability]]></category>
		<guid isPermaLink="false">https://thegioifirewall.com/?p=18399</guid>

					<description><![CDATA[Bài viết này mình sẽ giới thiệu 1 số tùy biến sau khi cấu hình thành công HA Cách cấu hình HA các bạn có thể tham khảo tại đây : Sơ đồ mạng : Mục lục : 1. Tách biệt cổng MGMT trong cấu hình HA 2. Tính năng dự phòng dây dẫn khi [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>Bài viết này mình sẽ giới thiệu 1 số tùy biến sau khi cấu hình thành công HA</strong></p>



<p class="wp-block-paragraph"><strong>Cách cấu hình HA các bạn có thể tham khảo tại đây :</strong></p>



<figure class="wp-block-embed is-type-wp-embed is-provider-thế-giới-firewall wp-block-embed-thế-giới-firewall"><div class="wp-block-embed__wrapper">
<div class="oceanwp-oembed-wrap clr"><blockquote class="wp-embedded-content" data-secret="zuQCg27ONW"><a href="https://thegioifirewall.com/fortigate-cach-cau-hinh-ha-active-active-p1/">FORTIGATE : CÁCH CẤU HÌNH HA ACTIVE-ACTIVE (P1)</a></blockquote><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;FORTIGATE : CÁCH CẤU HÌNH HA ACTIVE-ACTIVE (P1)&#8221; &#8212; Thế Giới Firewall" src="https://thegioifirewall.com/fortigate-cach-cau-hinh-ha-active-active-p1/embed/#?secret=OCF69Q4QBD#?secret=zuQCg27ONW" data-secret="zuQCg27ONW" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></div>
</div></figure>



<p class="wp-block-paragraph"><strong>Sơ đồ mạng :</strong></p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" src="https://assets.vacif.com/2023/11/image-86-1024x458.png" alt="" class="wp-image-8738"/></figure>
</div>


<p class="wp-block-paragraph"><strong>Mục lục :</strong></p>



<p class="wp-block-paragraph"><strong>1. Tách biệt cổng MGMT trong cấu hình HA</strong></p>



<p class="wp-block-paragraph"><strong>2. Tính năng dự phòng dây dẫn khi HA</strong></p>



<p class="wp-block-paragraph"><strong>Nội dung bài lab</strong></p>



<p class="wp-block-paragraph"><strong>1. Tách biệt cổng MGMT trong cấu hình HA</strong></p>



<p class="wp-block-paragraph"><strong>1.1 Tại FortiGate-2</strong></p>



<p class="wp-block-paragraph">Như các bạn đã biết, sau khi HA thành công thì ta mặc định chỉ có thể truy cập vào 1 thiết bị Fortigate đang ở mode Primary mà thôi. Nếu quá trình HA khi vận hành bị lỗi và quá trình quản lý sẽ rất khó khăn trong việt fix để tìm cách khắc phục</p>



<p class="wp-block-paragraph">Để dễ hình dung, ở đây mình sẽ gắn thêm 1 thiết bị Switch với vài trò MGMT quản lý 2 thiết bị Fortigate</p>



<p class="wp-block-paragraph">Bài trước vì Priority của FortiGate-2 lớn hơn ,nên là Primary. Vậy chúng ta chỉ có thể truy cập giao diện cấu hình FortiGate-2 trước</p>


<div class="wp-block-image">
<figure class="aligncenter is-resized"><img decoding="async" src="https://assets.vacif.com/2023/11/image-77-1024x421.png" alt="" class="wp-image-8729" style="aspect-ratio:2.4323040380047507;width:786px;height:auto"/></figure>
</div>


<p class="wp-block-paragraph">Tại FotiGate-2</p>



<p class="wp-block-paragraph">Vào&nbsp;<strong>Network &gt;&gt; interfaces &gt;&gt; edit port 4</strong>&nbsp;(sơ đồ)</p>



<p class="wp-block-paragraph"><strong>Alias&nbsp;</strong>: MGMT</p>



<p class="wp-block-paragraph"><strong>Role&nbsp;</strong>: DMZ</p>



<p class="wp-block-paragraph"><strong>IP/Netmask</strong>&nbsp;: 10.10.10.2/24</p>



<p class="wp-block-paragraph">Cho phép&nbsp;<strong>Service HTTPS, Ping</strong></p>



<p class="wp-block-paragraph">Nhấn<strong>&nbsp;OK&nbsp;</strong>để thiết lập</p>


<div class="wp-block-image">
<figure class="aligncenter is-resized"><img decoding="async" src="https://assets.vacif.com/2023/11/image-76-1024x494.png" alt="" class="wp-image-8728" style="aspect-ratio:2.0728744939271255;width:786px;height:auto"/></figure>
</div>


<p class="wp-block-paragraph">Tiếp theo các bạn vào&nbsp;<strong>System &gt;&gt; HA</strong></p>



<p class="wp-block-paragraph"><strong>Enable</strong>&nbsp;tính năng&nbsp;<strong>Management Interface Reservation</strong>&nbsp;lên</p>


<div class="wp-block-image">
<figure class="aligncenter is-resized"><img decoding="async" src="https://assets.vacif.com/2023/11/image-78-1024x443.png" alt="" class="wp-image-8730" style="aspect-ratio:2.311512415349887;width:784px;height:auto"/></figure>
</div>


<p class="wp-block-paragraph"><strong>Interface :</strong>&nbsp;cổng kết nối đến thiết bị dùng quản lý thiết bị</p>



<p class="wp-block-paragraph"><strong>Gateway :&nbsp;</strong>điền IP của thiết bị MGMT</p>



<p class="wp-block-paragraph"><strong>Destination subnet :</strong>&nbsp;chọn lọc subnet</p>


<div class="wp-block-image">
<figure class="aligncenter is-resized"><img decoding="async" src="https://assets.vacif.com/2023/11/image-79-1024x421.png" alt="" class="wp-image-8731" style="aspect-ratio:2.4323040380047507;width:786px;height:auto"/></figure>
</div>


<p class="wp-block-paragraph"><strong>Kết quả :</strong></p>



<p class="wp-block-paragraph">Dùng VPC-2<strong>&nbsp;ping</strong>&nbsp;đến IP MGMT của FortiGate-2</p>


<div class="wp-block-image">
<figure class="aligncenter is-resized"><img decoding="async" src="https://assets.vacif.com/2023/11/image-81.png" alt="" class="wp-image-8733" style="aspect-ratio:1.569259962049336;width:763px;height:auto"/></figure>
</div>


<p class="wp-block-paragraph"><strong>1.2 Tại FortiGate-1</strong></p>



<p class="wp-block-paragraph">Vì đang cấu hình HA nên Fortigate-1 Port4 cũng được đồng bộ như Fortigate-2 có IP MGMT 10.10.10.2</p>



<p class="wp-block-paragraph">Chúng ta đang muốn tách ra để quản lý nên cần phải đổi IP này thành IP khác</p>


<div class="wp-block-image">
<figure class="aligncenter is-resized"><img decoding="async" src="https://assets.vacif.com/2023/11/image-83.png" alt="" class="wp-image-8735" style="aspect-ratio:1.5771428571428572;width:771px;height:auto"/></figure>
</div>


<p class="wp-block-paragraph">Các bạn tiến hành cấu hình trên giao diện CMD như sau</p>


<div class="wp-block-image">
<figure class="aligncenter is-resized"><img decoding="async" src="https://assets.vacif.com/2023/11/image-84.png" alt="" class="wp-image-8736" style="aspect-ratio:1.578544061302682;width:783px;height:auto"/></figure>
</div>


<p class="wp-block-paragraph"><strong>Kết quả :</strong></p>



<p class="wp-block-paragraph">Dùng VPC-2&nbsp;<strong>ping</strong>&nbsp;thử Port MGMT của FortiGate-1</p>


<div class="wp-block-image">
<figure class="aligncenter is-resized"><img decoding="async" src="https://assets.vacif.com/2023/11/image-85.png" alt="" class="wp-image-8737" style="aspect-ratio:1.5842911877394636;width:773px;height:auto"/></figure>
</div>


<p class="wp-block-paragraph"><strong>2. Tính năng dự phòng dây dẫn khi HA</strong></p>



<p class="wp-block-paragraph">Vì hiện giờ chúng ta đang cấu hình Active-Active, nên lở đâu port2 bị đứt thì FortiGate-2 vẫn là Primary, các thiết bị mà muốn qua nó đễ đi internet thì không được nữa</p>



<p class="wp-block-paragraph">Để khắc phục điều này ta cần cấu hình thêm tính dự phòng như sau</p>



<p class="wp-block-paragraph">Tại&nbsp;<strong>Monitor interface</strong>&nbsp;: thêm Port2</p>


<div class="wp-block-image">
<figure class="aligncenter is-resized"><img decoding="async" src="https://assets.vacif.com/2023/11/image-90-1024x276.png" alt="" class="wp-image-8742" style="aspect-ratio:3.710144927536232;width:809px;height:auto"/></figure>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://thegioifirewall.com/fortigate-cach-cau-hinh-ha-active-active-p2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>FORTIGATE : CÁCH CẤU HÌNH HA ACTIVE-ACTIVE (P1)</title>
		<link>https://thegioifirewall.com/fortigate-cach-cau-hinh-ha-active-active-p1/</link>
					<comments>https://thegioifirewall.com/fortigate-cach-cau-hinh-ha-active-active-p1/#respond</comments>
		
		<dc:creator><![CDATA[Dino]]></dc:creator>
		<pubDate>Thu, 23 Nov 2023 03:55:12 +0000</pubDate>
				<category><![CDATA[Hướng dẫn cấu hình Firewall Fortigate]]></category>
		<category><![CDATA[Fortigate]]></category>
		<category><![CDATA[HA]]></category>
		<category><![CDATA[HA Active-Active]]></category>
		<guid isPermaLink="false">https://thegioifirewall.com/?p=18288</guid>

					<description><![CDATA[Tổng quan : Trong môi trường mạng doanh nghiệp, tính sẵn sàng là một yếu tố quan trọng hàng đầu. Khi mạng không hoạt động, doanh nghiệp sẽ bị gián đoạn hoạt động, gây ảnh hưởng đến sản xuất, kinh doanh và uy tín của doanh nghiệp. Tính năng HA (High Availability) của Fortigate giúp [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>Tổng quan :</strong></p>



<p class="wp-block-paragraph">Trong môi trường mạng doanh nghiệp, tính sẵn sàng là một yếu tố quan trọng hàng đầu. Khi mạng không hoạt động, doanh nghiệp sẽ bị gián đoạn hoạt động, gây ảnh hưởng đến sản xuất, kinh doanh và uy tín của doanh nghiệp.</p>



<p class="wp-block-paragraph">Tính năng HA (High Availability) của Fortigate giúp đảm bảo tính sẵn sàng của mạng bằng cách kết hợp hai hoặc nhiều thiết bị Fortigate lại thành một cụm. Khi một thiết bị Fortigate bị lỗi hoặc ngừng hoạt động, thiết bị còn lại sẽ đảm nhận toàn bộ lưu lượng mạng, giúp mạng vẫn hoạt động bình thường.</p>



<p class="wp-block-paragraph"><strong>Sơ đồ bài lab</strong>&nbsp;:</p>



<figure class="wp-block-image"><img decoding="async" src="https://assets.vacif.com/2023/11/image-64-1024x546.png" alt="" class="wp-image-8693"/></figure>



<p class="wp-block-paragraph"><strong>Mục lục :</strong></p>



<p class="wp-block-paragraph"><strong>I. Cấu hình HA Fortigate</strong></p>



<p class="wp-block-paragraph"><strong>1. Điều chỉnh thông tin thiết bị</strong></p>



<p class="wp-block-paragraph"><strong>2. Cấu hình HA</strong></p>



<p class="wp-block-paragraph"><strong>3. Test kết quả sau khi HA</strong></p>



<p class="wp-block-paragraph"><strong>Nội dung cấu hình :</strong></p>



<p class="wp-block-paragraph"><strong>I. Cấu hình HA Fortigate</strong></p>



<p class="wp-block-paragraph"><strong>1. Điều chỉnh thông tin thiết bị</strong></p>



<p class="wp-block-paragraph">Các bạn nên có bước đổi tên thiết bị để dễ quản lý hơn trước và sau cấu hình HA</p>



<p class="wp-block-paragraph">Các bạn vào System &gt;&gt; Settings</p>



<p class="wp-block-paragraph">Host name : đặt tên thiết bị</p>



<p class="wp-block-paragraph">Time zone : chỉnh múi giờ tương thích</p>



<figure class="wp-block-image"><img decoding="async" src="https://assets.vacif.com/2023/11/image-26-1024x351.png" alt="" class="wp-image-8645"/></figure>



<p class="wp-block-paragraph">Thiết bị thứ 2 các bạn làm tương tự</p>



<figure class="wp-block-image"><img decoding="async" src="https://assets.vacif.com/2023/11/image-28-1024x414.png" alt="" class="wp-image-8647"/></figure>



<p class="wp-block-paragraph"><strong>2. Cấu hình HA</strong></p>



<p class="wp-block-paragraph"><strong>2.1 Thiết bị Fortigate-1</strong></p>



<p class="wp-block-paragraph">Các bạn vào&nbsp;<strong>System &gt;&gt; HA</strong></p>



<p class="wp-block-paragraph"><strong>Mode&nbsp;</strong>: Chọn&nbsp;<strong>Active-Active</strong></p>



<p class="wp-block-paragraph"><strong>Device priority</strong>&nbsp;: điền số ,số lớn hơn sẽ làm&nbsp;<strong>Primary</strong></p>



<p class="wp-block-paragraph"><strong>Group name và Password&nbsp;</strong>: hãy đặt tên và password theo sở thích,thông tin này sẽ được điền y hệt vào thiết bị Fortigate-2 còn lại</p>



<p class="wp-block-paragraph"><strong>Heartbeat interfaces&nbsp;</strong>: đây là Port dùng để cấu hình HA với thiết bị thứ 2</p>



<p class="wp-block-paragraph">Nhấn&nbsp;<strong>Ok&nbsp;</strong>để hoàn thành</p>



<figure class="wp-block-image"><img decoding="async" src="https://assets.vacif.com/2023/11/image-27-1024x413.png" alt="" class="wp-image-8646"/></figure>



<p class="wp-block-paragraph">Sau khi nhấn OK ở trên thì thiết bị đang ở mode chờ</p>



<figure class="wp-block-image"><img decoding="async" src="https://assets.vacif.com/2023/11/image-29-1024x417.png" alt="" class="wp-image-8648"/></figure>



<p class="wp-block-paragraph"><strong>2.2 Thiết bị Fortigate-2</strong></p>



<p class="wp-block-paragraph">Tương tự như thiết lập cấu hình HA ở&nbsp;<strong>Fortigate-1</strong></p>



<p class="wp-block-paragraph"><strong>Group name và Password</strong>&nbsp;: các bạn hãy nhập thông tin đã điền mục tương tự ở&nbsp;<strong>Fortigate-1</strong>&nbsp;vào</p>



<figure class="wp-block-image"><img decoding="async" src="https://assets.vacif.com/2023/11/image-34-1024x419.png" alt="" class="wp-image-8653"/></figure>



<p class="wp-block-paragraph">Sau khi nhấn OK để hoàn thành</p>



<p class="wp-block-paragraph">Giao diện khi HA thành công</p>



<figure class="wp-block-image"><img decoding="async" src="https://assets.vacif.com/2023/11/image-30-1024x416.png" alt="" class="wp-image-8649"/></figure>



<p class="wp-block-paragraph"><strong>3. Test kết quả sau khi HA</strong></p>



<p class="wp-block-paragraph">Tại Fortigate-2 mình tiến hành edit Port3</p>



<p class="wp-block-paragraph">Tại Alias : mình gỏ vào chữ HA</p>



<figure class="wp-block-image"><img decoding="async" src="https://assets.vacif.com/2023/11/image-31-1024x489.png" alt="" class="wp-image-8650"/></figure>



<p class="wp-block-paragraph"><strong>Kết quả</strong>&nbsp;: Fortigate-1 Alias Port 3 cũng có tên HA</p>



<figure class="wp-block-image"><img decoding="async" src="https://assets.vacif.com/2023/11/image-32.png" alt="" class="wp-image-8651"/></figure>



<p class="wp-block-paragraph">Fortigate-2 đang làm Primary , mình tiến hành tắt thiết bị 2 này, thì Fortigate-1 đã lên làm Primary và vẫn cho các máy User đi internet bình thường</p>



<figure class="wp-block-image"><img decoding="async" src="https://assets.vacif.com/2023/11/image-33-1024x545.png" alt="" class="wp-image-8652"/></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://thegioifirewall.com/fortigate-cach-cau-hinh-ha-active-active-p1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Hướng dẫn cấu hình Application Control chặn truy cập ứng dụng trên thiết bị tường lửa Fortinet</title>
		<link>https://thegioifirewall.com/huong-dan-cau-hinh-application-control-chan-truy-cap-ung-dung-tren-thiet-bi-tuong-lua-fortinet/</link>
					<comments>https://thegioifirewall.com/huong-dan-cau-hinh-application-control-chan-truy-cap-ung-dung-tren-thiet-bi-tuong-lua-fortinet/#comments</comments>
		
		<dc:creator><![CDATA[TrungNghia]]></dc:creator>
		<pubDate>Wed, 19 Jan 2022 02:31:00 +0000</pubDate>
				<category><![CDATA[Hướng dẫn cấu hình Firewall Fortigate]]></category>
		<category><![CDATA[Hướng dẫn cấu hình Application Control chặn truy cập ứng dụng trên thiết bị tường lửa Fortinet]]></category>
		<guid isPermaLink="false">https://www.thegioifirewall.com/?p=13648</guid>

					<description><![CDATA[1.Mục đích bài viết Trong bài viết này Thegioifirewall sẽ hướng dẫn các bạn cách cấu hình Application Control để ngăn chặn người dùng truy cập các ứng dụng không mong muốn. 2.Sơ đồ mạng Chi tiết sơ đồ mạng: Chúng ta có thiết bị tường lửa Fortinet được kết nối internet tại cổng wan1 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>1.Mục đích bài viết</strong></h2>



<p class="wp-block-paragraph">Trong bài viết này Thegioifirewall sẽ hướng dẫn các bạn cách cấu hình Application Control để ngăn chặn người dùng truy cập các ứng dụng không mong muốn.</p>



<h2 class="wp-block-heading"><strong>2.Sơ đồ mạng</strong></h2>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="414" src="https://thegioifirewall.com/wp-content/uploads/Drawing1-20-1024x414.png" alt="" class="wp-image-13650" srcset="https://thegioifirewall.com/wp-content/uploads/Drawing1-20-1024x414.png 1024w, https://thegioifirewall.com/wp-content/uploads/Drawing1-20-300x121.png 300w, https://thegioifirewall.com/wp-content/uploads/Drawing1-20-768x311.png 768w, https://thegioifirewall.com/wp-content/uploads/Drawing1-20-1536x621.png 1536w, https://thegioifirewall.com/wp-content/uploads/Drawing1-20.png 1703w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Chi tiết sơ đồ mạng:</strong></p>



<p class="wp-block-paragraph">Chúng ta có thiết bị tường lửa Fortinet được kết nối internet tại cổng wan1 với IP tĩnh là 115.78.x.x.</p>



<p class="wp-block-paragraph">Lớp mạng LAN của thiết bị Fortinet được cấu hình tại cổng internal3 với IP là 10.10.12.1/24 và đã được cấu hình DHCP để cấp phát cho các thiết bị kết nối tới nó.</p>



<p class="wp-block-paragraph">Cuối cùng là máy tính Computer 1 nhận DHCP từ Fortinet có IP 10.10.12.100/24.</p>



<p class="wp-block-paragraph">Trên thiết bị Fortinet này đã được cấu hình các policy, NAT, routing, … để các máy tính trong mạng LAN như máy Computer 1 đã có thể truy cập internet.</p>



<h2 class="wp-block-heading"><strong>3.Tình huống cấu hình</strong></h2>



<p class="wp-block-paragraph">Thegioifirewall sẽ thực hiện cấu hình tính năng Application Control để chặn truy cập ứng dụng facebook và chặn các ứng dụng liên quan đến game.</p>



<h2 class="wp-block-heading"><strong>4.Các bước cấu hình</strong></h2>



<ul class="wp-block-list"><li>Kiểm tra lại license Application Control.</li><li>Tạo Application Control profile.</li><li>Gán Application Control profile vào policy.</li></ul>



<h2 class="wp-block-heading"><strong>5.Hướng dẫn cấu hình</strong></h2>



<h3 class="wp-block-heading"><strong>5.1.Kiểm tra lại license Application Control.</strong></h3>



<p class="wp-block-paragraph">Trước tiên để cấu hình và sử dụng tính năng Application Control trên Fortinet chúng ta cần phải đảm rằng thiết bị tường lửa Fortinet đã kích hoạt license Application Control.</p>



<p class="wp-block-paragraph">Để kiểm tra chúng ta vào System &gt; FeatureVisibility.</p>



<p class="wp-block-paragraph">Tại Security Feature chúng ta cần phải đảm bảo rằng tính năng Application Control đã được kích hoạt.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="578" src="https://thegioifirewall.com/wp-content/uploads/1-67-1024x578.png" alt="" class="wp-image-13638" srcset="https://thegioifirewall.com/wp-content/uploads/1-67-1024x578.png 1024w, https://thegioifirewall.com/wp-content/uploads/1-67-300x169.png 300w, https://thegioifirewall.com/wp-content/uploads/1-67-768x433.png 768w, https://thegioifirewall.com/wp-content/uploads/1-67-1536x866.png 1536w, https://thegioifirewall.com/wp-content/uploads/1-67-2048x1155.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading"><strong>5.2.Tạo Application Control profile</strong></h3>



<p class="wp-block-paragraph">Sau khi đảm bảo rằng license Application Control đã được kích hoạt, để sử dụng tính năng chúng ta cần phải tạo Application Control profile.</p>



<p class="wp-block-paragraph">Application Control profile là nơi để chúng ta có thể tùy chọn thêm bớt các danh mục, ứng dụng tùy chỉnh vào danh sách các ứng dụng mà chúng ta muốn chặn.</p>



<p class="wp-block-paragraph">Để tạo Application Control profile chúng ta vào Security Profile &gt; Application Control &gt; nhấn Create New.</p>



<p class="wp-block-paragraph">Đầu tiên chúng ta cần đặt tên nó, ở đây mình sẽ đặt tên là block-app.</p>



<p class="wp-block-paragraph">Ở phần Categories chúng ta sẽ có một bảng danh sách các danh mục ứng dụng mà Fortinet đã phân loại.</p>



<p class="wp-block-paragraph">Như tình huống cấu hình đã đề cập phía trên chúng ta sẽ chặn truy cập các ứng dụng liên quan đến game.</p>



<p class="wp-block-paragraph">Tại danh mục Game, chúng ta nhấn vào biểu tượng mũi tên hướng xuống và chọn Block để ngăn chặn truy cập các ứng dụng liên quan đến game có trong danh mục này.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="787" src="https://thegioifirewall.com/wp-content/uploads/1-68-1024x787.png" alt="" class="wp-image-13651" srcset="https://thegioifirewall.com/wp-content/uploads/1-68-1024x787.png 1024w, https://thegioifirewall.com/wp-content/uploads/1-68-300x230.png 300w, https://thegioifirewall.com/wp-content/uploads/1-68-768x590.png 768w, https://thegioifirewall.com/wp-content/uploads/1-68-1536x1180.png 1536w, https://thegioifirewall.com/wp-content/uploads/1-68.png 1890w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Ngoài ra bạn cũng có thể xem chi tiết trong danh mục Game này gồm các ứng dụng gì bằng cách nhấn vào mũi tên hướng xuống và chọn View Signatures.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="733" src="https://thegioifirewall.com/wp-content/uploads/2-66-1024x733.png" alt="" class="wp-image-13652" srcset="https://thegioifirewall.com/wp-content/uploads/2-66-1024x733.png 1024w, https://thegioifirewall.com/wp-content/uploads/2-66-300x215.png 300w, https://thegioifirewall.com/wp-content/uploads/2-66-768x550.png 768w, https://thegioifirewall.com/wp-content/uploads/2-66-1536x1100.png 1536w, https://thegioifirewall.com/wp-content/uploads/2-66-2048x1466.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Đến với yêu cầu số 2 là ngăn chặn truy cập ứng dụng facebook, cũng tại Application Control profile block-app các bạn kéo xuống phần Application and Filter Overrides.</p>



<p class="wp-block-paragraph">Sau đó nhấn Create New và điền các thông số sau:</p>



<ul class="wp-block-list"><li>Type: chọn Application</li><li>Action: chọn Block</li><li>Search: nhập vào facebook.</li><li>Application Signature: chọn ứng dụng facebook sau đó nhấn Add Selected.</li><li>Nhấn OK.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="786" src="https://thegioifirewall.com/wp-content/uploads/3-68-1024x786.png" alt="" class="wp-image-13653" srcset="https://thegioifirewall.com/wp-content/uploads/3-68-1024x786.png 1024w, https://thegioifirewall.com/wp-content/uploads/3-68-300x230.png 300w, https://thegioifirewall.com/wp-content/uploads/3-68-768x589.png 768w, https://thegioifirewall.com/wp-content/uploads/3-68-1536x1179.png 1536w, https://thegioifirewall.com/wp-content/uploads/3-68-2048x1572.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Sau đó chúng ta sẽ thấy được ứng dụng Facebook đã được thêm vào bảng tại Application and Filter Overrides.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="331" src="https://thegioifirewall.com/wp-content/uploads/4-71-1024x331.png" alt="" class="wp-image-13654" srcset="https://thegioifirewall.com/wp-content/uploads/4-71-1024x331.png 1024w, https://thegioifirewall.com/wp-content/uploads/4-71-300x97.png 300w, https://thegioifirewall.com/wp-content/uploads/4-71-768x249.png 768w, https://thegioifirewall.com/wp-content/uploads/4-71-1536x497.png 1536w, https://thegioifirewall.com/wp-content/uploads/4-71.png 1872w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">Sau khi đã hoàn thành các yêu cầu theo tình huống cấu hình, chúng ta nhấn OK để lưu Application Control profile.</p>



<h3 class="wp-block-heading"><strong>5.3. Gán Application Control profile vào policy</strong></h3>



<p class="wp-block-paragraph">Sau khi đã tạo xong Application Control profile, chúng ta cần add chúng ta policy cho phép người dùng trong mạng nội bộ truy cập internet.</p>



<p class="wp-block-paragraph">Để add chúng ta vào Policy &amp; Object &gt; Firewall Policy &gt;&nbsp; nhấn đúp chuột trái vào policy cho phép truy cập internet để chỉnh sửa.</p>



<p class="wp-block-paragraph">Chúng ta kéo xuống và chú ý tại mục Security Profiles, chúng ta cần tích chọn vào nút gạt tại Application Control để bật tính năng này cho policy và sau đó là chọn Application Control profiles block-app mà chúng ta đã tạo trước đó.</p>



<p class="wp-block-paragraph">Sau đó nhấn OK để lưu.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="968" src="https://thegioifirewall.com/wp-content/uploads/5-64-1024x968.png" alt="" class="wp-image-13655" srcset="https://thegioifirewall.com/wp-content/uploads/5-64-1024x968.png 1024w, https://thegioifirewall.com/wp-content/uploads/5-64-300x284.png 300w, https://thegioifirewall.com/wp-content/uploads/5-64-768x726.png 768w, https://thegioifirewall.com/wp-content/uploads/5-64-1536x1452.png 1536w, https://thegioifirewall.com/wp-content/uploads/5-64.png 1886w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://thegioifirewall.com/huong-dan-cau-hinh-application-control-chan-truy-cap-ung-dung-tren-thiet-bi-tuong-lua-fortinet/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Hướng dẫn cấu hình Web Filtering chặn truy cập web trên thiết bị tường lửa Fortinet</title>
		<link>https://thegioifirewall.com/huong-dan-cau-hinh-web-filtering-chan-truy-cap-web-tren-thiet-bi-tuong-lua-fortinet/</link>
					<comments>https://thegioifirewall.com/huong-dan-cau-hinh-web-filtering-chan-truy-cap-web-tren-thiet-bi-tuong-lua-fortinet/#respond</comments>
		
		<dc:creator><![CDATA[TrungNghia]]></dc:creator>
		<pubDate>Tue, 18 Jan 2022 01:55:00 +0000</pubDate>
				<category><![CDATA[Hướng dẫn cấu hình Firewall Fortigate]]></category>
		<category><![CDATA[Hướng dẫn cấu hình Web Filtering chặn truy cập web trên thiết bị tường lửa Fortinet]]></category>
		<guid isPermaLink="false">https://www.thegioifirewall.com/?p=13636</guid>

					<description><![CDATA[1.Mục đích bài viết Trong bài viết này Thegioifirewall sẽ hướng dẫn các bạn cách cấu hình Web Filtering để ngăn chặn người dùng truy cập các trang web không mong muốn. 2.Sơ đồ mạng Chi tiết sơ đồ mạng: Chúng ta có thiết bị tường lửa Fortinet được kết nối internet tại cổng wan1 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>1.Mục đích bài viết</strong></h2>



<p class="wp-block-paragraph">Trong bài viết này Thegioifirewall sẽ hướng dẫn các bạn cách cấu hình Web Filtering để ngăn chặn người dùng truy cập các trang web không mong muốn.</p>



<h2 class="wp-block-heading"><strong>2.Sơ đồ mạng</strong></h2>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="414" src="https://thegioifirewall.com/wp-content/uploads/Drawing1-19-1024x414.png" alt="" class="wp-image-13637" srcset="https://thegioifirewall.com/wp-content/uploads/Drawing1-19-1024x414.png 1024w, https://thegioifirewall.com/wp-content/uploads/Drawing1-19-300x121.png 300w, https://thegioifirewall.com/wp-content/uploads/Drawing1-19-768x311.png 768w, https://thegioifirewall.com/wp-content/uploads/Drawing1-19-1536x621.png 1536w, https://thegioifirewall.com/wp-content/uploads/Drawing1-19.png 1703w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Chi tiết sơ đồ mạng:</strong></p>



<p class="wp-block-paragraph">Chúng ta có thiết bị tường lửa Fortinet được kết nối internet tại cổng wan1 với IP tĩnh là 115.78.x.x.</p>



<p class="wp-block-paragraph">Lớp mạng LAN của thiết bị Fortinet được cấu hình tại cổng internal3 với IP là 10.10.12.1/24 và đã được cấu hình DHCP để cấp phát cho các thiết bị kết nối tới nó.</p>



<p class="wp-block-paragraph">Cuối cùng là máy tính Computer 1 nhận DHCP từ Fortinet có IP 10.10.12.100/24.</p>



<p class="wp-block-paragraph">Trên thiết bị Fortinet này đã được cấu hình các policy, NAT, routing,… để các máy tính trong mạng LAN như máy Computer 1 đã có thể truy cập internet.</p>



<h2 class="wp-block-heading"><strong>3.Tình huống cấu hình</strong></h2>



<p class="wp-block-paragraph">Thegioifirewall sẽ thực hiện cấu hình tính năng Web Filter để chặn truy cập trang facebook và chặn các trang web liên quan đến nội dung người lớn.</p>



<h2 class="wp-block-heading"><strong>4.Các bước cấu hình</strong></h2>



<ul class="wp-block-list"><li>Kiểm tra lại license Web Filter.</li><li>Tạo Web Filter profile.</li><li>Gán Web Filter profile vào policy.</li></ul>



<h2 class="wp-block-heading"><strong>5.Hướng dẫn cấu hình</strong></h2>



<h3 class="wp-block-heading"><strong>5.1.Kiểm tra lại license Web Filter.</strong></h3>



<p class="wp-block-paragraph">Trước tiên để cấu hình và sử dụng tính năng Web Filter trên Fortinet chúng ta cần phải đảm rằng thiết bị tường lửa Fortinet đã kích hoạt license Web Filter.</p>



<p class="wp-block-paragraph">Để kiểm tra chúng ta vào System &gt; FeatureVisibility.</p>



<p class="wp-block-paragraph">Tại Security Feature chúng ta cần phải đảm bảo rằng tính năng Web Filter đã được kích hoạt.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="578" src="https://thegioifirewall.com/wp-content/uploads/1-67-1024x578.png" alt="" class="wp-image-13638" srcset="https://thegioifirewall.com/wp-content/uploads/1-67-1024x578.png 1024w, https://thegioifirewall.com/wp-content/uploads/1-67-300x169.png 300w, https://thegioifirewall.com/wp-content/uploads/1-67-768x433.png 768w, https://thegioifirewall.com/wp-content/uploads/1-67-1536x866.png 1536w, https://thegioifirewall.com/wp-content/uploads/1-67-2048x1155.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading"><strong>5.2.Tạo Web Filter profile</strong></h3>



<p class="wp-block-paragraph">Sau khi đảm bảo rằng license Web Filter đã được kích hoạt, để sử dụng tính năng chúng ta cần phải tạo Web Filter profile.</p>



<p class="wp-block-paragraph">Web Filter profile là nơi để chúng ta có thể tùy chọn thêm bớt các danh mục, URL tùy chỉnh vào danh sách các trang web mà chúng ta muốn chặn.</p>



<p class="wp-block-paragraph">Để tạo Web Filter profile chúng ta vào Security Profile &gt; Web Filter &gt; nhấn Create New.</p>



<p class="wp-block-paragraph">Đầu tiên chúng ta cần đặt tên nó, ở đây mình sẽ đặt tên là block-web.</p>



<p class="wp-block-paragraph">Tại Feature set chúng ta chọn Flow-based và bật tính năng FortiGuard category based filter.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="201" src="https://thegioifirewall.com/wp-content/uploads/2-65-1024x201.png" alt="" class="wp-image-13639" srcset="https://thegioifirewall.com/wp-content/uploads/2-65-1024x201.png 1024w, https://thegioifirewall.com/wp-content/uploads/2-65-300x59.png 300w, https://thegioifirewall.com/wp-content/uploads/2-65-768x151.png 768w, https://thegioifirewall.com/wp-content/uploads/2-65-1536x301.png 1536w, https://thegioifirewall.com/wp-content/uploads/2-65.png 1875w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Phía dưới chúng ta sẽ có một bảng danh sách các danh mục web mà Fortinet đã phân loại.</p>



<p class="wp-block-paragraph">Như tình huống cấu hình đã đề cập phía trên chúng ta sẽ chặn truy cập các trang web người lớn.</p>



<p class="wp-block-paragraph">Các bạn kéo chuột xuống phía dưới sẽ thấy có các danh mục được đánh dấu là Adult/Mature Content đây là nơi chứa các danh mục web người lớn.</p>



<p class="wp-block-paragraph">Ví dụ ở đây mình sẽ block truy cập 2 danh mục là Pornography và Nudity and Risque.</p>



<p class="wp-block-paragraph">Để block 2 danh lục mục này chúng ta chỉ cần nhấn vào danh mục đó và chọn action Block ở phía đầu bảng.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="610" src="https://thegioifirewall.com/wp-content/uploads/3-67-1024x610.png" alt="" class="wp-image-13640" srcset="https://thegioifirewall.com/wp-content/uploads/3-67-1024x610.png 1024w, https://thegioifirewall.com/wp-content/uploads/3-67-300x179.png 300w, https://thegioifirewall.com/wp-content/uploads/3-67-768x458.png 768w, https://thegioifirewall.com/wp-content/uploads/3-67-1536x916.png 1536w, https://thegioifirewall.com/wp-content/uploads/3-67.png 1867w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Tiếp theo để block trang facebook.com thì chúng ta cần sử dụng tính năng Static URL Filter.</p>



<p class="wp-block-paragraph">Để cấu hình tính năng này chúng ta kéo xuống phía dưới sẽ thấy phần Static URL Filter, chúng ta nhấn vào nút gạt tại URL Filter.</p>



<p class="wp-block-paragraph">Sau đó một bảng sẽ xuất hiện để chúng ta add thông số.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="457" src="https://thegioifirewall.com/wp-content/uploads/4-70-1024x457.png" alt="" class="wp-image-13641" srcset="https://thegioifirewall.com/wp-content/uploads/4-70-1024x457.png 1024w, https://thegioifirewall.com/wp-content/uploads/4-70-300x134.png 300w, https://thegioifirewall.com/wp-content/uploads/4-70-768x343.png 768w, https://thegioifirewall.com/wp-content/uploads/4-70-1536x686.png 1536w, https://thegioifirewall.com/wp-content/uploads/4-70.png 1867w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Để cấu hình thông số chúng ta nhấn Create New.</p>



<ul class="wp-block-list"><li>URL: nhập đường dẫn faecbook.com.</li><li>Type: chọn Wildcard.</li><li>Action: chọn Block.</li><li>Status: chọn Enable.</li><li>Nhấn OK.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="250" src="https://thegioifirewall.com/wp-content/uploads/5-63-1024x250.png" alt="" class="wp-image-13642" srcset="https://thegioifirewall.com/wp-content/uploads/5-63-1024x250.png 1024w, https://thegioifirewall.com/wp-content/uploads/5-63-300x73.png 300w, https://thegioifirewall.com/wp-content/uploads/5-63-768x187.png 768w, https://thegioifirewall.com/wp-content/uploads/5-63-1536x375.png 1536w, https://thegioifirewall.com/wp-content/uploads/5-63-2048x499.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Sau khi cấu hình xong URL Filter mà chúng ta vừa sẽ hiển thị như sau.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="499" src="https://thegioifirewall.com/wp-content/uploads/6-61-1024x499.png" alt="" class="wp-image-13643" srcset="https://thegioifirewall.com/wp-content/uploads/6-61-1024x499.png 1024w, https://thegioifirewall.com/wp-content/uploads/6-61-300x146.png 300w, https://thegioifirewall.com/wp-content/uploads/6-61-768x374.png 768w, https://thegioifirewall.com/wp-content/uploads/6-61-1536x748.png 1536w, https://thegioifirewall.com/wp-content/uploads/6-61.png 1859w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Sau khi đã hoàn thành các yêu cầu theo tình huống cấu hình, chúng ta nhấn OK để lưu Web Filter profile.</p>



<h3 class="wp-block-heading"><strong>5.3. Gán Web Filter profile vào policy</strong></h3>



<p class="wp-block-paragraph">Sau khi đã tạo xong Web Filter profile, chúng ta cần add chúng ta policy cho phép người dùng trong mạng nội bộ truy cập internet.</p>



<p class="wp-block-paragraph">Để add chúng ta vào Policy &amp; Object &gt; Firewall Policy &gt;&nbsp; nhấn đúp chuột trái vào policy cho phép truy cập internet để chỉnh sửa.</p>



<p class="wp-block-paragraph">Chúng ta kéo xuống và chú ý tại mục Security Profiles, chúng ta cần tích chọn vào nút gạt tại Web Filter để bật tính năng này cho policy và sau đó là chọn Web Filter profiles block-web mà chúng ta đã tạo trước đó.</p>



<p class="wp-block-paragraph">Sau đó nhấn OK để lưu.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="964" src="https://thegioifirewall.com/wp-content/uploads/7-50-1024x964.png" alt="" class="wp-image-13644" srcset="https://thegioifirewall.com/wp-content/uploads/7-50-1024x964.png 1024w, https://thegioifirewall.com/wp-content/uploads/7-50-300x283.png 300w, https://thegioifirewall.com/wp-content/uploads/7-50-768x723.png 768w, https://thegioifirewall.com/wp-content/uploads/7-50-1536x1446.png 1536w, https://thegioifirewall.com/wp-content/uploads/7-50.png 1886w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://thegioifirewall.com/huong-dan-cau-hinh-web-filtering-chan-truy-cap-web-tren-thiet-bi-tuong-lua-fortinet/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Hướng dẫn cấu hình IPsec VPN giữa AWS và Fortinet Firewall</title>
		<link>https://thegioifirewall.com/huong-dan-cau-hinh-ipsec-vpn-giua-aws-va-fortinet-firewall/</link>
					<comments>https://thegioifirewall.com/huong-dan-cau-hinh-ipsec-vpn-giua-aws-va-fortinet-firewall/#respond</comments>
		
		<dc:creator><![CDATA[TrungNghia]]></dc:creator>
		<pubDate>Thu, 25 Nov 2021 04:16:00 +0000</pubDate>
				<category><![CDATA[Hướng dẫn cấu hình Firewall Fortigate]]></category>
		<category><![CDATA[Hướng dẫn cấu hình IPsec VPN giữa AWS và Fortinet Firewall]]></category>
		<guid isPermaLink="false">https://www.thegioifirewall.com/?p=13266</guid>

					<description><![CDATA[1. Mục đích bài viết Trong bài viết này thegioifirewall sẽ hướng dẫn các bạn cách cấu hình IPSec VPN Site to site giữa thiết bị Firewall Fortinet với AWS. 2. Sơ đồ mạng Chi tiết sơ đồ mạng: Fortinet Firewall: Đường truyền internet được kết nối tại wan1 của thiết bị Fortinet Firewall với [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>1. M</strong><strong>ụ</strong><strong>c </strong><strong>đ</strong><strong>í</strong><strong>ch b</strong><strong>à</strong><strong>i vi</strong><strong>ế</strong><strong>t</strong></h2>



<p class="wp-block-paragraph">Trong bài viết này thegioifirewall sẽ hướng dẫn các bạn cách cấu hình IPSec VPN Site to site giữa thiết bị Firewall Fortinet với AWS.</p>



<h2 class="wp-block-heading"><strong>2. S</strong><strong>ơ</strong><strong> </strong><strong>đồ</strong><strong> m</strong><strong>ạ</strong><strong>ng</strong></h2>





<p class="wp-block-paragraph"><strong>Chi tiết sơ đồ mạng:</strong></p>



<p class="wp-block-paragraph"><strong>Fortinet Firewall:</strong></p>



<ul class="wp-block-list"><li>Đường truyền internet được kết nối tại wan1 của thiết bị Fortinet Firewall với IP 115.78.x.x.</li><li>Mạng LAN của thiết bị Fortinet Firewall được cấu hình tại Port 2 với IP 10.10.8.0/23 và đã cấu hình DHCP để cấp phát cho các thiết bị kết nối tới nó.</li></ul>



<p class="wp-block-paragraph"><strong>AWS:</strong></p>



<ul class="wp-block-list"><li>AWS có IP WAN là 3.137.101.133.</li><li>Trong mạng LAN có Linux server với IP 172.31.42.255/20.</li></ul>



<h2 class="wp-block-heading"><strong>3. Tình hu</strong><strong>ố</strong><strong>ng c</strong><strong>ấ</strong><strong>u h</strong><strong>ì</strong><strong>nh</strong></h2>



<p class="wp-block-paragraph">Dựa theo sơ đồ trên chúng ta sẽ cấu hình IPSec VPN Site to site giữa Fortinet Firewall và AWS để cả 2 mạng LAN của 2 bên có thể giao tiếp với nhau.</p>



<h2 class="wp-block-heading"><strong>4. Các b</strong><strong>ướ</strong><strong>c c</strong><strong>ấ</strong><strong>u h</strong><strong>ì</strong><strong>nh</strong></h2>



<p class="wp-block-paragraph"><strong>AWS:</strong></p>



<ul class="wp-block-list"><li>Tạo AWS Customer Gateway.</li><li>Tạo Virtual Private Gateway.</li><li>Tạo Site-to-site VPN connection.</li><li>Tạo route.</li><li>Tải xuống file cấu hình VPN và tổng hợp các thông tin cần thiết.</li></ul>



<p class="wp-block-paragraph"><strong>Fortinet Firewall:</strong></p>



<ul class="wp-block-list"><li>Tạo profile cho Local và Remote subnet.</li><li>Tạo VPN tunnels.</li><li>Tạo Static Routes.</li><li>Tạo Policy.</li></ul>



<p class="wp-block-paragraph"><strong>Kiểm tra kết quả.</strong></p>



<h2 class="wp-block-heading"><strong>5. H</strong><strong>ướ</strong><strong>ng d</strong><strong>ẫ</strong><strong>n c</strong><strong>ấ</strong><strong>u h</strong><strong>ì</strong><strong>nh.</strong></h2>



<h3 class="wp-block-heading"><strong>5.1. AWS.</strong></h3>



<h4 class="wp-block-heading"><strong>5.1.1. T</strong><strong>ạ</strong><strong>o AWS Customer Gateway</strong></h4>



<p class="wp-block-paragraph">Đăng nhập vào trang AWS Portal với tài khoản quản trị.</p>



<p class="wp-block-paragraph">Nhấn vào Services và chọn VPC.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="481" src="https://thegioifirewall.com/wp-content/uploads/1-48-1024x481.png" alt="" class="wp-image-12605" srcset="https://thegioifirewall.com/wp-content/uploads/1-48-1024x481.png 1024w, https://thegioifirewall.com/wp-content/uploads/1-48-300x141.png 300w, https://thegioifirewall.com/wp-content/uploads/1-48-768x361.png 768w, https://thegioifirewall.com/wp-content/uploads/1-48-1536x721.png 1536w, https://thegioifirewall.com/wp-content/uploads/1-48-2048x962.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Chọn VPC của bạn tại Filter by VPC, đây là VPC bạn sẽ dùng để cấu hình IPSec VPN.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="481" src="https://thegioifirewall.com/wp-content/uploads/2-44-1024x481.png" alt="" class="wp-image-12606" srcset="https://thegioifirewall.com/wp-content/uploads/2-44-1024x481.png 1024w, https://thegioifirewall.com/wp-content/uploads/2-44-300x141.png 300w, https://thegioifirewall.com/wp-content/uploads/2-44-768x361.png 768w, https://thegioifirewall.com/wp-content/uploads/2-44-1536x721.png 1536w, https://thegioifirewall.com/wp-content/uploads/2-44-2048x962.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Đi đến VIRTUAL PRIVATE NETWORK (VPN) &gt; Customer Gateways &gt; Nhấn Create Customer Gateway.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="495" src="https://thegioifirewall.com/wp-content/uploads/3-52-1024x495.png" alt="" class="wp-image-12875" srcset="https://thegioifirewall.com/wp-content/uploads/3-52-1024x495.png 1024w, https://thegioifirewall.com/wp-content/uploads/3-52-300x145.png 300w, https://thegioifirewall.com/wp-content/uploads/3-52-768x371.png 768w, https://thegioifirewall.com/wp-content/uploads/3-52-1536x743.png 1536w, https://thegioifirewall.com/wp-content/uploads/3-52-2048x990.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Tạo Customer Gateways theo các thông số sau:</p>



<ul class="wp-block-list"><li>Name: Fortinet Firewall.</li><li>Routing: Static.</li><li>IP Address: nhập vào IP WAN của Fortinet là 115.78.x.x.</li><li>Nhấn Create Customer Gateway để tạo.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="410" src="https://thegioifirewall.com/wp-content/uploads/4-59-1024x410.png" alt="" class="wp-image-13267" srcset="https://thegioifirewall.com/wp-content/uploads/4-59-1024x410.png 1024w, https://thegioifirewall.com/wp-content/uploads/4-59-300x120.png 300w, https://thegioifirewall.com/wp-content/uploads/4-59-768x308.png 768w, https://thegioifirewall.com/wp-content/uploads/4-59-1536x616.png 1536w, https://thegioifirewall.com/wp-content/uploads/4-59-2048x821.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading"><strong>5.1.2. T</strong><strong>ạ</strong><strong>o Virtual Private Gateway</strong></h4>



<p class="wp-block-paragraph">Đến VIRTUAL PRIVATE NETWORK &gt; Virtual Private Gateways &gt; Nhấn Create Virtual Private Gateway.</p>



<p class="wp-block-paragraph">Tạo Virtual Private Gateway với các thông số sau:</p>



<ul class="wp-block-list"><li>Name tag: VPG-FortinetComunity.</li><li>ASN: Amazon default ASN.</li><li>Nhấn Create Virtual Private Gateway để tạo.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="214" src="https://thegioifirewall.com/wp-content/uploads/5-53-1024x214.png" alt="" class="wp-image-13268" srcset="https://thegioifirewall.com/wp-content/uploads/5-53-1024x214.png 1024w, https://thegioifirewall.com/wp-content/uploads/5-53-300x63.png 300w, https://thegioifirewall.com/wp-content/uploads/5-53-768x161.png 768w, https://thegioifirewall.com/wp-content/uploads/5-53-1536x321.png 1536w, https://thegioifirewall.com/wp-content/uploads/5-53-2048x429.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Tiếp theo chúng ta sẽ Add Virtual Private Gateways vừa tạo vào VPC.</p>



<p class="wp-block-paragraph">Để Add chọn Virtual Private Gateways vừa tạo &gt; nhấn Action &gt; Attach to VPC.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="199" src="https://thegioifirewall.com/wp-content/uploads/6-52-1024x199.png" alt="" class="wp-image-13269" srcset="https://thegioifirewall.com/wp-content/uploads/6-52-1024x199.png 1024w, https://thegioifirewall.com/wp-content/uploads/6-52-300x58.png 300w, https://thegioifirewall.com/wp-content/uploads/6-52-768x149.png 768w, https://thegioifirewall.com/wp-content/uploads/6-52-1536x299.png 1536w, https://thegioifirewall.com/wp-content/uploads/6-52-2048x399.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Chọn VPC mà chúng ta đã filter tại bước tạo Customer Gateways và nhấn Yes, Attach để hoàn thành.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="213" src="https://thegioifirewall.com/wp-content/uploads/7-45-1024x213.png" alt="" class="wp-image-13270" srcset="https://thegioifirewall.com/wp-content/uploads/7-45-1024x213.png 1024w, https://thegioifirewall.com/wp-content/uploads/7-45-300x62.png 300w, https://thegioifirewall.com/wp-content/uploads/7-45-768x159.png 768w, https://thegioifirewall.com/wp-content/uploads/7-45-1536x319.png 1536w, https://thegioifirewall.com/wp-content/uploads/7-45-2048x425.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Virtual Private Network đã được thêm vào VPC thành công.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="179" src="https://thegioifirewall.com/wp-content/uploads/8-46-1024x179.png" alt="" class="wp-image-13271" srcset="https://thegioifirewall.com/wp-content/uploads/8-46-1024x179.png 1024w, https://thegioifirewall.com/wp-content/uploads/8-46-300x52.png 300w, https://thegioifirewall.com/wp-content/uploads/8-46-768x134.png 768w, https://thegioifirewall.com/wp-content/uploads/8-46-1536x268.png 1536w, https://thegioifirewall.com/wp-content/uploads/8-46-2048x358.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading"><strong>5.1.3. T</strong><strong>ạ</strong><strong>o Site-to-site VPN Connection.</strong></h4>



<p class="wp-block-paragraph">Để tạo vào VIRTUAL PRIVATE NETWORK (VPN) &gt; Site-to-Site VPN Connection &gt; nhấn Create VPN Connection.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="247" src="https://thegioifirewall.com/wp-content/uploads/9-46-1024x247.png" alt="" class="wp-image-13272" srcset="https://thegioifirewall.com/wp-content/uploads/9-46-1024x247.png 1024w, https://thegioifirewall.com/wp-content/uploads/9-46-300x72.png 300w, https://thegioifirewall.com/wp-content/uploads/9-46-768x185.png 768w, https://thegioifirewall.com/wp-content/uploads/9-46-1536x370.png 1536w, https://thegioifirewall.com/wp-content/uploads/9-46-2048x493.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Tạo với các thông tin sau:</p>



<ul class="wp-block-list"><li>Name tag: S2S-AWS-to-Fortinet.</li><li>Target Gateway Type: chọn Virtual Private Gateway.</li><li>Virtual Private Gateway *: chọn Virtual Private Gateways vừa tạo ở bước trên.</li><li>Customer Gateway: chọn Existing.</li><li>Customer Gateway ID *: chọn Customer Gateway vừa tạo ở bước trên.</li><li>Routing Option: Static.</li><li>Static IP Prefixes: nhập lớp mạng LAN của Fortinet là 10.10.8.0/23.</li><li>Local IPv4 Network Cidr: nhập 10.10.8.0/23.</li><li>Remote IPv4 Network Cidr: nhập lớp mạng local của AWS là 172.31.32.0/20.</li><li>Nhấn Create VPN Connection.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="682" src="https://thegioifirewall.com/wp-content/uploads/10-42-1024x682.png" alt="" class="wp-image-13273" srcset="https://thegioifirewall.com/wp-content/uploads/10-42-1024x682.png 1024w, https://thegioifirewall.com/wp-content/uploads/10-42-300x200.png 300w, https://thegioifirewall.com/wp-content/uploads/10-42-768x511.png 768w, https://thegioifirewall.com/wp-content/uploads/10-42-1536x1023.png 1536w, https://thegioifirewall.com/wp-content/uploads/10-42-2048x1363.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading"><strong>5.1.4. T</strong><strong>ạ</strong><strong>o route</strong></h4>



<p class="wp-block-paragraph">Chúng ta cần tạo static route để route lớp mạng của AWS thông qua Virtual Gateway.</p>



<p class="wp-block-paragraph">Để tạo vào VIRTUAL PRIVATE CLOUD &gt; Route Tables &gt; tích chọn route tables đang có &gt; vào Route tab &gt; nhấn Edit Route &gt; nhấn Add route.</p>



<p class="wp-block-paragraph">Add với các thông số sau:</p>



<ul class="wp-block-list"><li>Destination: 10.10.8.0/23.</li><li>Target: chọn Virtual Gateway vừa tạo.</li><li>Nhấn Save changes.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="234" src="https://thegioifirewall.com/wp-content/uploads/11-42-1024x234.png" alt="" class="wp-image-13274" srcset="https://thegioifirewall.com/wp-content/uploads/11-42-1024x234.png 1024w, https://thegioifirewall.com/wp-content/uploads/11-42-300x69.png 300w, https://thegioifirewall.com/wp-content/uploads/11-42-768x176.png 768w, https://thegioifirewall.com/wp-content/uploads/11-42-1536x351.png 1536w, https://thegioifirewall.com/wp-content/uploads/11-42-2048x468.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading"><strong>5.1.5. T</strong><strong>ả</strong><strong>i xu</strong><strong>ố</strong><strong>ng file c</strong><strong>ấ</strong><strong>u h</strong><strong>ì</strong><strong>nh VPN v</strong><strong>à</strong><strong> t</strong><strong>ổ</strong><strong>ng h</strong><strong>ợ</strong><strong>p c</strong><strong>á</strong><strong>c th</strong><strong>ô</strong><strong>ng tin c</strong><strong>ầ</strong><strong>n thi</strong><strong>ế</strong><strong>t.</strong></h4>



<p class="wp-block-paragraph">Sau khi tạo VPN Connection chúng ta sẽ tích chọn VPN Connection vừa tạo và nhấn Download Configuration.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="145" src="https://thegioifirewall.com/wp-content/uploads/12-39-1024x145.png" alt="" class="wp-image-13275" srcset="https://thegioifirewall.com/wp-content/uploads/12-39-1024x145.png 1024w, https://thegioifirewall.com/wp-content/uploads/12-39-300x42.png 300w, https://thegioifirewall.com/wp-content/uploads/12-39-768x109.png 768w, https://thegioifirewall.com/wp-content/uploads/12-39-1536x217.png 1536w, https://thegioifirewall.com/wp-content/uploads/12-39-2048x290.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Chọn các thông tin như sau để download file cấu hình:</p>



<ul class="wp-block-list"><li>Vendor: Generic.</li><li>Platform: Generic.</li><li>Software: Vendor Agnostic.</li><li>Ike Version: ikev2.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="433" src="https://thegioifirewall.com/wp-content/uploads/13-36-1024x433.png" alt="" class="wp-image-13276" srcset="https://thegioifirewall.com/wp-content/uploads/13-36-1024x433.png 1024w, https://thegioifirewall.com/wp-content/uploads/13-36-300x127.png 300w, https://thegioifirewall.com/wp-content/uploads/13-36-768x325.png 768w, https://thegioifirewall.com/wp-content/uploads/13-36-1536x650.png 1536w, https://thegioifirewall.com/wp-content/uploads/13-36.png 1928w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Chúng ta bật file cấu hình vừa download về chúng ta sẽ có các thông tin như sau.</p>



<p class="wp-block-paragraph">Phase 1 và Phase 2 của kết nối IPSec.</p>



<p class="wp-block-paragraph">Phase 1:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="375" src="https://thegioifirewall.com/wp-content/uploads/14-33-1024x375.png" alt="" class="wp-image-13277" srcset="https://thegioifirewall.com/wp-content/uploads/14-33-1024x375.png 1024w, https://thegioifirewall.com/wp-content/uploads/14-33-300x110.png 300w, https://thegioifirewall.com/wp-content/uploads/14-33-768x282.png 768w, https://thegioifirewall.com/wp-content/uploads/14-33-1536x563.png 1536w, https://thegioifirewall.com/wp-content/uploads/14-33-2048x751.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Phase 2:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="238" src="https://thegioifirewall.com/wp-content/uploads/15-31-1024x238.png" alt="" class="wp-image-13278" srcset="https://thegioifirewall.com/wp-content/uploads/15-31-1024x238.png 1024w, https://thegioifirewall.com/wp-content/uploads/15-31-300x70.png 300w, https://thegioifirewall.com/wp-content/uploads/15-31-768x178.png 768w, https://thegioifirewall.com/wp-content/uploads/15-31-1536x357.png 1536w, https://thegioifirewall.com/wp-content/uploads/15-31-2048x475.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Thông tin về IP WAN của AWS và Fortinet.</p>



<ul class="wp-block-list"><li>IP WAN AWS: 3.137.101.133.</li><li>IP WAN Fortinet: 115.78.x.x.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="127" src="https://thegioifirewall.com/wp-content/uploads/16-31-1024x127.png" alt="" class="wp-image-13279" srcset="https://thegioifirewall.com/wp-content/uploads/16-31-1024x127.png 1024w, https://thegioifirewall.com/wp-content/uploads/16-31-300x37.png 300w, https://thegioifirewall.com/wp-content/uploads/16-31-768x95.png 768w, https://thegioifirewall.com/wp-content/uploads/16-31.png 1395w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">5.2.Fortinet Firewall</h3>



<p class="wp-block-paragraph"><strong>5.2.1.Tạo profile cho Local và Remote subnet</strong></p>



<p class="wp-block-paragraph">Chúng ta sẽ thực hiện tạo profile cho Local và Remote subnet.</p>



<p class="wp-block-paragraph">Để tạo vào Policy &amp; Objects &gt; Addresses &gt; nhấn Create New &gt; Address.</p>



<p class="wp-block-paragraph">Tạo profile cho Remote subnet với các thông số sau:</p>



<ul class="wp-block-list"><li>Name: LAN_Fortinet.</li><li>Type: Subnet.</li><li>IP/Netmask: 10.10.8.0/23.</li><li>Interface: any.</li><li>Nhấn OK để lưu.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="777" src="https://thegioifirewall.com/wp-content/uploads/17-29-1024x777.png" alt="" class="wp-image-13280" srcset="https://thegioifirewall.com/wp-content/uploads/17-29-1024x777.png 1024w, https://thegioifirewall.com/wp-content/uploads/17-29-300x228.png 300w, https://thegioifirewall.com/wp-content/uploads/17-29-768x583.png 768w, https://thegioifirewall.com/wp-content/uploads/17-29-1536x1166.png 1536w, https://thegioifirewall.com/wp-content/uploads/17-29.png 1924w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Tương tự các bước trên chúng ta sẽ tạo profile cho Local subnet theo các thông số sau:</p>



<ul class="wp-block-list"><li>Name: LAN_AWS.</li><li>Type: Subnet.</li><li>IP/Netmask: 172.31.32.0/20.</li><li>Interface: any.</li></ul>



<p class="wp-block-paragraph">Nhấn OK để lưu.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="749" src="https://thegioifirewall.com/wp-content/uploads/18-28-1024x749.png" alt="" class="wp-image-13281" srcset="https://thegioifirewall.com/wp-content/uploads/18-28-1024x749.png 1024w, https://thegioifirewall.com/wp-content/uploads/18-28-300x219.png 300w, https://thegioifirewall.com/wp-content/uploads/18-28-768x562.png 768w, https://thegioifirewall.com/wp-content/uploads/18-28-1536x1123.png 1536w, https://thegioifirewall.com/wp-content/uploads/18-28.png 1924w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading"><strong>5.3.2.T</strong><strong>ạ</strong><strong>o VPN Tunnels</strong></h4>



<p class="wp-block-paragraph">Để tạo VPN Tunnels vào VPN &gt; IPSec Tunnels &gt; nhấn Create New.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="315" height="158" src="https://thegioifirewall.com/wp-content/uploads/image-2395.png" alt="" class="wp-image-10941" srcset="https://thegioifirewall.com/wp-content/uploads/image-2395.png 315w, https://thegioifirewall.com/wp-content/uploads/image-2395-300x150.png 300w" sizes="auto, (max-width: 315px) 100vw, 315px" /></figure>



<p class="wp-block-paragraph">Bảng VPN Create Wizard hiện ra điền các thông tin cấu hình như sau:</p>



<ul class="wp-block-list"><li>Name: VPN_FG_to_AWS</li><li>Template type: chọn Custom</li><li>Nhấn Next để tiếp tục.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="247" src="https://thegioifirewall.com/wp-content/uploads/19-26-1024x247.png" alt="" class="wp-image-13282" srcset="https://thegioifirewall.com/wp-content/uploads/19-26-1024x247.png 1024w, https://thegioifirewall.com/wp-content/uploads/19-26-300x72.png 300w, https://thegioifirewall.com/wp-content/uploads/19-26-768x185.png 768w, https://thegioifirewall.com/wp-content/uploads/19-26-1536x371.png 1536w, https://thegioifirewall.com/wp-content/uploads/19-26-2048x494.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Chúng ta sẽ cấu hình bảng Network với các thông số sau:</p>



<ul class="wp-block-list"><li>IP Version: IPv4</li><li>Remote Gateway: Static IP Address</li><li>IP Address: điền IP WAN của AWS là 3.137.101.133.</li><li>Interface: chọn cổng WAN của thiết bị Fortinet dùng để thiết lập kết nối VPN. Theo sơ đồ chọn cổng wan1.</li><li>Local Gateway: không bật</li><li>Mode Config: bỏ check</li><li>NAT Traversal: chọn Disable</li><li>Dead Peer Detection: chọn Disable</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="575" src="https://thegioifirewall.com/wp-content/uploads/20-22-1024x575.png" alt="" class="wp-image-13283" srcset="https://thegioifirewall.com/wp-content/uploads/20-22-1024x575.png 1024w, https://thegioifirewall.com/wp-content/uploads/20-22-300x169.png 300w, https://thegioifirewall.com/wp-content/uploads/20-22-768x432.png 768w, https://thegioifirewall.com/wp-content/uploads/20-22-1536x863.png 1536w, https://thegioifirewall.com/wp-content/uploads/20-22.png 1550w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Bảng Authentication:</p>



<ul class="wp-block-list"><li>Method: chọn Pre-sahred Key</li><li>Pre-shared Key: nhập mật khẩu để thiết lập kết nối VPN (thông tin preshared-key được lưu tại Phase 1 của file cấu hình VPN download về từ AWS).</li><li>IKE Version: 2</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="258" src="https://thegioifirewall.com/wp-content/uploads/21-21-1024x258.png" alt="" class="wp-image-13284" srcset="https://thegioifirewall.com/wp-content/uploads/21-21-1024x258.png 1024w, https://thegioifirewall.com/wp-content/uploads/21-21-300x75.png 300w, https://thegioifirewall.com/wp-content/uploads/21-21-768x193.png 768w, https://thegioifirewall.com/wp-content/uploads/21-21-1536x386.png 1536w, https://thegioifirewall.com/wp-content/uploads/21-21.png 1554w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Bảng Phrase 1 Proposal: nhập vào các thông tin phase1 trong file cấu hình tải từ AWS.</p>



<ul class="wp-block-list"><li>Encryption: AES128</li><li>Authentication: SHA1</li><li>Diffe-Hellman Group: chọn 2</li><li>Key Liftime (second): 28800</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="342" src="https://thegioifirewall.com/wp-content/uploads/22-17-1024x342.png" alt="" class="wp-image-13285" srcset="https://thegioifirewall.com/wp-content/uploads/22-17-1024x342.png 1024w, https://thegioifirewall.com/wp-content/uploads/22-17-300x100.png 300w, https://thegioifirewall.com/wp-content/uploads/22-17-768x257.png 768w, https://thegioifirewall.com/wp-content/uploads/22-17-1536x514.png 1536w, https://thegioifirewall.com/wp-content/uploads/22-17.png 1552w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Bảng Phrase 2 Selectors:</p>



<ul class="wp-block-list"><li>Local Address: Chọn Subnet và điền lớp mạng LAN 10.10.8.0/23 của Fortinet vào.</li><li>Remote Address: Chọn Subnet và điền lớp mạng LAN 172.31.32.0/20 của AWS vào.</li></ul>



<p class="wp-block-paragraph">Bảng New Phase 2:</p>



<ul class="wp-block-list"><li>Encryption: AES128</li><li>Authentication: SHA1</li><li>Enable Perfect Forward Secrecy: tích chọn và chọn Group 2.</li><li>Key Lifetime: chọn Seconds</li><li>Second: 3600</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="897" height="1024" src="https://thegioifirewall.com/wp-content/uploads/23-17-897x1024.png" alt="" class="wp-image-13286" srcset="https://thegioifirewall.com/wp-content/uploads/23-17-897x1024.png 897w, https://thegioifirewall.com/wp-content/uploads/23-17-263x300.png 263w, https://thegioifirewall.com/wp-content/uploads/23-17-768x876.png 768w, https://thegioifirewall.com/wp-content/uploads/23-17-1346x1536.png 1346w, https://thegioifirewall.com/wp-content/uploads/23-17.png 1410w" sizes="auto, (max-width: 897px) 100vw, 897px" /></figure>



<p class="wp-block-paragraph">Nhấn OK để tạo IPSec Tunnels.</p>



<h4 class="wp-block-heading"><strong>5.3.3.T</strong><strong>ạ</strong><strong>o Static Routes</strong></h4>



<p class="wp-block-paragraph">Chúng ta cần tạo một static route để định tuyến đường đi đến lớp mạng LAN của AWS thông qua kết nối VPN vừa tạo cho thiết bị tường lửa Fortinet.</p>



<p class="wp-block-paragraph">Để tạo vào Network &gt; Static Routes và nhấn Create New.</p>



<p class="wp-block-paragraph">Cấu hình theo các thông số sau:</p>



<ul class="wp-block-list"><li>Destination: nhập lớp mạng LAN của AWS là 172.31.32.0/20.</li><li>Interface: chọn IPSec tunnels VPN_FG_2_AWS vừa tạo.</li><li>Status: chọn Enable.</li><li>Nhấn OK để lưu.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="361" src="https://thegioifirewall.com/wp-content/uploads/24-20-1024x361.png" alt="" class="wp-image-13287" srcset="https://thegioifirewall.com/wp-content/uploads/24-20-1024x361.png 1024w, https://thegioifirewall.com/wp-content/uploads/24-20-300x106.png 300w, https://thegioifirewall.com/wp-content/uploads/24-20-768x271.png 768w, https://thegioifirewall.com/wp-content/uploads/24-20-1536x542.png 1536w, https://thegioifirewall.com/wp-content/uploads/24-20-2048x723.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading"><strong>5.3.4.T</strong><strong>ạ</strong><strong>o Policy</strong></h4>



<p class="wp-block-paragraph">Chúng ta cần tạo policy để cho kết nối VPN có thể truy cập vào mạng LAN của Fortinet và ngược lại.</p>



<p class="wp-block-paragraph">Để tạo policy vào Policy &amp; Objects &gt; IPv4 Policy và nhấn Create New.</p>



<p class="wp-block-paragraph">Cấu hình policy cho phép traffic từ lớp mạng LAN của Fortinet đi qua lớp mạng LAN của AWS theo các thông số như sau:</p>



<ul class="wp-block-list"><li>Name: LAN_TO_AWS</li><li>Incoming Interface: chọn VLAN 2(VLAN2).</li><li>Outgoing Interface: Chọn VPN Tunnels VPN_FG_2_AWS vừa tạo</li><li>Source: Chọn profile LAN_Fortinet</li><li>Destination: Chọn profile LAN_AWS</li><li>Service: Chọn ALL</li><li>Action: Chọn ACCEPT</li><li>Log Allowed Traffic: bật và chọn All Session</li><li>Enable this policy: ON</li><li>Nhấn OK để lưu</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="853" src="https://thegioifirewall.com/wp-content/uploads/25-19-1024x853.png" alt="" class="wp-image-13288" srcset="https://thegioifirewall.com/wp-content/uploads/25-19-1024x853.png 1024w, https://thegioifirewall.com/wp-content/uploads/25-19-300x250.png 300w, https://thegioifirewall.com/wp-content/uploads/25-19-768x640.png 768w, https://thegioifirewall.com/wp-content/uploads/25-19-1536x1280.png 1536w, https://thegioifirewall.com/wp-content/uploads/25-19.png 2002w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Cấu hình policy cho phép traffic từ lớp mạng LAN của AWS đi qua lớp mạng LAN của Fortinet theo các thông số như sau:</p>



<ul class="wp-block-list"><li>Name: AWS_TO_LAN</li><li>Incoming Interface: Chọn VPN Tunnels VPN_FG_2_AWS vừa tạo</li><li>Outgoing Interface: Chọn VLAN 2(VLAN2)</li><li>Source: Chọn profile LAN_AWS</li><li>Destination: Chọn LAN_Fortinet</li><li>Service: chọn ALL</li><li>Action: Chọn ACCEPT</li><li>Log Allowed Traffic: bật và chọn All Session</li><li>Enable this policy: ON</li><li>Nhấn OK để lưu</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="860" src="https://thegioifirewall.com/wp-content/uploads/26-17-1024x860.png" alt="" class="wp-image-13289" srcset="https://thegioifirewall.com/wp-content/uploads/26-17-1024x860.png 1024w, https://thegioifirewall.com/wp-content/uploads/26-17-300x252.png 300w, https://thegioifirewall.com/wp-content/uploads/26-17-768x645.png 768w, https://thegioifirewall.com/wp-content/uploads/26-17-1536x1290.png 1536w, https://thegioifirewall.com/wp-content/uploads/26-17.png 2007w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading"><strong>5.4.Ki</strong><strong>ể</strong><strong>m tra k</strong><strong>ế</strong><strong>t qu</strong><strong>ả</strong><strong>.</strong></h3>



<p class="wp-block-paragraph">Trên thiết bị Fortinet để kiểm tra xem tunnel đã chạy chưa vào VPN &gt; IPsec Tunnels &gt; nhấn vào tên của tunnels vừa tạo.</p>



<p class="wp-block-paragraph">Như hình các bạn có thể thấy tunnel đã UP.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="249" src="https://thegioifirewall.com/wp-content/uploads/27-18-1024x249.png" alt="" class="wp-image-13290" srcset="https://thegioifirewall.com/wp-content/uploads/27-18-1024x249.png 1024w, https://thegioifirewall.com/wp-content/uploads/27-18-300x73.png 300w, https://thegioifirewall.com/wp-content/uploads/27-18-768x187.png 768w, https://thegioifirewall.com/wp-content/uploads/27-18-1536x374.png 1536w, https://thegioifirewall.com/wp-content/uploads/27-18-2048x498.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Trên AWS để kiểm tra trạng thái tunnel vào VPC &gt; VIRTUAL PRIVATE NETWORK (VPN) &gt; Site-to-Site VPN Connections &gt; chọn tunnel vừa tạo &gt; nhấn vào tab Tunnel Details.</p>



<p class="wp-block-paragraph">Như các bạn thấy là tunnels với IP WAN là 3.137.101.133 đã UP.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="497" src="https://thegioifirewall.com/wp-content/uploads/28-18-1024x497.png" alt="" class="wp-image-13291" srcset="https://thegioifirewall.com/wp-content/uploads/28-18-1024x497.png 1024w, https://thegioifirewall.com/wp-content/uploads/28-18-300x146.png 300w, https://thegioifirewall.com/wp-content/uploads/28-18-768x373.png 768w, https://thegioifirewall.com/wp-content/uploads/28-18-1536x746.png 1536w, https://thegioifirewall.com/wp-content/uploads/28-18-2048x994.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Thegioifirewall sẽ dùng máy chủ Linux tại AWS để ping đến cổng LAN của Fortinet firewall để kiểm tra xem là kết nối VPN này hoạt động hay không.</p>



<p class="wp-block-paragraph">Kết quả là ping thành công đến cổng LAN của Fortinet.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="540" src="https://thegioifirewall.com/wp-content/uploads/29-15-1024x540.png" alt="" class="wp-image-13292" srcset="https://thegioifirewall.com/wp-content/uploads/29-15-1024x540.png 1024w, https://thegioifirewall.com/wp-content/uploads/29-15-300x158.png 300w, https://thegioifirewall.com/wp-content/uploads/29-15-768x405.png 768w, https://thegioifirewall.com/wp-content/uploads/29-15-1536x810.png 1536w, https://thegioifirewall.com/wp-content/uploads/29-15-2048x1080.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://thegioifirewall.com/huong-dan-cau-hinh-ipsec-vpn-giua-aws-va-fortinet-firewall/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Hướng dẫn cấu hình IPSec VPN giữa hai thiết bị tường lửa Fortinet với IP WAN là IP tĩnh</title>
		<link>https://thegioifirewall.com/huong-dan-cau-hinh-ipsec-vpn-giua-hai-thiet-bi-tuong-lua-fortinet-voi-ip-wan-la-ip-tinh/</link>
					<comments>https://thegioifirewall.com/huong-dan-cau-hinh-ipsec-vpn-giua-hai-thiet-bi-tuong-lua-fortinet-voi-ip-wan-la-ip-tinh/#respond</comments>
		
		<dc:creator><![CDATA[TrungNghia]]></dc:creator>
		<pubDate>Thu, 16 Sep 2021 04:38:00 +0000</pubDate>
				<category><![CDATA[Hướng dẫn cấu hình Firewall Fortigate]]></category>
		<category><![CDATA[Hướng dẫn cấu hình IPSec VPN giữa hai thiết bị tường lửa Fortinet với IP WAN là IP tĩnh]]></category>
		<guid isPermaLink="false">https://www.thegioifirewall.com/?p=12199</guid>

					<description><![CDATA[1.Mục đích bài viết Trong bài viết này thegioifirewall sẽ hướng dẫn cách cấu hình IPSec VPN Site to site giữa hai thiết bị tường lửa Fortinet với nhau. 2.Sơ đồ mạng Chi tiết sơ đồ mạng: Fortinet FG 1: Đường truyền internet được kết nối tại port wan2 với IP tĩnh là 203.205.x.x. Mang [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>1.Mục đích bài viết</strong></h2>



<p class="wp-block-paragraph">Trong bài viết này thegioifirewall sẽ hướng dẫn cách cấu hình IPSec VPN Site to site giữa hai thiết bị tường lửa Fortinet với nhau.</p>



<h2 class="wp-block-heading"><strong>2.Sơ đồ mạng</strong></h2>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="526" src="https://thegioifirewall.com/wp-content/uploads/Diagram-7-1024x526.png" alt="" class="wp-image-12200" srcset="https://thegioifirewall.com/wp-content/uploads/Diagram-7-1024x526.png 1024w, https://thegioifirewall.com/wp-content/uploads/Diagram-7-300x154.png 300w, https://thegioifirewall.com/wp-content/uploads/Diagram-7-768x394.png 768w, https://thegioifirewall.com/wp-content/uploads/Diagram-7-1536x789.png 1536w, https://thegioifirewall.com/wp-content/uploads/Diagram-7-2048x1052.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Chi tiết sơ đồ mạng:</strong></p>



<p class="wp-block-paragraph"><strong>Fortinet FG 1:</strong></p>



<ul class="wp-block-list"><li>Đường truyền internet được kết nối tại port wan2 với IP tĩnh là 203.205.x.x.</li><li>Mang LAN được cấu hình tại Port 5 với IP 192.168.2.1/24 và đã cấu hình DHCP.</li></ul>



<p class="wp-block-paragraph"><strong>Fortinet FG 2:</strong></p>



<ul class="wp-block-list"><li>Đường truyền internet được kết nối tại port wan2 với IP tĩnh là 14.161.x.x.</li><li>Mạng LAN được cấu hình tại Port 5 với IP 10.10.10.1/24 và đã cấu hình DHCP.</li></ul>



<h2 class="wp-block-heading"><strong>3.Tình huống cấu hình</strong></h2>



<p class="wp-block-paragraph">Theo các thông số như sơ đồ mạng trên, thegioifirewall sẽ cấu hình IPSec VPN Site to site giữa tường lửa Fortinet FG 1 và Fortinet FG 2 để 2 mạng LAN tại 2 thiết bị có thể giao tiếp với nhau.</p>



<h2 class="wp-block-heading"><strong>4.Các bước cấu hình</strong></h2>



<p class="wp-block-paragraph"><strong>Fortinet FG 1:</strong></p>



<ul class="wp-block-list"><li><strong>Tạo IPSec tunnels</strong></li></ul>



<p class="wp-block-paragraph"><strong>Fortinet FG 2:</strong></p>



<ul class="wp-block-list"><li><strong>Tạo IPSec tunnels</strong></li></ul>



<p class="wp-block-paragraph"><strong>Kiểm tra kết quả.</strong></p>



<h2 class="wp-block-heading"><strong>5.Hướng dẫn cấu hình</strong></h2>



<h3 class="wp-block-heading"><strong>5.1. Fortinet FG 1</strong></h3>



<h4 class="wp-block-heading"><strong>5.1.1. Tạo IPSec tunnels</strong></h4>



<p class="wp-block-paragraph">Để tạo IPSec tunnels chúng ta cần đăng nhập vào trang quản trị của Fortinet FG 1 và đến VPN &gt; IPsec tunnels.</p>



<p class="wp-block-paragraph">Nhấn Create New &gt; IPsec Tunnel và tạo theo các thông số sau.</p>



<p class="wp-block-paragraph">Tab VPN Setup:</p>



<ul class="wp-block-list"><li>Name: VPN_FG1_TO_FG2.</li><li>Template type: Site to Site.</li><li>NAT configuration: No NAT between sites.</li><li>Remote device type: FortiGate.</li><li>Nhấn Next.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="238" src="https://thegioifirewall.com/wp-content/uploads/1-43-1024x238.png" alt="" class="wp-image-12201" srcset="https://thegioifirewall.com/wp-content/uploads/1-43-1024x238.png 1024w, https://thegioifirewall.com/wp-content/uploads/1-43-300x70.png 300w, https://thegioifirewall.com/wp-content/uploads/1-43-768x179.png 768w, https://thegioifirewall.com/wp-content/uploads/1-43-1536x357.png 1536w, https://thegioifirewall.com/wp-content/uploads/1-43-2048x477.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Tab Authentication:</p>



<ul class="wp-block-list"><li>Remote device: IP Address.</li><li>Remote IP address: nhập IP WAN của Fortinet FG 2 là 14.161.x.x.</li><li>Outgoing Interface: chọn cổng wan2.</li><li>Authentication method: Pre-shared Key.</li><li>Pre-shared Key: nhập mật khẩu kết nối VPN.</li><li>Nhấn Next.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="227" src="https://thegioifirewall.com/wp-content/uploads/2-39-1024x227.png" alt="" class="wp-image-12202" srcset="https://thegioifirewall.com/wp-content/uploads/2-39-1024x227.png 1024w, https://thegioifirewall.com/wp-content/uploads/2-39-300x66.png 300w, https://thegioifirewall.com/wp-content/uploads/2-39-768x170.png 768w, https://thegioifirewall.com/wp-content/uploads/2-39-1536x340.png 1536w, https://thegioifirewall.com/wp-content/uploads/2-39-2048x453.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Tab Policy &amp; Routing:</p>



<p class="wp-block-paragraph">Local interface: Floor B (192.168.2.0) tức port 5.</p>



<p class="wp-block-paragraph">Local subnets: 192.168.2.0/24 (Nó sẽ tự hiện ra subnet tương ứng với Local Interface đã chọn phía trên).</p>



<p class="wp-block-paragraph">Remote subnets: nhập vào lớp mạng LAN của Fortinet FG 2 là 10.10.10.0/24.</p>



<p class="wp-block-paragraph">Nhấn Create.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="226" src="https://thegioifirewall.com/wp-content/uploads/9-37-1024x226.png" alt="" class="wp-image-12203" srcset="https://thegioifirewall.com/wp-content/uploads/9-37-1024x226.png 1024w, https://thegioifirewall.com/wp-content/uploads/9-37-300x66.png 300w, https://thegioifirewall.com/wp-content/uploads/9-37-768x169.png 768w, https://thegioifirewall.com/wp-content/uploads/9-37-1536x339.png 1536w, https://thegioifirewall.com/wp-content/uploads/9-37-2048x452.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Bảng review lại các cấu hình mà chúng ta đã nhập sẽ hiện ra, nếu chúng ta muốn thay đổi có thể bấm vào biểu tượng bút chì.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="332" src="https://thegioifirewall.com/wp-content/uploads/3-43-1024x332.png" alt="" class="wp-image-12204" srcset="https://thegioifirewall.com/wp-content/uploads/3-43-1024x332.png 1024w, https://thegioifirewall.com/wp-content/uploads/3-43-300x97.png 300w, https://thegioifirewall.com/wp-content/uploads/3-43-768x249.png 768w, https://thegioifirewall.com/wp-content/uploads/3-43-1536x498.png 1536w, https://thegioifirewall.com/wp-content/uploads/3-43-2048x665.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Sau khi tạo xong IPsec vpn tunnel sẽ hiện ra như hình dưới đây.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="303" src="https://thegioifirewall.com/wp-content/uploads/4-44-1024x303.png" alt="" class="wp-image-12205" srcset="https://thegioifirewall.com/wp-content/uploads/4-44-1024x303.png 1024w, https://thegioifirewall.com/wp-content/uploads/4-44-300x89.png 300w, https://thegioifirewall.com/wp-content/uploads/4-44-768x227.png 768w, https://thegioifirewall.com/wp-content/uploads/4-44-1536x454.png 1536w, https://thegioifirewall.com/wp-content/uploads/4-44-2048x606.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Khi kết nối VPN được tạo thì Fortinet cũng sẽ tự động tạo static route ,policy ,group address, &nbsp;… có liên quan.</p>



<p class="wp-block-paragraph">Chúng ta vào Network &gt; Interface và thấy được rằng kết nối Ipsec đã được tạo.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="384" src="https://thegioifirewall.com/wp-content/uploads/5-41-1024x384.png" alt="" class="wp-image-12206" srcset="https://thegioifirewall.com/wp-content/uploads/5-41-1024x384.png 1024w, https://thegioifirewall.com/wp-content/uploads/5-41-300x113.png 300w, https://thegioifirewall.com/wp-content/uploads/5-41-768x288.png 768w, https://thegioifirewall.com/wp-content/uploads/5-41-1536x576.png 1536w, https://thegioifirewall.com/wp-content/uploads/5-41-2048x768.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">&nbsp;Các group address của 2 lớp LAN của hai thiết bị cũng được tạo tại Policy &amp; Objects &gt; Address.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="394" src="https://thegioifirewall.com/wp-content/uploads/6-41-1024x394.png" alt="" class="wp-image-12207" srcset="https://thegioifirewall.com/wp-content/uploads/6-41-1024x394.png 1024w, https://thegioifirewall.com/wp-content/uploads/6-41-300x115.png 300w, https://thegioifirewall.com/wp-content/uploads/6-41-768x296.png 768w, https://thegioifirewall.com/wp-content/uploads/6-41-1536x591.png 1536w, https://thegioifirewall.com/wp-content/uploads/6-41-2048x788.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Static route cũng được tạo tại Network &gt; Static Routes.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="181" src="https://thegioifirewall.com/wp-content/uploads/7-35-1024x181.png" alt="" class="wp-image-12208" srcset="https://thegioifirewall.com/wp-content/uploads/7-35-1024x181.png 1024w, https://thegioifirewall.com/wp-content/uploads/7-35-300x53.png 300w, https://thegioifirewall.com/wp-content/uploads/7-35-768x136.png 768w, https://thegioifirewall.com/wp-content/uploads/7-35-1536x272.png 1536w, https://thegioifirewall.com/wp-content/uploads/7-35-2048x363.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Policy cho phép các lưu lượng đi qua lại giữa 2 mạng LAN của hai thiết bị cũng được tạo tại Policy &amp; Objects &gt; IPv4 Policy.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="429" src="https://thegioifirewall.com/wp-content/uploads/8-35-1024x429.png" alt="" class="wp-image-12209" srcset="https://thegioifirewall.com/wp-content/uploads/8-35-1024x429.png 1024w, https://thegioifirewall.com/wp-content/uploads/8-35-300x126.png 300w, https://thegioifirewall.com/wp-content/uploads/8-35-768x322.png 768w, https://thegioifirewall.com/wp-content/uploads/8-35-1536x644.png 1536w, https://thegioifirewall.com/wp-content/uploads/8-35-2048x859.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading"><strong>5.2.Fortinet FG 2</strong></h3>



<h4 class="wp-block-heading"><strong>5.2.2. Tạo IPSec tunnels</strong></h4>



<p class="wp-block-paragraph">Chúng ta cũng sẽ tạo IPSec tunnels trên Fortinet FG 2 tương tự như chúng ta đã làm trên Fortinet FG 1.</p>



<p class="wp-block-paragraph">Để tạo IPSec tunnels chúng ta cần đăng nhập vào trang quản trị của Fortinet FG 2 và đến VPN &gt; IPsec tunnels.</p>



<p class="wp-block-paragraph">Nhấn Create New &gt; IPsec Tunnel và tạo theo các thông số sau.</p>



<p class="wp-block-paragraph">Tab VPN Setup:</p>



<ul class="wp-block-list"><li>Name: VPN_FG2_TO_FG1.</li><li>Template type: Site to Site.</li><li>NAT configuration: No NAT between sites.</li><li>Remote device type: FortiGate.</li><li>Nhấn Next.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="272" src="https://thegioifirewall.com/wp-content/uploads/10-32-1024x272.png" alt="" class="wp-image-12211" srcset="https://thegioifirewall.com/wp-content/uploads/10-32-1024x272.png 1024w, https://thegioifirewall.com/wp-content/uploads/10-32-300x80.png 300w, https://thegioifirewall.com/wp-content/uploads/10-32-768x204.png 768w, https://thegioifirewall.com/wp-content/uploads/10-32-1536x408.png 1536w, https://thegioifirewall.com/wp-content/uploads/10-32-2048x544.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Tab Authentication:</p>



<ul class="wp-block-list"><li>Remote device: IP Address.</li><li>Remote IP address: nhập IP WAN của Fortinet FG 2 là 203.205.x.x.</li><li>Outgoing Interface: chọn cổng wan2.</li><li>Authentication method: Pre-shared Key.</li><li>Pre-shared Key: nhập mật khẩu kết nối VPN (lưu ý nhập giống mật khẩu đã đặt ở Fortinet FG 1).</li><li>Nhấn Next.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="256" src="https://thegioifirewall.com/wp-content/uploads/11-33-1024x256.png" alt="" class="wp-image-12212" srcset="https://thegioifirewall.com/wp-content/uploads/11-33-1024x256.png 1024w, https://thegioifirewall.com/wp-content/uploads/11-33-300x75.png 300w, https://thegioifirewall.com/wp-content/uploads/11-33-768x192.png 768w, https://thegioifirewall.com/wp-content/uploads/11-33-1536x384.png 1536w, https://thegioifirewall.com/wp-content/uploads/11-33-2048x512.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Tab Policy &amp; Routing:</p>



<p class="wp-block-paragraph">Local interface: dmz tức port 5.</p>



<p class="wp-block-paragraph">Local subnets: 10.10.10.0/24 (Nó sẽ tự hiện ra subnet tương ứng với Local Interface đã chọn phía trên).</p>



<p class="wp-block-paragraph">Remote subnets: nhập vào lớp mạng LAN của Fortinet FG 1 là 192.168.2.0/24.</p>



<p class="wp-block-paragraph">Nhấn Create.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="257" src="https://thegioifirewall.com/wp-content/uploads/12-31-1024x257.png" alt="" class="wp-image-12213" srcset="https://thegioifirewall.com/wp-content/uploads/12-31-1024x257.png 1024w, https://thegioifirewall.com/wp-content/uploads/12-31-300x75.png 300w, https://thegioifirewall.com/wp-content/uploads/12-31-768x193.png 768w, https://thegioifirewall.com/wp-content/uploads/12-31-1536x386.png 1536w, https://thegioifirewall.com/wp-content/uploads/12-31-2048x514.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Bảng review lại các cấu hình mà chúng ta đã nhập sẽ hiện ra, nếu chúng ta muốn thay đổi có thể bấm vào biểu tượng bút chì.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="376" src="https://thegioifirewall.com/wp-content/uploads/13-27-1024x376.png" alt="" class="wp-image-12214" srcset="https://thegioifirewall.com/wp-content/uploads/13-27-1024x376.png 1024w, https://thegioifirewall.com/wp-content/uploads/13-27-300x110.png 300w, https://thegioifirewall.com/wp-content/uploads/13-27-768x282.png 768w, https://thegioifirewall.com/wp-content/uploads/13-27-1536x564.png 1536w, https://thegioifirewall.com/wp-content/uploads/13-27-2048x752.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Sau khi tạo xong IPsec vpn tunnel sẽ hiện ra như hình dưới đây.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="249" src="https://thegioifirewall.com/wp-content/uploads/14-26-1024x249.png" alt="" class="wp-image-12215" srcset="https://thegioifirewall.com/wp-content/uploads/14-26-1024x249.png 1024w, https://thegioifirewall.com/wp-content/uploads/14-26-300x73.png 300w, https://thegioifirewall.com/wp-content/uploads/14-26-768x187.png 768w, https://thegioifirewall.com/wp-content/uploads/14-26-1536x374.png 1536w, https://thegioifirewall.com/wp-content/uploads/14-26-2048x498.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Khi kết nối VPN được tạo thì Fortinet cũng sẽ tự động tạo static route ,policy ,group address, &nbsp;… có liên quan.</p>



<p class="wp-block-paragraph">Chúng ta vào Network &gt; Interface và thấy được rằng kết nối Ipsec đã được tạo.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="369" src="https://thegioifirewall.com/wp-content/uploads/15-25-1024x369.png" alt="" class="wp-image-12216" srcset="https://thegioifirewall.com/wp-content/uploads/15-25-1024x369.png 1024w, https://thegioifirewall.com/wp-content/uploads/15-25-300x108.png 300w, https://thegioifirewall.com/wp-content/uploads/15-25-768x277.png 768w, https://thegioifirewall.com/wp-content/uploads/15-25-1536x553.png 1536w, https://thegioifirewall.com/wp-content/uploads/15-25-2048x738.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">&nbsp;Các group address của 2 lớp LAN của hai thiết bị cũng được tạo tại Policy &amp; Objects &gt; Address.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="333" src="https://thegioifirewall.com/wp-content/uploads/21-16-1024x333.png" alt="" class="wp-image-12218" srcset="https://thegioifirewall.com/wp-content/uploads/21-16-1024x333.png 1024w, https://thegioifirewall.com/wp-content/uploads/21-16-300x98.png 300w, https://thegioifirewall.com/wp-content/uploads/21-16-768x250.png 768w, https://thegioifirewall.com/wp-content/uploads/21-16-1536x500.png 1536w, https://thegioifirewall.com/wp-content/uploads/21-16-2048x667.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Static route cũng được tạo tại Network &gt; Static Routes.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="288" src="https://thegioifirewall.com/wp-content/uploads/16-25-1024x288.png" alt="" class="wp-image-12217" srcset="https://thegioifirewall.com/wp-content/uploads/16-25-1024x288.png 1024w, https://thegioifirewall.com/wp-content/uploads/16-25-300x84.png 300w, https://thegioifirewall.com/wp-content/uploads/16-25-768x216.png 768w, https://thegioifirewall.com/wp-content/uploads/16-25-1536x432.png 1536w, https://thegioifirewall.com/wp-content/uploads/16-25-2048x576.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Policy cho phép các lưu lượng đi qua lại giữa 2 mạng LAN của hai thiết bị cũng được tạo tại Policy &amp; Objects &gt; IPv4 Policy.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="530" src="https://thegioifirewall.com/wp-content/uploads/17-23-1024x530.png" alt="" class="wp-image-12219" srcset="https://thegioifirewall.com/wp-content/uploads/17-23-1024x530.png 1024w, https://thegioifirewall.com/wp-content/uploads/17-23-300x155.png 300w, https://thegioifirewall.com/wp-content/uploads/17-23-768x398.png 768w, https://thegioifirewall.com/wp-content/uploads/17-23-1536x796.png 1536w, https://thegioifirewall.com/wp-content/uploads/17-23-2048x1061.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading"><strong>5.3.Kiểm tra kết quả</strong></h3>



<p class="wp-block-paragraph">Để thiết lập kết nối IPSec VPN chúng ta vào Monitor &gt; IPsec Monitor trên Fortinet FG 1.</p>



<p class="wp-block-paragraph">Chúng ta chọn kết nối VPN vừa tạo và nhấn Bring Up &gt; Phase 2 Selector: VPN_FG1_TO_FG2.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="183" src="https://thegioifirewall.com/wp-content/uploads/18-22-1024x183.png" alt="" class="wp-image-12220" srcset="https://thegioifirewall.com/wp-content/uploads/18-22-1024x183.png 1024w, https://thegioifirewall.com/wp-content/uploads/18-22-300x54.png 300w, https://thegioifirewall.com/wp-content/uploads/18-22-768x137.png 768w, https://thegioifirewall.com/wp-content/uploads/18-22-1536x275.png 1536w, https://thegioifirewall.com/wp-content/uploads/18-22-2048x366.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Sau khi nhấn Bring Up thì chúng ta thấy rằng kết nối IPsec VPN đã được thiết lập với trạng thái màu xanh lá.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="152" src="https://thegioifirewall.com/wp-content/uploads/19-21-1024x152.png" alt="" class="wp-image-12221" srcset="https://thegioifirewall.com/wp-content/uploads/19-21-1024x152.png 1024w, https://thegioifirewall.com/wp-content/uploads/19-21-300x44.png 300w, https://thegioifirewall.com/wp-content/uploads/19-21-768x114.png 768w, https://thegioifirewall.com/wp-content/uploads/19-21-1536x227.png 1536w, https://thegioifirewall.com/wp-content/uploads/19-21-2048x303.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Trên thiết bị Fortinet FG 2 cũng có trạng thái màu xanh lá tương tự.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="178" src="https://thegioifirewall.com/wp-content/uploads/20-17-1024x178.png" alt="" class="wp-image-12222" srcset="https://thegioifirewall.com/wp-content/uploads/20-17-1024x178.png 1024w, https://thegioifirewall.com/wp-content/uploads/20-17-300x52.png 300w, https://thegioifirewall.com/wp-content/uploads/20-17-768x133.png 768w, https://thegioifirewall.com/wp-content/uploads/20-17-1536x267.png 1536w, https://thegioifirewall.com/wp-content/uploads/20-17-2048x356.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption>Như vậy là thegioifirewall đã thực hiện thành công cấu hình IPSec site to site VPN giữa hai thiết bị tường lửa Fortinet.</figcaption></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://thegioifirewall.com/huong-dan-cau-hinh-ipsec-vpn-giua-hai-thiet-bi-tuong-lua-fortinet-voi-ip-wan-la-ip-tinh/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Hướng dẫn cấu hình IPSec VPN Site to site giữa tường lửa Fortigate và Draytek 2925</title>
		<link>https://thegioifirewall.com/huong-dan-cau-hinh-ipsec-vpn-site-to-site-giua-tuong-lua-fortigate-va-draytek-2925/</link>
					<comments>https://thegioifirewall.com/huong-dan-cau-hinh-ipsec-vpn-site-to-site-giua-tuong-lua-fortigate-va-draytek-2925/#comments</comments>
		
		<dc:creator><![CDATA[TrungNghia]]></dc:creator>
		<pubDate>Wed, 14 Jul 2021 04:19:00 +0000</pubDate>
				<category><![CDATA[Hướng dẫn cấu hình Firewall Fortigate]]></category>
		<category><![CDATA[Hướng dẫn chung]]></category>
		<category><![CDATA[Hướng dẫn cấu hình IPSec VPN Site to site giữa tường lửa Fortigate và Draytek 2925]]></category>
		<guid isPermaLink="false">https://www.thegioifirewall.com/?p=10932</guid>

					<description><![CDATA[1.Mục đích bài viết Bài viết sẽ hướng dẫn cách cấu hình IPSec VPN Site-to-Site giữa hai thiết bị tường lửa Fortinet và Draytek Vigor2925. 2.Sơ đồ mạng Giải thích sơ đồ mạng: Site A: Chúng ta có đường internet được kết nối ở WAN 1 của thiết bị Fortigate FG-81E với IP WAN tĩnh [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">1.<strong>Mục đích bài viết</strong></h2>



<p class="wp-block-paragraph">Bài viết sẽ hướng dẫn cách cấu hình IPSec VPN Site-to-Site giữa hai thiết bị tường lửa Fortinet và Draytek Vigor2925.</p>



<h2 class="wp-block-heading">2.<strong>Sơ đồ mạng</strong></h2>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="640" src="https://thegioifirewall.com/wp-content/uploads/VPN-Fortigate-Draytek-2925-1024x640.png" alt="" class="wp-image-10933" srcset="https://thegioifirewall.com/wp-content/uploads/VPN-Fortigate-Draytek-2925-1024x640.png 1024w, https://thegioifirewall.com/wp-content/uploads/VPN-Fortigate-Draytek-2925-300x187.png 300w, https://thegioifirewall.com/wp-content/uploads/VPN-Fortigate-Draytek-2925-768x480.png 768w, https://thegioifirewall.com/wp-content/uploads/VPN-Fortigate-Draytek-2925-1536x960.png 1536w, https://thegioifirewall.com/wp-content/uploads/VPN-Fortigate-Draytek-2925-2048x1280.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Giải thích sơ đồ mạng:</strong></p>



<p class="wp-block-paragraph"><strong>Site A:</strong></p>



<ul class="wp-block-list"><li>Chúng ta có đường internet được kết nối ở WAN 1 của thiết bị Fortigate FG-81E với IP WAN tĩnh là 203.205.x.x bằng media converter.</li><li>Tiếp theo là lớp mạng LAN 192.168.2.0/24 được cấu hình ở port 2 của thiết bị Fortinet FG-81E.</li></ul>



<p class="wp-block-paragraph"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Site B:</strong></p>



<ul class="wp-block-list"><li>Chúng ta có đường internet được kết nối ở port WAN 1 của thiết bị router Draytek Vigor2925 với IP WAN tĩnh là 113.190.x.x bằng media converter.</li><li>Tiếp theo là lớp mạng LAN 192.168.4.0/24 được cấu hình ở port 1 của thiết bị Draytek.</li></ul>



<h2 class="wp-block-heading">3.<strong>Tình huống cấu hình</strong></h2>



<p class="wp-block-paragraph">Chúng ta sẽ thực cấu hình IPSec VPN Site-to-Site giữa hai thiết bị Fortinet FG-81E và Draytek Vigor2925 để lớp mạng LAN của cả hai site là 192.168.2.0/24 và 192.168.4.0/24 có thể kết nối được với nhau.</p>



<h2 class="wp-block-heading">4.<strong>Các bước cấu hình</strong></h2>



<p class="wp-block-paragraph"><strong>Trên thiết bị Draytek Vigor2925:</strong></p>



<ul class="wp-block-list"><li>Cấu hình Common Settings</li><li>Cấu hình Dial-In Settings</li><li>Cấu hình TCP/IP Network Settings</li></ul>



<p class="wp-block-paragraph"><strong>Trên thiết bị Fortinet FG-81E:</strong></p>



<ul class="wp-block-list"><li>Tạo VPN Tunnels</li><li>Tạo Static Route</li><li>Tạo Policy</li></ul>



<p class="wp-block-paragraph"><strong>Kiểm tra Kết quả</strong></p>



<h2 class="wp-block-heading">5.<strong>Hướng dẫn cấu hình</strong></h2>



<h3 class="wp-block-heading">5.1.<strong>Trên thiết bị Draytek Vigor2925</strong></h3>



<p class="wp-block-paragraph">Để tạo kết nối VPN trên Draytek chúng ta cần đăng nhập vào trang quản trị, sau đó vào VPN and Remote Access > LAN to LAN.</p>



<p class="wp-block-paragraph">Nhấn vào bất kì Index nào bạn muốn để tạo, ở đây thegioifirewall nhấn vào Index 2.</p>



<p class="wp-block-paragraph">Bảng Profile Index hiện ra chúng ta sẽ cấu hình các phần Common Settings, Dial-In Settings, TCP/IP Network Settings.</p>



<h4 class="wp-block-heading">5.1.1.<strong>Cấu hình Common Settings</strong></h4>



<p class="wp-block-paragraph">Trong phần này chúng ta sẽ cấu hình các thông số như sau:</p>



<ul class="wp-block-list"><li>Profile Name: VPN_DR_FG</li><li>Tích chọn Enable this profile</li><li>Call Direction : chọn Dial-Out ( thiết bị Draytek sẽ chờ thiết bị khác tạo kết nối VPN đến )</li><li>Tunnel Mode: chọn Always on</li><li>VPN Dial-Out Through: Chọn WAN1 First và chọn địa chỉ IP của cổng WAN1 là 113.190.x.x</li><li>Netbios Naming Packet: chọn Pass</li><li>Multicast via VPN: Block</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="271" src="https://thegioifirewall.com/wp-content/uploads/1-29-1024x271.png" alt="" class="wp-image-10934" srcset="https://thegioifirewall.com/wp-content/uploads/1-29-1024x271.png 1024w, https://thegioifirewall.com/wp-content/uploads/1-29-300x79.png 300w, https://thegioifirewall.com/wp-content/uploads/1-29-768x203.png 768w, https://thegioifirewall.com/wp-content/uploads/1-29-1536x407.png 1536w, https://thegioifirewall.com/wp-content/uploads/1-29-2048x543.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading">5.1.2.Cấu hình Dial-Out Settings</h4>



<p class="wp-block-paragraph">Trong phần này chúng ta sẽ cấu hình các thông số như sau:</p>



<ul class="wp-block-list"><li>Type of  Server I am calling: chọn IPSec Tunnel IKEv1</li><li>Server IP/Host Name for VPN: điền địa chỉ IP WAN của Fortinet FG-81E là 203.205.x.x vào.</li><li>IKE Authetication Method: tích chọn Pre-Shared Key và nhập password vào ô trống bên cạnh. (Lưu ý ghi nhớ mật khẩu này để nhập tương tự cho bên Fortinet)</li><li>IPSec Security Method: tích chọn High(ESP) và chọn 3DES with authentication.</li><li>Sau đó nhấn Advanced, bảng IKE Advanced settings hiện ra chúng ta sẽ cấu hình với các thông số sau.</li><li>IKE phrase 1 mode (IKEv1): chọn Main mode</li><li>IKE phrase 1 proposal: chọn 3DES_MD5_G2</li><li>IKE phrase 2 proposal: chọn 3DES_MD5</li><li>IKE phrase 1 key lifetime: 28800</li><li>IKE phrase 2 key lifetime: 3600</li><li>Perfect Forward Secret: chọn Disable.</li><li>Nhấn OK để lưu.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="573" src="https://thegioifirewall.com/wp-content/uploads/3-29-1024x573.png" alt="" class="wp-image-10935" srcset="https://thegioifirewall.com/wp-content/uploads/3-29-1024x573.png 1024w, https://thegioifirewall.com/wp-content/uploads/3-29-300x168.png 300w, https://thegioifirewall.com/wp-content/uploads/3-29-768x430.png 768w, https://thegioifirewall.com/wp-content/uploads/3-29-1536x860.png 1536w, https://thegioifirewall.com/wp-content/uploads/3-29-2048x1146.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="602" src="https://thegioifirewall.com/wp-content/uploads/2-26-1024x602.png" alt="" class="wp-image-10936" srcset="https://thegioifirewall.com/wp-content/uploads/2-26-1024x602.png 1024w, https://thegioifirewall.com/wp-content/uploads/2-26-300x176.png 300w, https://thegioifirewall.com/wp-content/uploads/2-26-768x452.png 768w, https://thegioifirewall.com/wp-content/uploads/2-26-1536x904.png 1536w, https://thegioifirewall.com/wp-content/uploads/2-26-2048x1205.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading">5.1.3.Cấu hình TCP/IP Network Settings</h4>



<p class="wp-block-paragraph">Trong phần này chúng ta sẽ cấu hình các thông số sau:</p>



<ul class="wp-block-list"><li>Remote Network IP: nhập vào IP LAN của Fortinet FG-81E là 192.168.2.1</li><li>Remote Network Mask: chọn 255.255.240.0/20</li><li>Local Network IP: nhập vào IP LAN của Draytek là 192.168.4.1</li><li>Local Network Mask: chọn 255.255.255.0/24</li><li>Nhấn OK để lưu.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="235" src="https://thegioifirewall.com/wp-content/uploads/4-30-1024x235.png" alt="" class="wp-image-10937" srcset="https://thegioifirewall.com/wp-content/uploads/4-30-1024x235.png 1024w, https://thegioifirewall.com/wp-content/uploads/4-30-300x69.png 300w, https://thegioifirewall.com/wp-content/uploads/4-30-768x176.png 768w, https://thegioifirewall.com/wp-content/uploads/4-30-1536x353.png 1536w, https://thegioifirewall.com/wp-content/uploads/4-30-2048x471.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Quay trở lại bảng LAN-to-LAN Profiles các bạn tích chọn Enable cho profile index vừa tạo và nhấn OK để enable profile này.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="642" src="https://thegioifirewall.com/wp-content/uploads/5-27-1024x642.png" alt="" class="wp-image-10938" srcset="https://thegioifirewall.com/wp-content/uploads/5-27-1024x642.png 1024w, https://thegioifirewall.com/wp-content/uploads/5-27-300x188.png 300w, https://thegioifirewall.com/wp-content/uploads/5-27-768x482.png 768w, https://thegioifirewall.com/wp-content/uploads/5-27-1536x964.png 1536w, https://thegioifirewall.com/wp-content/uploads/5-27.png 1747w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">5.2.<strong>Trên thiết bị Fortinet FG 81E</strong></h3>



<h4 class="wp-block-heading">5.2.1.<strong>Tạo VPN Tunnels</strong></h4>



<p class="wp-block-paragraph">Để tạo VPN Tunnels vào VPN &gt; IPSec Tunnels &gt; nhấn Create New.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="315" height="158" src="https://thegioifirewall.com/wp-content/uploads/image-2395.png" alt="" class="wp-image-10941" srcset="https://thegioifirewall.com/wp-content/uploads/image-2395.png 315w, https://thegioifirewall.com/wp-content/uploads/image-2395-300x150.png 300w" sizes="auto, (max-width: 315px) 100vw, 315px" /></figure></div>



<p class="wp-block-paragraph">Bảng VPN Create Wizard hiện ra điền các thông tin cấu hình như sau:</p>



<ul class="wp-block-list"><li>Name: VPN_FG_TO_DR</li><li>Template type: chọn Custom</li><li>Nhấn Next để tiếp tục.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="169" src="https://thegioifirewall.com/wp-content/uploads/6-29-1024x169.png" alt="" class="wp-image-10939" srcset="https://thegioifirewall.com/wp-content/uploads/6-29-1024x169.png 1024w, https://thegioifirewall.com/wp-content/uploads/6-29-300x49.png 300w, https://thegioifirewall.com/wp-content/uploads/6-29-768x126.png 768w, https://thegioifirewall.com/wp-content/uploads/6-29-1536x253.png 1536w, https://thegioifirewall.com/wp-content/uploads/6-29-2048x337.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Chúng ta sẽ cấu hình bảng Network với các thông số sau:</p>



<ul class="wp-block-list"><li>IP Version: IPv4</li><li>Remote Gateway: Static IP Address</li><li>IP Address: điền IP WAN của thiết bị Draytek Vigor 2925 là 113.190.x.x</li><li>Interface: chọn cổng WAN của thiết bị Fortinet dùng để thiết lập kết nối VPN. Theo sơ đồ chọn cổng WAN2</li><li>Local Gateway: không bật</li><li>Mode Config: bỏ check</li><li>NAT Traversal: chọn Disable</li><li>Dead Peer Detection: chọn Disable</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="565" src="https://thegioifirewall.com/wp-content/uploads/7-22-1024x565.png" alt="" class="wp-image-10940" srcset="https://thegioifirewall.com/wp-content/uploads/7-22-1024x565.png 1024w, https://thegioifirewall.com/wp-content/uploads/7-22-300x165.png 300w, https://thegioifirewall.com/wp-content/uploads/7-22-768x424.png 768w, https://thegioifirewall.com/wp-content/uploads/7-22-1536x847.png 1536w, https://thegioifirewall.com/wp-content/uploads/7-22.png 1550w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Bảng Authentication:</p>



<ul class="wp-block-list"><li>Method: chọn Pre-sahred Key</li><li>Pre-shared Key: nhập mật khẩu để thiết lập kết nối VPN (lưu ý là mật khẩu này phải được đặt giống nhau trên cả 2 thiết bị Draytek và Fortinet).</li><li>IKE Version: 1</li><li>Mode: Main (ID protection)</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="347" src="https://thegioifirewall.com/wp-content/uploads/8-22-1024x347.png" alt="" class="wp-image-10942" srcset="https://thegioifirewall.com/wp-content/uploads/8-22-1024x347.png 1024w, https://thegioifirewall.com/wp-content/uploads/8-22-300x102.png 300w, https://thegioifirewall.com/wp-content/uploads/8-22-768x260.png 768w, https://thegioifirewall.com/wp-content/uploads/8-22-1536x521.png 1536w, https://thegioifirewall.com/wp-content/uploads/8-22.png 1549w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Bảng Phrase 1 Proposal:</p>



<ul class="wp-block-list"><li>Encryption: 3DES</li><li>Authentication: MD5</li><li>Diffe-Hellman Group: chọn 2</li><li>Key Liftime (second): 28800</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="342" src="https://thegioifirewall.com/wp-content/uploads/9-23-1024x342.png" alt="" class="wp-image-10943" srcset="https://thegioifirewall.com/wp-content/uploads/9-23-1024x342.png 1024w, https://thegioifirewall.com/wp-content/uploads/9-23-300x100.png 300w, https://thegioifirewall.com/wp-content/uploads/9-23-768x256.png 768w, https://thegioifirewall.com/wp-content/uploads/9-23-1536x513.png 1536w, https://thegioifirewall.com/wp-content/uploads/9-23.png 1549w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Bảng XAUTH:</p>



<ul class="wp-block-list"><li>Type: chọn Disable</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="104" src="https://thegioifirewall.com/wp-content/uploads/10-19-1024x104.png" alt="" class="wp-image-10944" srcset="https://thegioifirewall.com/wp-content/uploads/10-19-1024x104.png 1024w, https://thegioifirewall.com/wp-content/uploads/10-19-300x31.png 300w, https://thegioifirewall.com/wp-content/uploads/10-19-768x78.png 768w, https://thegioifirewall.com/wp-content/uploads/10-19-1536x157.png 1536w, https://thegioifirewall.com/wp-content/uploads/10-19.png 1549w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Bảng Phrase Selectors:</p>



<ul class="wp-block-list"><li>Local Address: Chọn Subnet và điền lớp mạng LAN 192.168.2.0/24 của Fortinet vào.</li><li>Remote Address: Chọn Subnet và điền lớp mạng LAN 192.168.4.0/24 của Draytek vào.</li><li>Nhấn Advanced… để bảng Phrase 2 Proposal hiện ra.</li></ul>



<p class="wp-block-paragraph">Bảng Phrase 2 Proposal:</p>



<ul class="wp-block-list"><li>Encryption: 3DES</li><li>Authentication: MD5</li><li>Enable Perfect Forward Secrecy: bỏ chọn</li><li>Key Lifetime: chọn Seconds</li><li>Second: 3600</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="890" height="1024" src="https://thegioifirewall.com/wp-content/uploads/11-20-890x1024.png" alt="" class="wp-image-10945" srcset="https://thegioifirewall.com/wp-content/uploads/11-20-890x1024.png 890w, https://thegioifirewall.com/wp-content/uploads/11-20-261x300.png 261w, https://thegioifirewall.com/wp-content/uploads/11-20-768x883.png 768w, https://thegioifirewall.com/wp-content/uploads/11-20.png 1160w" sizes="auto, (max-width: 890px) 100vw, 890px" /></figure>



<p class="wp-block-paragraph">Nhấn OK để tạo IPSec Tunnels.</p>



<h4 class="wp-block-heading">5.2.2.Tạo Static Routes</h4>



<p class="wp-block-paragraph">Chúng ta cần tạo một static route để định tuyến đường đi đến lớp mạng LAN của Draytek thông qua kết nối VPN vừa tạo cho thiết bị tường lửa Fortinet.</p>



<p class="wp-block-paragraph">Để tạo vào Network &gt; Static Routes và nhấn Create New.</p>



<p class="wp-block-paragraph">Cấu hình theo các thông số sau:</p>



<ul class="wp-block-list"><li>Destination: nhập lớp mạng LAN của thiết bị Draytek Vigor 2925 là 192.168.4.0/24.</li><li>Interface: chọn IPSec tunnels VPN_FG_TO_DR vừa tạo.</li><li>Status: chọn Enable.</li><li>Nhấn OK để lưu.</li></ul>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="377" src="https://thegioifirewall.com/wp-content/uploads/12-18-1024x377.png" alt="" class="wp-image-10946" srcset="https://thegioifirewall.com/wp-content/uploads/12-18-1024x377.png 1024w, https://thegioifirewall.com/wp-content/uploads/12-18-300x111.png 300w, https://thegioifirewall.com/wp-content/uploads/12-18-768x283.png 768w, https://thegioifirewall.com/wp-content/uploads/12-18.png 1517w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<h4 class="wp-block-heading">5.2.3.Tạo Policy</h4>



<p class="wp-block-paragraph">Chúng ta cần tạo policy để cho kết nối VPN có thể truy cập vào mạng LAN của Fortinet và ngược lại.</p>



<p class="wp-block-paragraph">Để tạo policy vào Policy &amp; Objects &gt; IPv4 Policy và nhấn Create New.</p>



<p class="wp-block-paragraph">Cấu hình policy cho phép traffic từ lớp mạng LAN của Fortinet đi qua lớp mạng LAN của Sophos theo các thông số như sau:</p>



<ul class="wp-block-list"><li>Name: VPN_FG_TO_DRAYTEK</li><li>Incoming Interface: Floor B (đây là interface LAN 2)</li><li>Outgoing Interface: Chọn VPN Tunnels VPN_FG_TO_DR vừa tạo</li><li>Source: Chọn 192.168.2.0 address</li><li>Destination: Chọn LAN_Draytek</li><li>Service: Chọn ALL</li><li>Action: Chọn ACCEPT</li><li>Log Allowed Traffic: bật và chọn All Session</li><li>Enable this policy: ON</li><li>Nhấn OK để lưu</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="743" src="https://thegioifirewall.com/wp-content/uploads/13-16-1024x743.png" alt="" class="wp-image-10947" srcset="https://thegioifirewall.com/wp-content/uploads/13-16-1024x743.png 1024w, https://thegioifirewall.com/wp-content/uploads/13-16-300x218.png 300w, https://thegioifirewall.com/wp-content/uploads/13-16-768x557.png 768w, https://thegioifirewall.com/wp-content/uploads/13-16-1536x1115.png 1536w, https://thegioifirewall.com/wp-content/uploads/13-16.png 2002w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Cấu hình policy cho phép traffic từ lớp mạng LAN của Draytek đi qua lớp mạng LAN của Fortinet theo các thông số như sau:</p>



<ul class="wp-block-list"><li>Name: VPN_DRAYTEK_TO_FG</li><li>Incoming Interface: Chọn VPN Tunnels VPN_FG_TO_DR vừa tạo</li><li>Outgoing Interface: Floor B (đây là interface LAN 2)</li><li>Source: Chọn LAN_Draytek</li><li>Destination: Chọn 192.168.2.0 address</li><li>Service: chọn ALL</li><li>Action: Chọn ACCEPT</li><li>Log Allowed Traffic: bật và chọn All Session</li><li>Enable this policy: ON</li><li>Nhấn OK để lưu</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="743" src="https://thegioifirewall.com/wp-content/uploads/14-14-1024x743.png" alt="" class="wp-image-10948" srcset="https://thegioifirewall.com/wp-content/uploads/14-14-1024x743.png 1024w, https://thegioifirewall.com/wp-content/uploads/14-14-300x218.png 300w, https://thegioifirewall.com/wp-content/uploads/14-14-768x557.png 768w, https://thegioifirewall.com/wp-content/uploads/14-14-1536x1115.png 1536w, https://thegioifirewall.com/wp-content/uploads/14-14.png 2005w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading"><strong>5.3.Kiểm tra kết quả</strong></h3>



<p class="wp-block-paragraph">Trên thiết bị Fortinet các bạn có thể check kết VPN thành công hay chưa bằng cách vào Monitor &gt; IPSec Monitor.</p>



<p class="wp-block-paragraph">Các bạn sẽ thấy kết nối VPN đã được thiết lập và đã có lưu lượng Incoming Data và Outgoing Data.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="95" src="https://thegioifirewall.com/wp-content/uploads/15-15-1024x95.png" alt="" class="wp-image-10949" srcset="https://thegioifirewall.com/wp-content/uploads/15-15-1024x95.png 1024w, https://thegioifirewall.com/wp-content/uploads/15-15-300x28.png 300w, https://thegioifirewall.com/wp-content/uploads/15-15-768x72.png 768w, https://thegioifirewall.com/wp-content/uploads/15-15-1536x143.png 1536w, https://thegioifirewall.com/wp-content/uploads/15-15-2048x191.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Chuyển sang thiết bị Draytek các bạn có thể check kết VPN thành công hay chưa bằng cách vào VPN and Remote Access &gt; Connection Management.</p>



<p class="wp-block-paragraph">Các bạn sẽ thấy kết nối VPN đã được thiết lập nó cung cấp trạng thái của kết nối, thời gian đã kết nối,….</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="288" src="https://thegioifirewall.com/wp-content/uploads/16-15-1024x288.png" alt="" class="wp-image-10950" srcset="https://thegioifirewall.com/wp-content/uploads/16-15-1024x288.png 1024w, https://thegioifirewall.com/wp-content/uploads/16-15-300x84.png 300w, https://thegioifirewall.com/wp-content/uploads/16-15-768x216.png 768w, https://thegioifirewall.com/wp-content/uploads/16-15-1536x431.png 1536w, https://thegioifirewall.com/wp-content/uploads/16-15.png 1745w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://thegioifirewall.com/huong-dan-cau-hinh-ipsec-vpn-site-to-site-giua-tuong-lua-fortigate-va-draytek-2925/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Hướng dẫn cấu hình IPSec VPN Site-to-Site giữa Sophos và Fortinet với IP WAN là IP tĩnh</title>
		<link>https://thegioifirewall.com/huong-dan-cau-hinh-ipsec-vpn-site-to-site-giua-sophos-va-fortinet-voi-ip-wan-la-ip-tinh/</link>
					<comments>https://thegioifirewall.com/huong-dan-cau-hinh-ipsec-vpn-site-to-site-giua-sophos-va-fortinet-voi-ip-wan-la-ip-tinh/#respond</comments>
		
		<dc:creator><![CDATA[TrungNghia]]></dc:creator>
		<pubDate>Thu, 25 Mar 2021 04:16:06 +0000</pubDate>
				<category><![CDATA[Hướng dẫn cấu hình Firewall Fortigate]]></category>
		<category><![CDATA[Hướng dẫn cấu hình Firewall Sophos XG]]></category>
		<category><![CDATA[Hướng dẫn cấu hình IPSec VPN Site-to-Site giữa Sophos và Fortinet với IP WAN là IP tĩnh]]></category>
		<category><![CDATA[IPSec VPN site to site]]></category>
		<category><![CDATA[VPN Sophos và Fortinet]]></category>
		<guid isPermaLink="false">https://www.thegioifirewall.com/?p=9182</guid>

					<description><![CDATA[1. Mục đích bài viết Bài viết sẽ hướng dẫn cách cấu hình IPSec VPN Site-to-Site giữa hai thiết bị tường lửa Sophos XG và Fortinet FG. 2. Sơ đồ mạng Giải thích sơ đồ mạng: Site A: Chúng ta có đường internet được kết nối ở port 5 của thiết bị Sophos XG 85 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>1. Mục đích bài viết</strong></h2>



<p class="wp-block-paragraph">Bài viết sẽ hướng dẫn cách cấu hình IPSec VPN Site-to-Site giữa hai thiết bị tường lửa Sophos XG và Fortinet FG.</p>



<h2 class="wp-block-heading"><strong>2. Sơ đồ mạng</strong></h2>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="640" src="https://thegioifirewall.com/wp-content/uploads/VPN-SOPHOS_FORTINET-1024x640.png" alt="" class="wp-image-9183" srcset="https://thegioifirewall.com/wp-content/uploads/VPN-SOPHOS_FORTINET-1024x640.png 1024w, https://thegioifirewall.com/wp-content/uploads/VPN-SOPHOS_FORTINET-300x187.png 300w, https://thegioifirewall.com/wp-content/uploads/VPN-SOPHOS_FORTINET-768x480.png 768w, https://thegioifirewall.com/wp-content/uploads/VPN-SOPHOS_FORTINET-1536x960.png 1536w, https://thegioifirewall.com/wp-content/uploads/VPN-SOPHOS_FORTINET-2048x1280.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading"><strong>Giải thích sơ đồ mạng:</strong></h3>



<h4 class="wp-block-heading"><strong>Site A:</strong></h4>



<ul class="wp-block-list"><li>Chúng ta có đường internet được kết nối ở port 5 của thiết bị Sophos XG 85 với IP WAN tĩnh là 203.205.26.x bằng media converter.</li><li>Tiếp theo là lớp mạng LAN 172.16.0.0/20 được cấu hình ở port 1 của thiết bị Sophos XG 85.</li></ul>



<h4 class="wp-block-heading"><strong>Site B:</strong></h4>



<ul class="wp-block-list"><li>Chúng ta có đường internet được kết nối ở port WAN 1 của thiết bị tường lửa Fortinet FG 81E với IP WAN tĩnh là 203.205.26.x bằng media converter.</li><li>Tiếp theo là lớp mạng LAN 192.168.1.0/24 được cấu hình ở port 1 của thiết bị Fortinet FG 81E.</li></ul>



<h2 class="wp-block-heading"><strong>3. Tình huống cấu hình</strong></h2>



<p class="wp-block-paragraph">Chúng ta sẽ thực cấu hình IPSec VPN Site-to-Site giữa hai thiết bị Sophos XG 85 và Fortinet FG 81E để lớp mạng LAN của cả hai site là 172.16.0.0/20 và 192.168.1.0/24 có thể kết nối được với nhau.</p>



<h2 class="wp-block-heading">4. <strong>Các bước cấu hình</strong></h2>



<h4 class="wp-block-heading"><strong>Trên thiết bị Fortinet FG 81E:</strong></h4>



<ul class="wp-block-list"><li>Tạo VPN Tunnels</li><li>Tạo Static Route</li><li>Tạo Policy</li></ul>



<h4 class="wp-block-heading"><strong>Trên thiết bị Sophos XG 85:</strong></h4>



<ul class="wp-block-list"><li>Tạo subnet</li><li>Tạo IPSec Policies</li><li>Tạo IPSec Connection</li></ul>



<h4 class="wp-block-heading"><strong>Kiểm tra Kết quả</strong></h4>



<h2 class="wp-block-heading">5. <strong>Hướng dẫn cấu hình</strong></h2>



<h3 class="wp-block-heading">5.1. <strong>Trên thiết bị Fortinet FG 81E</strong></h3>



<h4 class="wp-block-heading">5.1.1. <strong>Tạo VPN Tunnels</strong></h4>



<p class="wp-block-paragraph">Để tạo VPN Tunnels vào VPN &gt; IPSec Tunnels &gt; nhấn Create New.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="787" height="394" src="https://thegioifirewall.com/wp-content/uploads/25.png" alt="" class="wp-image-9185" srcset="https://thegioifirewall.com/wp-content/uploads/25.png 787w, https://thegioifirewall.com/wp-content/uploads/25-300x150.png 300w, https://thegioifirewall.com/wp-content/uploads/25-768x384.png 768w" sizes="auto, (max-width: 787px) 100vw, 787px" /></figure></div>



<p class="wp-block-paragraph">Bảng VPN Create Wizard hiện ra điền các thông tin cấu hình như sau:</p>



<ul class="wp-block-list"><li>Name: VPN_FG_2SOPHOS</li><li>Template type: chọn Custom</li><li>Nhấn Next để tiếp tục.</li></ul>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="164" src="https://thegioifirewall.com/wp-content/uploads/1-8-1024x164.png" alt="" class="wp-image-9186" srcset="https://thegioifirewall.com/wp-content/uploads/1-8-1024x164.png 1024w, https://thegioifirewall.com/wp-content/uploads/1-8-300x48.png 300w, https://thegioifirewall.com/wp-content/uploads/1-8-768x123.png 768w, https://thegioifirewall.com/wp-content/uploads/1-8-1536x247.png 1536w, https://thegioifirewall.com/wp-content/uploads/1-8-2048x329.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">Chúng ta sẽ cấu hình bảng Network với các thông số sau:</p>



<ul class="wp-block-list"><li>IP Version: IPv4</li><li>Remote Gateway: Static IP Address</li><li>IP Address: điền IP WAN của thiết bị Sophos XG 85 là 203.205.26.x</li><li>Interface: chọn cổng WAN của thiết bị Fortinet dùng để thiết lập kết nối VPN. Theo sơ đồ chọn cổng WAN1</li><li>Local Gateway: không bật</li><li>Mode Config: bỏ check</li><li>NAT Traversal: chọn Disable</li><li>Dead Peer Detection: chọn Disable</li></ul>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="701" src="https://thegioifirewall.com/wp-content/uploads/2-4-1024x701.png" alt="" class="wp-image-9187" srcset="https://thegioifirewall.com/wp-content/uploads/2-4-1024x701.png 1024w, https://thegioifirewall.com/wp-content/uploads/2-4-300x205.png 300w, https://thegioifirewall.com/wp-content/uploads/2-4-768x526.png 768w, https://thegioifirewall.com/wp-content/uploads/2-4-1536x1052.png 1536w, https://thegioifirewall.com/wp-content/uploads/2-4.png 1577w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">Bảng Authentication:</p>



<ul class="wp-block-list"><li>Method: chọn Pre-shared Key</li><li>Pre-shared Key: nhập mật khẩu để thiết lập kết nối VPN (lưu ý là mật khẩu này phải được đặt giống nhau trên cả 2 thiết bị Sophos và Fortinet).</li><li>IKE Version: 1</li><li>IKE Mode: Main(ID protection)</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="348" src="https://thegioifirewall.com/wp-content/uploads/3-5-1024x348.png" alt="" class="wp-image-9188" srcset="https://thegioifirewall.com/wp-content/uploads/3-5-1024x348.png 1024w, https://thegioifirewall.com/wp-content/uploads/3-5-300x102.png 300w, https://thegioifirewall.com/wp-content/uploads/3-5-768x261.png 768w, https://thegioifirewall.com/wp-content/uploads/3-5-1536x521.png 1536w, https://thegioifirewall.com/wp-content/uploads/3-5.png 1547w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Bảng Phrase 1 Proposal:</p>



<ul class="wp-block-list"><li>Encryption: AES256</li><li>Authentication: SHA256</li><li>Diffe-Hellman Group: chọn 14</li><li>Key Liftime (second): 5400</li></ul>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="341" src="https://thegioifirewall.com/wp-content/uploads/4-4-1024x341.png" alt="" class="wp-image-9189" srcset="https://thegioifirewall.com/wp-content/uploads/4-4-1024x341.png 1024w, https://thegioifirewall.com/wp-content/uploads/4-4-300x100.png 300w, https://thegioifirewall.com/wp-content/uploads/4-4-768x256.png 768w, https://thegioifirewall.com/wp-content/uploads/4-4-1536x511.png 1536w, https://thegioifirewall.com/wp-content/uploads/4-4.png 1547w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">Bảng XAUTH:</p>



<ul class="wp-block-list"><li>Type: chọn Disable</li></ul>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="108" src="https://thegioifirewall.com/wp-content/uploads/5-4-1024x108.png" alt="" class="wp-image-9190" srcset="https://thegioifirewall.com/wp-content/uploads/5-4-1024x108.png 1024w, https://thegioifirewall.com/wp-content/uploads/5-4-300x32.png 300w, https://thegioifirewall.com/wp-content/uploads/5-4-768x81.png 768w, https://thegioifirewall.com/wp-content/uploads/5-4-1536x162.png 1536w, https://thegioifirewall.com/wp-content/uploads/5-4.png 1540w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">Bảng Phrase 2 Selectors:</p>



<ul class="wp-block-list"><li>Local Address: Chọn Subnet và điền lớp mạng LAN 192.168.1.0/24 của Fortinet vào.</li><li>Remote Address: Chọn Subnet và điền lớp mạng LAN 172.16.0.0/20 của Sophos vào.</li><li>Nhấn Advanced… để bảng Phrase 2 Proposal hiện ra.</li></ul>



<p class="wp-block-paragraph">Bảng Phrase 2 Proposal:</p>



<ul class="wp-block-list"><li>Encryption: AES128</li><li>Authentication: SHA256</li><li>Enable Perfect Forward Secrecy: bỏ chọn</li><li>Key Lifetime: chọn Seconds</li><li>Second: 3600</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="900" height="1024" src="https://thegioifirewall.com/wp-content/uploads/6-4-900x1024.png" alt="" class="wp-image-9191" srcset="https://thegioifirewall.com/wp-content/uploads/6-4-900x1024.png 900w, https://thegioifirewall.com/wp-content/uploads/6-4-264x300.png 264w, https://thegioifirewall.com/wp-content/uploads/6-4-768x873.png 768w, https://thegioifirewall.com/wp-content/uploads/6-4.png 1239w" sizes="auto, (max-width: 900px) 100vw, 900px" /></figure>



<p class="wp-block-paragraph">Nhấn OK để tạo IPSec Tunnels.</p>



<h4 class="wp-block-heading">5.1.2. Tạo Static Routes</h4>



<p class="wp-block-paragraph">Chúng ta cần tạo một static route để định tuyến đường đi đến lớp mạng LAN của Sophos thông qua kết nối VPN vừa tạo cho thiết bị tường lửa Fortinet.</p>



<p class="wp-block-paragraph">Để tạo vào Network &gt; Static Routes và nhấn Create New.</p>



<p class="wp-block-paragraph">Cấu hình theo các thông số sau:</p>



<ul class="wp-block-list"><li>Destination: nhập lớp mạng LAN của thiết bị Sophos XG 85 là 172.16.0.0/24.</li><li>Interface: chọn IPSec tunnels VPN_FG_2_SOPHOS vừa tạo.</li><li>Status: chọn Enable.</li><li>Nhấn OK để lưu.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="215" src="https://thegioifirewall.com/wp-content/uploads/7-3-1024x215.png" alt="" class="wp-image-9192" srcset="https://thegioifirewall.com/wp-content/uploads/7-3-1024x215.png 1024w, https://thegioifirewall.com/wp-content/uploads/7-3-300x63.png 300w, https://thegioifirewall.com/wp-content/uploads/7-3-768x161.png 768w, https://thegioifirewall.com/wp-content/uploads/7-3-1536x323.png 1536w, https://thegioifirewall.com/wp-content/uploads/7-3-2048x430.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading">5.1.3. Tạo Policy</h4>



<p class="wp-block-paragraph">Chúng ta cần tạo policy để cho kết nối VPN có thể truy cập vào mạng LAN của Fortinet và ngược lại.</p>



<p class="wp-block-paragraph">Để tạo policy vào Policy &amp; Objects &gt; IPv4 Policy và nhấn Create New.</p>



<p class="wp-block-paragraph">Cấu hình policy cho phép traffic từ lớp mạng LAN của Fortinet đi qua lớp mạng LAN của Sophos theo các thông số như sau:</p>



<ul class="wp-block-list"><li>Name: VPN_FG_2_SOPHOS</li><li>Incoming Interface: VLAN-KH(đây là interface LAN 1)</li><li>Outgoing Interface: Chọn VPN Tunnels VPN_FG_2_SOPHOS vừa tạo</li><li>Source: Chọn VLAN-KH address</li><li>Destination: Chọn VLAN_Sophos</li><li>Service: Chọn ALL</li><li>Action: Chọn ACCEPT</li><li>Log Allowed Traffic: bật và chọn All Session</li><li>Enable this policy: ON</li><li>Nhấn OK để lưu</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="848" src="https://thegioifirewall.com/wp-content/uploads/11-2-1024x848.png" alt="" class="wp-image-9193" srcset="https://thegioifirewall.com/wp-content/uploads/11-2-1024x848.png 1024w, https://thegioifirewall.com/wp-content/uploads/11-2-300x248.png 300w, https://thegioifirewall.com/wp-content/uploads/11-2-768x636.png 768w, https://thegioifirewall.com/wp-content/uploads/11-2-1536x1272.png 1536w, https://thegioifirewall.com/wp-content/uploads/11-2.png 2015w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Cấu hình policy cho phép traffic từ lớp mạng LAN của Sophos đi qua lớp mạng LAN của Fortinet theo các thông số như sau:</p>



<ul class="wp-block-list"><li>Name: VPN_SOPHOS_2_FG</li><li>Incoming Interface: Chọn VPN Tunnels VPN_FG_2_SOPHOS vừa tạo</li><li>Outgoing Interface: VLAN-KH(đây là interface LAN 1)</li><li>Source: Chọn VLAN_Sophos</li><li>Destination: Chọn VLAN-KH address</li><li>Service: chọn ALL</li><li>Action: Chọn ACCEPT</li><li>Log Allowed Traffic: bật và chọn All Session</li><li>Enable this policy: ON</li><li>Nhấn OK để lưu</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="846" src="https://thegioifirewall.com/wp-content/uploads/10-2-1024x846.png" alt="" class="wp-image-9194" srcset="https://thegioifirewall.com/wp-content/uploads/10-2-1024x846.png 1024w, https://thegioifirewall.com/wp-content/uploads/10-2-300x248.png 300w, https://thegioifirewall.com/wp-content/uploads/10-2-768x634.png 768w, https://thegioifirewall.com/wp-content/uploads/10-2-1536x1269.png 1536w, https://thegioifirewall.com/wp-content/uploads/10-2.png 2017w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">5.2 Trên thiết bị Sophos XG 85</h3>



<h4 class="wp-block-heading">5.2.1. Tạo subnet</h4>



<p class="wp-block-paragraph">Chúng ta sẽ tạo subnet cho 2 lớp mạng 172.16.0.0/24 của Sophos và 192.168.1.0/24 của Fortinet.</p>



<p class="wp-block-paragraph">Để tạo vào Hosts and services nhấn Add và tạo theo các thông tin sau.</p>



<p class="wp-block-paragraph">Subnet Sophos:</p>



<ul class="wp-block-list"><li>Name: LAN_Q9DQH_HEAD</li><li>IP Version: IPv4</li><li>Type: Network</li><li>IP address: 172.16.0.0 – Subnet: 255.255.240.0</li><li>Nhấn Save để lưu</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="271" src="https://thegioifirewall.com/wp-content/uploads/21-1024x271.png" alt="" class="wp-image-9195" srcset="https://thegioifirewall.com/wp-content/uploads/21-1024x271.png 1024w, https://thegioifirewall.com/wp-content/uploads/21-300x79.png 300w, https://thegioifirewall.com/wp-content/uploads/21-768x203.png 768w, https://thegioifirewall.com/wp-content/uploads/21-1536x407.png 1536w, https://thegioifirewall.com/wp-content/uploads/21-2048x542.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Subnet Fortinet:</p>



<ul class="wp-block-list"><li>Name: LAN_KH_FG</li><li>IP Version: IPv4</li><li>Type: Network</li><li>IP address: 192.168.1.0 – Subnet: 255.255.255.0</li><li>Nhấn Save để lưu</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="271" src="https://thegioifirewall.com/wp-content/uploads/22-1024x271.png" alt="" class="wp-image-9196" srcset="https://thegioifirewall.com/wp-content/uploads/22-1024x271.png 1024w, https://thegioifirewall.com/wp-content/uploads/22-300x79.png 300w, https://thegioifirewall.com/wp-content/uploads/22-768x203.png 768w, https://thegioifirewall.com/wp-content/uploads/22-1536x407.png 1536w, https://thegioifirewall.com/wp-content/uploads/22-2048x542.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading"><strong>5.2.2. Tạo IPSec Policies</strong></h3>



<p class="wp-block-paragraph">Để tạo IPSec Policies vào VPN &gt; IPSec policies và nhấn Add.</p>



<p class="wp-block-paragraph">Cấu hình theo các thông số sau.</p>



<p class="wp-block-paragraph">Bảng General Settings:</p>



<ul class="wp-block-list"><li>Name: VPN_SOPHOS_2_FG</li><li>Key exchange: IKEv1</li><li>Authentication mode: Main mode</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="328" src="https://thegioifirewall.com/wp-content/uploads/12-1-1024x328.png" alt="" class="wp-image-9197" srcset="https://thegioifirewall.com/wp-content/uploads/12-1-1024x328.png 1024w, https://thegioifirewall.com/wp-content/uploads/12-1-300x96.png 300w, https://thegioifirewall.com/wp-content/uploads/12-1-768x246.png 768w, https://thegioifirewall.com/wp-content/uploads/12-1-1536x492.png 1536w, https://thegioifirewall.com/wp-content/uploads/12-1-2048x656.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Bảng Phrase 1:</p>



<ul class="wp-block-list"><li>Key life: 5400</li><li>Re-key margin: 360</li><li>Randomize re-keying margin by: 50</li><li>DH group (key group): 14 (DH2048)</li><li>Enccryption: AES256</li><li>Authentication: SHA2 256</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="324" src="https://thegioifirewall.com/wp-content/uploads/13-1-1024x324.png" alt="" class="wp-image-9198" srcset="https://thegioifirewall.com/wp-content/uploads/13-1-1024x324.png 1024w, https://thegioifirewall.com/wp-content/uploads/13-1-300x95.png 300w, https://thegioifirewall.com/wp-content/uploads/13-1-768x243.png 768w, https://thegioifirewall.com/wp-content/uploads/13-1-1536x486.png 1536w, https://thegioifirewall.com/wp-content/uploads/13-1-2048x648.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Bảng Phrase 2:</p>



<ul class="wp-block-list"><li>PFS group (DH group): None</li><li>Key life: 3600</li><li>Encryption: AES128</li><li>Authentication: SHA2 256</li></ul>



<p class="wp-block-paragraph">Bảng Dead Peer Detection:</p>



<ul class="wp-block-list"><li>Dead Peer Detection: tích chọn</li><li>Check peer after every: 30</li><li>Wait for response up to: 120</li><li>When peer unreachable: Re-initiate</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="470" src="https://thegioifirewall.com/wp-content/uploads/14-1-1024x470.png" alt="" class="wp-image-9199" srcset="https://thegioifirewall.com/wp-content/uploads/14-1-1024x470.png 1024w, https://thegioifirewall.com/wp-content/uploads/14-1-300x138.png 300w, https://thegioifirewall.com/wp-content/uploads/14-1-768x352.png 768w, https://thegioifirewall.com/wp-content/uploads/14-1-1536x705.png 1536w, https://thegioifirewall.com/wp-content/uploads/14-1-2048x939.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Nhấn Save để lưu.</p>



<h4 class="wp-block-heading">5.2.3. Tạo IPSec Connection</h4>



<p class="wp-block-paragraph">Để tao vào VPN &gt; IPSec Connection và nhấn Add.</p>



<p class="wp-block-paragraph">Cấu hình theo các thông số sau.</p>



<p class="wp-block-paragraph">Bảng General settings:</p>



<ul class="wp-block-list"><li>Name: VPN_SOPHOS_2_FG</li><li>IP version: IPv4</li><li>Connection type: Site-to-site</li><li>Gateway type: Initiate the connection</li><li>Tích chọn Create firewall rule</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="281" src="https://thegioifirewall.com/wp-content/uploads/15-1-1024x281.png" alt="" class="wp-image-9200" srcset="https://thegioifirewall.com/wp-content/uploads/15-1-1024x281.png 1024w, https://thegioifirewall.com/wp-content/uploads/15-1-300x82.png 300w, https://thegioifirewall.com/wp-content/uploads/15-1-768x211.png 768w, https://thegioifirewall.com/wp-content/uploads/15-1-1536x421.png 1536w, https://thegioifirewall.com/wp-content/uploads/15-1-2048x562.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Bảng Encryption:</p>



<ul class="wp-block-list"><li>Policy: chọn VPN_SOPHOS_2_FG</li><li>Authentication type: chọn Preshared key</li><li>Preshared key: nhập mật khẩu kết nối VPN (lưu ý phải đặt giống với bên thiết bị Fortinet)</li><li>Repeat preshared key: nhập lại mật khẩu kết nối</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="268" src="https://thegioifirewall.com/wp-content/uploads/16-1-1024x268.png" alt="" class="wp-image-9201" srcset="https://thegioifirewall.com/wp-content/uploads/16-1-1024x268.png 1024w, https://thegioifirewall.com/wp-content/uploads/16-1-300x79.png 300w, https://thegioifirewall.com/wp-content/uploads/16-1-768x201.png 768w, https://thegioifirewall.com/wp-content/uploads/16-1-1536x402.png 1536w, https://thegioifirewall.com/wp-content/uploads/16-1-2048x536.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Bảng Gateway settings:</p>



<ul class="wp-block-list"><li>Listening interface: chọn Port5-203.205.26.x</li><li>Local Subnet: chọn subnet LAN_Q9DQH_Head vừa tạo.</li><li>Gateway address: nhập IP WAN của Fortinet 203.205.35.x</li><li>Remote subnet: chọn subnet LAN_KH_FG</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="475" src="https://thegioifirewall.com/wp-content/uploads/17-1-1024x475.png" alt="" class="wp-image-9202" srcset="https://thegioifirewall.com/wp-content/uploads/17-1-1024x475.png 1024w, https://thegioifirewall.com/wp-content/uploads/17-1-300x139.png 300w, https://thegioifirewall.com/wp-content/uploads/17-1-768x356.png 768w, https://thegioifirewall.com/wp-content/uploads/17-1-1536x712.png 1536w, https://thegioifirewall.com/wp-content/uploads/17-1-2048x950.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Nhấn Save để lưu.</p>



<h3 class="wp-block-heading">5.3 Kiểm tra kết quả</h3>



<p class="wp-block-paragraph">Quay trở lại với IPSec Connection chúng ta sẽ thấy VPN Connection mà chúng ta vừa tạo vẫn chưa được bật.</p>



<p class="wp-block-paragraph">Nhấn vào chấm tròn ở cột Active và nhấn OK để bật VPN connection, lúc này mày của chấm tròn sẽ chuyển sang màu xanh lá.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="498" src="https://thegioifirewall.com/wp-content/uploads/23-1024x498.png" alt="" class="wp-image-9203" srcset="https://thegioifirewall.com/wp-content/uploads/23-1024x498.png 1024w, https://thegioifirewall.com/wp-content/uploads/23-300x146.png 300w, https://thegioifirewall.com/wp-content/uploads/23-768x374.png 768w, https://thegioifirewall.com/wp-content/uploads/23-1536x747.png 1536w, https://thegioifirewall.com/wp-content/uploads/23-2048x996.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="478" src="https://thegioifirewall.com/wp-content/uploads/24-1024x478.png" alt="" class="wp-image-9204" srcset="https://thegioifirewall.com/wp-content/uploads/24-1024x478.png 1024w, https://thegioifirewall.com/wp-content/uploads/24-300x140.png 300w, https://thegioifirewall.com/wp-content/uploads/24-768x359.png 768w, https://thegioifirewall.com/wp-content/uploads/24-1536x717.png 1536w, https://thegioifirewall.com/wp-content/uploads/24-2048x956.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Các bạn chờ khoản 2 đến 3 giây thì chấm tròn ở cột Connection sẽ chuyển sang màu xanh lá tức là kết nối VPN giữa Sophos và Fortinet đã được thiết bị thành công.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="487" src="https://thegioifirewall.com/wp-content/uploads/19-1024x487.png" alt="" class="wp-image-9205" srcset="https://thegioifirewall.com/wp-content/uploads/19-1024x487.png 1024w, https://thegioifirewall.com/wp-content/uploads/19-300x143.png 300w, https://thegioifirewall.com/wp-content/uploads/19-768x366.png 768w, https://thegioifirewall.com/wp-content/uploads/19-1536x731.png 1536w, https://thegioifirewall.com/wp-content/uploads/19-2048x975.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Chuyển sang thiết bị Fortinet các bạn có thể check kết VPN thành công hay chưa bằng cách vào Monitor &gt; IPSec Monitor.</p>



<p class="wp-block-paragraph">Các bạn sẽ thấy kết nối VPN đã được thiết lập và đã có lưu lượng Incoming Data và Outgoing Data.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="169" src="https://thegioifirewall.com/wp-content/uploads/20-1024x169.png" alt="" class="wp-image-9206" srcset="https://thegioifirewall.com/wp-content/uploads/20-1024x169.png 1024w, https://thegioifirewall.com/wp-content/uploads/20-300x50.png 300w, https://thegioifirewall.com/wp-content/uploads/20-768x127.png 768w, https://thegioifirewall.com/wp-content/uploads/20-1536x254.png 1536w, https://thegioifirewall.com/wp-content/uploads/20-2048x339.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://thegioifirewall.com/huong-dan-cau-hinh-ipsec-vpn-site-to-site-giua-sophos-va-fortinet-voi-ip-wan-la-ip-tinh/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
