Reverse Proxy ทำหน้าที่อะไร?
Reverse Proxy Server อยู่เบื้องหลัง Firewall ใน Private Network นำทาง Client Requests ไปยัง Backend Servers ที่ถูกต้อง ยังทำหน้าที่เพิ่มเติม เช่น SSL Encryption ลด Workload Web Server เพิ่มประสิทธิภาพ
Reverse Proxy vs Forward Proxy ต่างกันอย่างไร?
- Forward Proxy: นำทาง Traffic จาก Clients หลายตัวไปยัง External Network (เช่น บริษัทกรอง Internet พนักงาน)
- Reverse Proxy: นำทาง Traffic ให้ Servers หลายตัว (Backend) รับ Requests จาก Clients ภายนอก
Reverse Proxy ช่วยเพิ่มความปลอดภัยได้ไหม?
ได้ เพิ่ม Layer ความปลอดป้องกัน Web Vulnerabilities นั่งระหว่าง External Clients และ Internal Services บล็อก Direct Access ไปยัง Network ภายใน
Reverse Proxy vs API Gateway ต่างกันอย่างไร?
API Gateway = Reverse Proxy ที่รับ API Requests, รวม Services ที่จำเป็น, ส่ง Result กลับ API Gateway มี Features มากกว่า API Proxy โดยเฉพาะ Security และ Monitoring
Reverse Proxy ในมุมมอง Security
Server อยู่เบื้องหลัง Firewall ใน Private Network นำทาง Client Requests ไป Backend Servers เพิ่ม Abstraction และ Control ระหว่าง Clients และ Servers
Reverse Proxy ช่วย Security อย่างไร?
รับ Client Connection > Forward ไป Server ตรวจสอบ Request (Request Inspection) > หากพบ Malicious Content > Drop Request ทันที
Forward และ Reverse Proxies ทำหน้าที่อะไร?
- Forward Proxy: Gateway Clients -> External Network
- Reverse Proxy: Gateway Clients/Users -> Application Servers (หลาย Servers)
Reverse Proxy จำเป็นไหม?
จำเป็นสำหรับ Performance: Caching เนื้อหาซ้ำ, Compression Inbound/Outbound, SSL Offloading ลด Load Web Server
Proxy vs Reverse Proxy ต่างกันอย่างไร?
Forward Proxy ทำแทน Client (Outbound) Reverse Proxy ทำแทน Server (Inbound) รับ Requests จาก External Clients แทน Backend Servers
เมื่อไหร่ควรใช้ Reverse Proxy?
ต้องการ Performance, Reliability, Security ดีขึ้น: Load Balancing APIs/Web Apps, SSL Acceleration, Caching, Intelligent Compression
Reverse Proxy ปรับปรุง Security อย่างไร? (ซ้ำเพื่อเน้น)
Request Inspection > Detect Malicious Content > Drop Request ป้องกัน Web Vulnerabilities
Reverse Proxy เหมาะสำหรับอะไร?
Forward Client Requests (Web, FTP) ไป Web Servers ปรับปรุง Security, Performance, Reliability
Reverse Proxy ถูกแฮกได้ไหม?
ได้ หากมี Path-based Rule ที่ Cache อย่างแรงgressor สร้าง Path ตรง Rule แต่ Backend Server ตีความต่างออกไป (Path Confusion Attack)
Reverse Proxy ส่งผลต่อ Performance ไหม?
ปรับปรุง Performance: Load Balancing (NGINX) ป้องกัน Thrashing Memory/Disk, Caching, SSL Termination
API Gateway = Reverse Proxy ไหม?
API Gateway = Reverse Proxy + เพิ่ม Features: Cross-cutting Concerns, SSL Termination, Rate Limiting, Service Aggregation
Proxy vs Gateway ต่างกันอย่างไร?
Proxy = Client รู้ว่ามี Intermediary Gateway/Reverse Proxy = Client ไม่รู้ (Transparent)
API vs Proxy ต่างกันอย่างไร?
Proxy = ตัวแทนทำแทน API Proxy = Proxy สำหรับ APIs API Gateway = ช่วยสร้าง API จากศูนย์ (API Proxy ต้องมี API อยู่แล้ว)
AWS API Gateway เป็น Reverse Proxy ไหม?
ใช่ API Gateway รับ API Calls, Aggregate Services, Return Result ให้ Caller สื่อสารระหว่าง Client และ Backend Servers หลายตัว