301
Fortigate / Re: Fortigate 3810A ออกเน็ตได้ แต่ Web Browser ใช้งานไม่ได้
« เมื่อ: 30 ส.ค. 17, 10:03:55น. »
อย่างนี้ครับ
1.ตรง Interface อยากให้ระบุ interface ที่ชัดเจน ดีกว่าครับ ให้ระบุ เป็น interface : lan หรือ internal
config firewall policy
edit 1
set srcintf "internal" // interface lan ภายในที่ต่อกับ FortiGate
set dstintf "wan1" // interface ขา wan ที่ออกเน็ต ที่เชื่อมต่อกับ Router ของ ISP
set srcaddr "all"
set dstaddr "all"
set action accept
set schedule "always"
set service "ALL" // Service ALL ถูกต้องแล้ว ให้ออกทุก Service
set logtraffic all
set nat enable
next
end
2.ตรวจสอบ DNS บนเครื่องคอมนั้น เปิด cmd
ให้ใช้คำสั่ง nslookup แล้วตามด้วย Domain เช่น google.co.th แล้วได้ IP ขึ้นมาไหม หรือว่า ping Domain นั้น เช่น google.co.th แล้ว IP ขึ้นมาไหม ถ้ายังไม่ได้ ผลลัพธ์ขึ้นมา
แนะนำว่าให้ใช้ DNS ของ Google 8.8.8.8 , 8.8.4.4
1.ตรง Interface อยากให้ระบุ interface ที่ชัดเจน ดีกว่าครับ ให้ระบุ เป็น interface : lan หรือ internal
config firewall policy
edit 1
set srcintf "internal" // interface lan ภายในที่ต่อกับ FortiGate
set dstintf "wan1" // interface ขา wan ที่ออกเน็ต ที่เชื่อมต่อกับ Router ของ ISP
set srcaddr "all"
set dstaddr "all"
set action accept
set schedule "always"
set service "ALL" // Service ALL ถูกต้องแล้ว ให้ออกทุก Service
set logtraffic all
set nat enable
next
end
2.ตรวจสอบ DNS บนเครื่องคอมนั้น เปิด cmd
ให้ใช้คำสั่ง nslookup แล้วตามด้วย Domain เช่น google.co.th แล้วได้ IP ขึ้นมาไหม หรือว่า ping Domain นั้น เช่น google.co.th แล้ว IP ขึ้นมาไหม ถ้ายังไม่ได้ ผลลัพธ์ขึ้นมา
แนะนำว่าให้ใช้ DNS ของ Google 8.8.8.8 , 8.8.4.4