Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบเครือข่าย >> ความปลอดภัยเครือข่าย

macOS: วิธีเปลี่ยน Network Security Settings (Wi-Fi, Firewall, Privacy)

เปลี่ยน Network Security Settings บน macOS

1. เปลี่ยน Wi-Fi Security Settings (บน Router - ไม่ใช่ Mac)

Mac ไม่ได้ควบคุม Wi-Fi Security ของ Router ต้องตั้งค่าที่ Router เอง

  1. เชื่อมต่อ Mac กับ Router (Wi-Fi หรือ Ethernet)
  2. เบราว์เซอร์ → IP Router (192.168.1.1, 192.168.0.1, 10.0.0.1)
  3. ล็อกอิน Admin → Wireless → Security
  4. Security Mode: WPA2-Personal (AES) หรือ WPA3-Personal
  5. Password: ใส่รหัสใหม่ → Save/Apply

2. กำหนดค่า Wi-Fi บน Mac (Preferred Networks, Auto-Join)

  1. System Settings (macOS Ventura+) / System Preferences (Monterey-) → Network → Wi-Fi
  2. Details... (ข้างเครือข่ายที่เชื่อมต่อ) หรือ Advanced...
  3. จัดการ Preferred Networks: ลบเก่า, เรียงลำดับ Priority, Auto-join
  4. TCP/IP, DNS, Proxies, Hardware tabs สำหรับการตั้งค่าขั้นสูง

3. macOS Firewall (Application Firewall)

  1. System Settings → Network → Firewall → Turn On
  2. Options → เปิด:
    ✅ Block all incoming connections (Strict)
    ✅ Automatically allow built-in software
    ✅ Automatically allow downloaded signed software
    ✅ Enable Stealth Mode (ไม่ตอบ Ping/Probe)

4. Security & Privacy Settings

  1. System Settings → Privacy & Security
  2. General tab: Require password after sleep/screensaver
  3. FileVault: Turn On (Full Disk Encryption - แนะนำเป็นอย่างยิ่ง)
  4. Lockdown Mode (macOS Ventura+): Extreme Protection สำหรับ High-risk Users

5. Network Reset (Reset Network Settings)

  1. System Settings → Network → Wi-Fi → Details → Remove (ลบ Profile)
  2. หรือ: ลบไฟล์ /Library/Preferences/SystemConfiguration/ (preferences.plist, NetworkInterfaces.plist) → Reboot
  3. ⚠️ จะลบ Wi-Fi Passwords, VPN, Ethernet Settings ทั้งหมด

6. AirPort Utility (สำหรับ Apple AirPort/Time Capsule)

  1. Applications → Utilities → AirPort Utility
  2. Select Base Station → Edit → Wireless tab
  3. Wireless Security: WPA2 Personal / WPA3 Personal
  4. Password: ใส่รหัสใหม่ → Update

7. Configure Router for WPA2/WPA3 (General)

  1. Router Web Interface → Wireless → Security
  2. Version: WPA3-SAE (ถ้ารองรับ) หรือ WPA2/WPA3 Transitional
  3. Encryption: AES (CCMP)
  4. ❌ ไม่ใช้: WEP, TKIP, WPA/WPA2 Mixed (TKIP)

8. WPA3 vs WPA2 บน macOS

  • macOS 10.15+ รองรับ WPA3
  • WPA3 ปลอดภัยกว่า (SAE, Forward Secrecy, 192-bit Enterprise)
  • แต่ WPA2-AES ยังปลอดภัยและเข้ากันได้กว้างกว่า
  • แนะนำ: WPA2/WPA3 Transitional Mode

9. Troubleshooting macOS Network Issues

  1. Wi-Fi On/Off → Toggle
  2. Wireless Diagnostics: Option+Click Wi-Fi Icon → Open Wireless Diagnostics
  3. System Updates: Apple Menu → System Settings → General → Software Update
  4. Reset SMC (Apple Silicon: Restart; Intel: Shift+Control+Option+Power)
  5. Reset NVRAM/PRAM (Intel: Option+Command+P+R at startup)
  6. New DNS: 1.1.1.1, 8.8.8.8, 9.9.9.9
  7. Reboot Mac

10. Unlock Security & Privacy (ถ้าแก้ไขไม่ได้)

  1. System Settings → Privacy & Security → General
  2. คลิก 🔒 Lock Icon → ใส่ Admin Password
  3. Advanced → Enable/Disable ตามต้องการ