Mục tiêu thực hành:
- Cấu hình Dynamic DNS trên Firewall Fortigate 90D.
- Cấu hình IPsec VPN tại Firewall Fortigate FG-VM64 trỏ tới Domain Name của Firewall Fortigate 90D.
- Hiệu chỉnh dns-cache-ttl trên Firewall Fortigate FG-VM64 thông qua giao diện CLI.
- Thiết lập trên Firewall Fortigate tự động thiết lập kết nối IPsec VPN.
Các bước triển khai:
Cấu hình Dynamic DNS trên Firewall Fortigate 90D.
Cấu hình IPsec VPN tại Firewall Fortigate FG-VM64 trỏ tới Domain Name của Firewall Fortigate 90D.
Hiệu chỉnh dns-cache-ttl trên Firewall Fortigate FG-VM64 thông qua giao diện CLI.
- Hiệu chỉnh lưu trữ thông tin DNS Cache trong 60 giây.
FortiGate-VM64 # show system dnsconfig system dnsset primary 208.91.112.53set secondary 208.91.112.52set dns-cache-ttl 60endFortiGate-VM64 #
- Xóa DNS Cache trên Firewall Fortigate.
diag test app dnsproxy 1all options:1. Clear DNS cache2. Show stats3. Dump DNS setting4. Reload FQDN5. Requery FQDN6. Dump FQDN7. Dump DNS cache8. Dump DNS DB9. Reload DNS DB10. Dump secure DNS policy/profile11. Dump Botnet domain12. Reload Secure DNS setting13. Show Hostname cache14. Clear Hostname cache15. Show SDNS rating cache16. Clear SDNS rating cache17. DNS debug bit mask99. Restart dnsproxy worker
Thiết lập trên Firewall Fortigate tự động thiết lập kết nối IPsec VPN.
- Thiết lập chế độ Auto-Negotiate trên Fortigate FG-VM64.
FortiGate-VM64 # show vpn ipsec phase2-interfaceconfig vpn ipsec phase2-interfaceedit "VPNtoMainOffice"set phase1name "VPNtoMainOffice"set proposal des-sha1set pfs disableset auto-negotiate enableset comments "VPN: VPNtoMainOffice (Created by VPN wizard)"set src-addr-type nameset dst-addr-type nameset src-name "VPNtoMainOffice_local"set dst-name "VPNtoMainOffice_remote"nextend
FortiGate-VM64 #
- Thiết lập chế độ Auto-Negotiate trên Fortigate 90D.
FGT90D3Z14001509 # show vpn ipsec phase2-interfaceconfig vpn ipsec phase2-interfaceedit "VPN to site"set phase1name "VPN to site"set proposal des-sha1set pfs disableset auto-negotiate enableset comments "VPN: VPN to site (Created by VPN wizard)"set src-addr-type nameset dst-addr-type nameset src-name "VPN to site_local"set dst-name "VPN to site_remote"nextendFGT90D3Z14001509 #
Tham khảo thêm khóa học Khóa học Chuyên gia quản trị mạng quốc tế CCNP R&S (Route) và Khóa học Chuyên đề Firewall Fortigate để nắm được cơ chế hoạt động của IPsec VPN. Mọi chi tiết, các bạn có thể liên hệ với mình thông qua kênh Zalo (Jade Bùi) 076.877.2021.
0 comments