<?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>Palo Alto Networks : Hướng dẫn cấu hình NAT port 443 cho server ra ngoài internet với IP public tĩnh &#8211; Thegioifirewall</title>
	<atom:link href="https://thegioifirewall.com/tag/palo-alto-networks-huong-da%CC%83n-cau-hinh-nat-port-443-cho-server-ra-ngoai-internet-voi-ip-public-tinh/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>Mon, 30 Nov 2020 04:44:06 +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>Palo Alto Networks : Hướng dẫn cấu hình NAT port 443 cho server ra ngoài internet với IP public tĩnh &#8211; Thegioifirewall</title>
	<link>https://thegioifirewall.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Palo Alto Networks : Hướng dẫn cấu hình NAT port 443 cho server ra ngoài internet với IP public tĩnh</title>
		<link>https://thegioifirewall.com/palo-alto-networks-huong-da%cc%83n-cau-hinh-nat-port-443-cho-server-ra-ngoai-internet-voi-ip-public-tinh/</link>
					<comments>https://thegioifirewall.com/palo-alto-networks-huong-da%cc%83n-cau-hinh-nat-port-443-cho-server-ra-ngoai-internet-voi-ip-public-tinh/#respond</comments>
		
		<dc:creator><![CDATA[TrungNghia]]></dc:creator>
		<pubDate>Wed, 11 Nov 2020 04:10:00 +0000</pubDate>
				<category><![CDATA[Hướng dẫn cấu hình Firewall Palo Alto]]></category>
		<category><![CDATA[Palo Alto Networks : Hướng dẫn cấu hình NAT port 443 cho server ra ngoài internet với IP public tĩnh]]></category>
		<guid isPermaLink="false">http://www.thegioifirewall.com/?p=8590</guid>

					<description><![CDATA[1. Mục đích bài viết Bài viết này sẽ hướng dẫn cách nat port 443 của Vmware Exsi server ở phía trong mạng nội bộ ra ngoài internet để có thể truy cập server từ bất cứ đâu. 2. Sơ đồ mạng, tình huống cấu hình và các bước cần thực hiện 2.1 Sơ đồ [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">1. Mục đích bài viết</h3>



<ul class="wp-block-list"><li>Bài viết này sẽ hướng dẫn cách nat port 443 của Vmware Exsi server ở phía trong mạng nội bộ ra ngoài internet để có thể truy cập server từ bất cứ đâu.</li></ul>



<h3 class="wp-block-heading">2. Sơ đồ mạng, tình huống cấu hình và các bước cần thực hiện</h3>



<h4 class="wp-block-heading">2.1 Sơ đồ mạng</h4>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="405" src="https://thegioifirewall.com/wp-content/uploads/diagram-nat-forwarding-1-1-1024x405.jpg" alt="" class="wp-image-8592" srcset="https://thegioifirewall.com/wp-content/uploads/diagram-nat-forwarding-1-1-1024x405.jpg 1024w, https://thegioifirewall.com/wp-content/uploads/diagram-nat-forwarding-1-1-300x119.jpg 300w, https://thegioifirewall.com/wp-content/uploads/diagram-nat-forwarding-1-1-768x303.jpg 768w, https://thegioifirewall.com/wp-content/uploads/diagram-nat-forwarding-1-1-1536x607.jpg 1536w, https://thegioifirewall.com/wp-content/uploads/diagram-nat-forwarding-1-1.jpg 1607w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



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



<ul class="wp-block-list"><li>Như sơ đồ thiết bị tường lửa Palo Alto sẽ được kết nối internet bằng giao thức PPPoE ở port E1/1 với IP tĩnh là 14.169.x.</li><li>Bên trong của Palo Alto là lớp mạng nội bộ LAN với địa chỉ IP tĩnh là 172.16.31.10/24 được đặt ở port E1/5. Trên port E1/2 được cấu hình DHCP Server để cấp phát IP cho các thiết bị kết nối đến nó.</li><li>Tiếp theo là 1 Vmware Exsi Server được đặt trong lớp mạng LAN với địa chỉ IP là 172.16.31.10/24 và Vmware Exsi Server này được quản trị bằng web với giao https.</li><li>Cuối cùng là máy tính bên ngoài internet, máy tính này có thể nằm ở bất kì đâu trong mạng internet.</li></ul>



<h4 class="wp-block-heading">2.3 Tình huống cấu hình</h4>



<ul class="wp-block-list"><li>Chúng ta sẽ cấu hình NAT Port Forwarding cho phép máy tính bên ngoài internet có thể truy cập vào trang web quản trị của Vmware Exsi server bên trong mạng nội LAN bằng port 443 thông qua địa chỉ IP Wan của thiết bị tường lửa Palo Alto là 14.169.x.x.</li></ul>



<h4 class="wp-block-heading">2.4 Các bước cần thực hiện</h4>



<ul class="wp-block-list" id="block-834beb7c-19a8-4b9a-bba4-d4fc073b8b56"><li>Tạo Address Objects</li><li>Tạo NAT Rule</li><li>Tạo Security policy</li><li>Kiểm tra kết quả</li></ul>



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



<h4 class="wp-block-heading">3.1 Tạo Address Objects</h4>



<ul class="wp-block-list"><li>Chúng ta sẽ tạo 2 address objects là Server-public với địa chỉ ip là địa chỉ cổng WAN của thiết bị Palo Alto 14.169.x.x và webserver-private là địa chỉ ip của Web server bên trong.</li></ul>



<ul class="wp-block-list" id="block-834beb7c-19a8-4b9a-bba4-d4fc073b8b56"><li>Để tạo vào Objects &gt; Addresses &gt; click Add và nhập thông số sau :<ul><li>Name : Server-public</li><li>Type : IP Netmask – 14.169.x.x</li></ul></li><li>Click OK để lưu</li></ul>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="305" src="https://thegioifirewall.com/wp-content/uploads/NATPF1-1-1024x305.jpg" alt="" class="wp-image-8564" srcset="https://thegioifirewall.com/wp-content/uploads/NATPF1-1-1024x305.jpg 1024w, https://thegioifirewall.com/wp-content/uploads/NATPF1-1-300x90.jpg 300w, https://thegioifirewall.com/wp-content/uploads/NATPF1-1-768x229.jpg 768w, https://thegioifirewall.com/wp-content/uploads/NATPF1-1.jpg 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list"><li>Click Add 1 lần nửa để tạo address object cho web server :<ul><li>Name : webserver-private</li></ul><ul><li>Type : IP Netmask – 172.16.31.10</li></ul></li><li>Click OK để lưu</li></ul>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="305" src="https://thegioifirewall.com/wp-content/uploads/NATPF2-1-1024x305.jpg" alt="" class="wp-image-8565" srcset="https://thegioifirewall.com/wp-content/uploads/NATPF2-1-1024x305.jpg 1024w, https://thegioifirewall.com/wp-content/uploads/NATPF2-1-300x90.jpg 300w, https://thegioifirewall.com/wp-content/uploads/NATPF2-1-768x229.jpg 768w, https://thegioifirewall.com/wp-content/uploads/NATPF2-1.jpg 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading">3.2 Tạo NAT Rule</h4>



<ul class="wp-block-list"><li>Để tạo NAT rule vào Policies &gt; NAT &gt; Click Add.</li><li>Ở General tab cấu hình với các thông số sau :<ul><li>Name : Dst-NAT-ExsiSrv</li></ul><ul><li>Type : ipv4</li></ul></li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="494" src="https://thegioifirewall.com/wp-content/uploads/NATPF5-1-1024x494.jpg" alt="" class="wp-image-8567" srcset="https://thegioifirewall.com/wp-content/uploads/NATPF5-1-1024x494.jpg 1024w, https://thegioifirewall.com/wp-content/uploads/NATPF5-1-300x145.jpg 300w, https://thegioifirewall.com/wp-content/uploads/NATPF5-1-768x371.jpg 768w, https://thegioifirewall.com/wp-content/uploads/NATPF5-1.jpg 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list"><li>Ở tab Original Packet cấu hình với các thông số sau :<ul><li>Source Zone : WAN</li></ul><ul><li>Destination Zone : WAN</li></ul><ul><li>Destination Interface : ethernet1/1</li></ul><ul><li>Service : service-https</li></ul><ul><li>Source Address : Any</li></ul><ul><li>Destination Address : Server-public</li></ul></li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="490" src="https://thegioifirewall.com/wp-content/uploads/NATPF3-1-1024x490.jpg" alt="" class="wp-image-8566" srcset="https://thegioifirewall.com/wp-content/uploads/NATPF3-1-1024x490.jpg 1024w, https://thegioifirewall.com/wp-content/uploads/NATPF3-1-300x144.jpg 300w, https://thegioifirewall.com/wp-content/uploads/NATPF3-1-768x367.jpg 768w, https://thegioifirewall.com/wp-content/uploads/NATPF3-1.jpg 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list"><li>Ở tab Translated Packet mục Destination Translation cấu hình như sau :<ul><li>Translation Type : Static IP</li></ul><ul><li>Translation Address : webserver-private</li></ul><ul><li>Translation Port : 443</li></ul></li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="395" src="https://thegioifirewall.com/wp-content/uploads/NATPF4-1-1024x395.jpg" alt="" class="wp-image-8568" srcset="https://thegioifirewall.com/wp-content/uploads/NATPF4-1-1024x395.jpg 1024w, https://thegioifirewall.com/wp-content/uploads/NATPF4-1-300x116.jpg 300w, https://thegioifirewall.com/wp-content/uploads/NATPF4-1-768x296.jpg 768w, https://thegioifirewall.com/wp-content/uploads/NATPF4-1.jpg 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



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



<h4 class="wp-block-heading">3.3 Tạo Security policy</h4>



<ul class="wp-block-list"><li>Tạo Secuirty policy để cho phép các traffic từ vùng WAN có thể đi vào vùng LAN.</li><li>Để tạo vào Policies &gt; Security &gt; Click Add.</li><li>Ở General tab cấu hình với các thông số sau :<ul><li>Name : Webserver access</li></ul><ul><li>Rule Type : universal (default)</li></ul></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/NATPF6-1-1024x565.jpg" alt="" class="wp-image-8569" srcset="https://thegioifirewall.com/wp-content/uploads/NATPF6-1-1024x565.jpg 1024w, https://thegioifirewall.com/wp-content/uploads/NATPF6-1-300x165.jpg 300w, https://thegioifirewall.com/wp-content/uploads/NATPF6-1-768x423.jpg 768w, https://thegioifirewall.com/wp-content/uploads/NATPF6-1.jpg 1050w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list"><li>Source tab :<ul><li>Source Zone : WAN</li></ul><ul><li>Source Address : Any</li></ul></li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="598" src="https://thegioifirewall.com/wp-content/uploads/NATPF7-1-1024x598.jpg" alt="" class="wp-image-8570" srcset="https://thegioifirewall.com/wp-content/uploads/NATPF7-1-1024x598.jpg 1024w, https://thegioifirewall.com/wp-content/uploads/NATPF7-1-300x175.jpg 300w, https://thegioifirewall.com/wp-content/uploads/NATPF7-1-768x448.jpg 768w, https://thegioifirewall.com/wp-content/uploads/NATPF7-1.jpg 1050w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list"><li>Destination tab :<ul><li>Destination Zone : LAN</li></ul><ul><li>Destination Address : Server-public</li></ul></li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="595" src="https://thegioifirewall.com/wp-content/uploads/NATPF8-1-1024x595.jpg" alt="" class="wp-image-8571" srcset="https://thegioifirewall.com/wp-content/uploads/NATPF8-1-1024x595.jpg 1024w, https://thegioifirewall.com/wp-content/uploads/NATPF8-1-300x174.jpg 300w, https://thegioifirewall.com/wp-content/uploads/NATPF8-1-768x447.jpg 768w, https://thegioifirewall.com/wp-content/uploads/NATPF8-1.jpg 1049w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list"><li>Application tab :<ul><li>Chọn Any</li></ul></li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="559" src="https://thegioifirewall.com/wp-content/uploads/NATPF9-1-1024x559.jpg" alt="" class="wp-image-8572" srcset="https://thegioifirewall.com/wp-content/uploads/NATPF9-1-1024x559.jpg 1024w, https://thegioifirewall.com/wp-content/uploads/NATPF9-1-300x164.jpg 300w, https://thegioifirewall.com/wp-content/uploads/NATPF9-1-768x419.jpg 768w, https://thegioifirewall.com/wp-content/uploads/NATPF9-1.jpg 1050w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list"><li>Service/URL Category :<ul><li>Chọn application-default và Any</li></ul></li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="563" src="https://thegioifirewall.com/wp-content/uploads/NATPF10-1-1024x563.jpg" alt="" class="wp-image-8573" srcset="https://thegioifirewall.com/wp-content/uploads/NATPF10-1-1024x563.jpg 1024w, https://thegioifirewall.com/wp-content/uploads/NATPF10-1-300x165.jpg 300w, https://thegioifirewall.com/wp-content/uploads/NATPF10-1-768x422.jpg 768w, https://thegioifirewall.com/wp-content/uploads/NATPF10-1.jpg 1042w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list"><li>Action :<ul><li>Log Setting : chọn Log at Session End</li></ul><ul><li>Action Setting : Allow</li></ul></li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="530" src="https://thegioifirewall.com/wp-content/uploads/NATPF11-1-1024x530.jpg" alt="" class="wp-image-8574" srcset="https://thegioifirewall.com/wp-content/uploads/NATPF11-1-1024x530.jpg 1024w, https://thegioifirewall.com/wp-content/uploads/NATPF11-1-300x155.jpg 300w, https://thegioifirewall.com/wp-content/uploads/NATPF11-1-768x397.jpg 768w, https://thegioifirewall.com/wp-content/uploads/NATPF11-1.jpg 1050w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



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



<ul class="wp-block-list"><li>Sau khi cấu hình các policy cần thiết chúng ta sẽ sử dụng một máy tính bên ngoài internet để truy cập vào trong server nội bộ bằng IP Wan và kết quả như hình sau.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="544" src="https://thegioifirewall.com/wp-content/uploads/NATPF12-1-1024x544.jpg" alt="" class="wp-image-8593" srcset="https://thegioifirewall.com/wp-content/uploads/NATPF12-1-1024x544.jpg 1024w, https://thegioifirewall.com/wp-content/uploads/NATPF12-1-300x159.jpg 300w, https://thegioifirewall.com/wp-content/uploads/NATPF12-1-768x408.jpg 768w, https://thegioifirewall.com/wp-content/uploads/NATPF12-1-1536x816.jpg 1536w, https://thegioifirewall.com/wp-content/uploads/NATPF12-1.jpg 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list"><li>Ngoài ra chúng ta có thể kiểm tra port đã mở hay chưa trên ping.eu và kết quả như sau.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="249" src="https://thegioifirewall.com/wp-content/uploads/NATPF13-1-1024x249.jpg" alt="" class="wp-image-8594" srcset="https://thegioifirewall.com/wp-content/uploads/NATPF13-1-1024x249.jpg 1024w, https://thegioifirewall.com/wp-content/uploads/NATPF13-1-300x73.jpg 300w, https://thegioifirewall.com/wp-content/uploads/NATPF13-1-768x187.jpg 768w, https://thegioifirewall.com/wp-content/uploads/NATPF13-1.jpg 1344w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://thegioifirewall.com/palo-alto-networks-huong-da%cc%83n-cau-hinh-nat-port-443-cho-server-ra-ngoai-internet-voi-ip-public-tinh/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
