เปลี่ยน Network Security Settings บน macOS
1. เปลี่ยน Wi-Fi Security Settings (บน Router - ไม่ใช่ Mac)
Mac ไม่ได้ควบคุม Wi-Fi Security ของ Router ต้องตั้งค่าที่ Router เอง
- เชื่อมต่อ Mac กับ Router (Wi-Fi หรือ Ethernet)
- เบราว์เซอร์ → IP Router (192.168.1.1, 192.168.0.1, 10.0.0.1)
- ล็อกอิน Admin → Wireless → Security
- Security Mode: WPA2-Personal (AES) หรือ WPA3-Personal
- Password: ใส่รหัสใหม่ → Save/Apply
2. กำหนดค่า Wi-Fi บน Mac (Preferred Networks, Auto-Join)
- System Settings (macOS Ventura+) / System Preferences (Monterey-) → Network → Wi-Fi
- Details... (ข้างเครือข่ายที่เชื่อมต่อ) หรือ Advanced...
- จัดการ Preferred Networks: ลบเก่า, เรียงลำดับ Priority, Auto-join
- TCP/IP, DNS, Proxies, Hardware tabs สำหรับการตั้งค่าขั้นสูง
3. macOS Firewall (Application Firewall)
- System Settings → Network → Firewall → Turn On
- 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
- System Settings → Privacy & Security
- General tab: Require password after sleep/screensaver
- FileVault: Turn On (Full Disk Encryption - แนะนำเป็นอย่างยิ่ง)
- Lockdown Mode (macOS Ventura+): Extreme Protection สำหรับ High-risk Users
5. Network Reset (Reset Network Settings)
- System Settings → Network → Wi-Fi → Details → Remove (ลบ Profile)
- หรือ: ลบไฟล์
/Library/Preferences/SystemConfiguration/(preferences.plist, NetworkInterfaces.plist) → Reboot - ⚠️ จะลบ Wi-Fi Passwords, VPN, Ethernet Settings ทั้งหมด
6. AirPort Utility (สำหรับ Apple AirPort/Time Capsule)
- Applications → Utilities → AirPort Utility
- Select Base Station → Edit → Wireless tab
- Wireless Security: WPA2 Personal / WPA3 Personal
- Password: ใส่รหัสใหม่ → Update
7. Configure Router for WPA2/WPA3 (General)
- Router Web Interface → Wireless → Security
- Version: WPA3-SAE (ถ้ารองรับ) หรือ WPA2/WPA3 Transitional
- Encryption: AES (CCMP)
- ❌ ไม่ใช้: 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
- Wi-Fi On/Off → Toggle
- Wireless Diagnostics: Option+Click Wi-Fi Icon → Open Wireless Diagnostics
- System Updates: Apple Menu → System Settings → General → Software Update
- Reset SMC (Apple Silicon: Restart; Intel: Shift+Control+Option+Power)
- Reset NVRAM/PRAM (Intel: Option+Command+P+R at startup)
- New DNS: 1.1.1.1, 8.8.8.8, 9.9.9.9
- Reboot Mac
10. Unlock Security & Privacy (ถ้าแก้ไขไม่ได้)
- System Settings → Privacy & Security → General
- คลิก 🔒 Lock Icon → ใส่ Admin Password
- Advanced → Enable/Disable ตามต้องการ