เข้าถึงไฟล์เครือข่ายในบ้านจากระยะไกลผ่าน VPN
เมื่อคุณไม่อยู่บ้านและต้องการเข้าถึง NAS, โฮมเซิร์ฟเวอร์ หรือการแชร์ไฟล์บนพีซี VPN คือวิธีที่ปลอดภัยที่สุด เมื่อโทรศัพท์ของคุณเชื่อมต่อกับ VPN ที่บ้านแล้ว AnExplorer จะสามารถเข้าถึง การแชร์ SMB, เซิร์ฟเวอร์ FTP, NAS และทรัพยากรเครือข่ายท้องถิ่นอื่น ๆ ของคุณเหมือนกับว่าคุณใช้ Wi-Fi ที่บ้านทุกประการ
มีความปลอดภัยมากกว่าการเปิดเผยบริการต่างๆ เช่น FTP หรือ SMB ไปยังอินเทอร์เน็ตโดยตรง และใช้งานได้กับโปรโตคอลเครือข่ายใดๆ ของ AnExplorer
VPN + AnExplorer ทำงานอย่างไร
Your phone (away from home)
→ Mobile data / hotel Wi-Fi
→ VPN tunnel (encrypted)
→ Your home router
→ NAS / PC / AnExplorer FTP Server
Once the VPN is connected, your phone's traffic to 192.168.x.x addresses routes through the tunnel to your home network. AnExplorer sees the NAS or FTP server at the same IP it would use at home.
VPN Options
WireGuard (Recommended)
WireGuard is the modern standard — faster than OpenVPN, simpler to configure, and supported natively by most modern routers:
Router-based WireGuard (easiest):
- ASUS routers (firmware 3.0+): Adaptive QoS > VPN Server > WireGuard
- GL.iNet routers: Built-in WireGuard server
- Synology NAS: VPN Server package > WireGuard
- QNAP NAS: QVPN Service > WireGuard
Setup steps:
- Enable WireGuard server on your router or NAS
- Download the client configuration (
.conffile) to your phone - Install the WireGuard app from Google Play
- Import the
.conffile into WireGuard app - Toggle the VPN on — you're now on your home network
- Open AnExplorer and connect to your NAS/SMB/FTP as usual
OpenVPN
OpenVPN is the older standard, more widely supported by older routers:
Router-based OpenVPN:
- ASUS: AiVPN > VPN Server > OpenVPN
- Netgear Nighthawk: Advanced > VPN Service
- QNAP: QVPN Service > OpenVPN
- Synology: VPN Server package > OpenVPN
Setup:
- Enable OpenVPN server on the router
- Export the
.ovpnclient configuration file - Install OpenVPN Connect from Google Play
- Import the
.ovpnprofile - Connect — your phone joins the home network virtually
- Use AnExplorer normally to reach local IPs
Tailscale (Zero-Config VPN)
Tailscale is the easiest option if you don't want to configure a VPN server:
- Install Tailscale on your phone and on your home NAS/PC
- Sign in with the same Tailscale account on both devices
- Tailscale automatically creates a peer-to-peer VPN mesh
- Your NAS gets a Tailscale IP (like
100.x.x.x) สามารถเข้าถึงได้จากโทรศัพท์ของคุณทุกที่ - ใน AnExplorer ให้เชื่อมต่อกับ Tailscale IP แทน LAN IP
แผนบริการฟรีของ Tailscale รองรับอุปกรณ์ได้มากถึง 100 เครื่อง ซึ่งเพียงพอสำหรับใช้ในบ้าน
โปรโตคอลใดทำงานได้ดีบน VPN
| โปรโตคอล | ทำงานผ่าน VPN | บันทึกความเร็ว |
|---|---|---|
| ธุรกิจขนาดกลางและขนาดย่อม | ✅ | WireGuard: ดี; OpenVPN: ช้ากว่าเล็กน้อย |
| เอฟทีพี | ✅ | เชื่อถือได้ เหมาะสำหรับไฟล์ขนาดใหญ่ |
| เอสเอฟทีพี | ✅ | เข้ารหัสแล้ว — VPN ซ้ำซ้อนแต่ใช้ได้ |
| เว็บDAV | ✅ | ทำงานได้ดี |
| ดีแอลเอ็นเอ | ⚠️ | การค้นพบมัลติคาสต์ UPnP อาจไม่ทำงาน - ใช้ IP โดยตรง |
สำหรับ SMB ผ่าน VPN ให้ใช้ NAS IP โดยตรงแทนที่จะอาศัยการค้นหาชื่อโฮสต์ — การค้นพบ mDNS/NetBIOS จะไม่ข้ามขอบเขต VPN เสมอไป
การเข้าถึงระยะไกลไปยังเซิร์ฟเวอร์ AnExplorer FTP
หากคุณไม่อยู่และต้องการเข้าถึงไฟล์ โทรศัพท์ ของคุณจากคอมพิวเตอร์ที่บ้าน (ย้อนกลับ):
- เชื่อมต่อโทรศัพท์กับ VPN ที่บ้าน
- เริ่ม เซิร์ฟเวอร์ FTP หรือ เซิร์ฟเวอร์ SFTP ใน AnExplorer
- พีซีที่บ้านของคุณสามารถเชื่อมต่อกับเซิร์ฟเวอร์ FTP ของโทรศัพท์ผ่าน IP ที่กำหนดโดย VPN ของโทรศัพท์
อีกวิธีหนึ่ง: ใช้ การเชื่อมต่ออุปกรณ์ — เริ่มต้นเซิร์ฟเวอร์ HTTP บนโทรศัพท์และเข้าถึงจากเบราว์เซอร์ของพีซีที่บ้านของคุณผ่าน IP VPN ของโทรศัพท์
ทางเลือกแทน VPN สำหรับการเข้าถึงระยะไกล
หากการตั้งค่า VPN ซับซ้อนเกินไป:
| วิธีการ | ง่าย | ความปลอดภัย | หมายเหตุ |
|---|---|---|---|
| WireGuard บนเราเตอร์ | ปานกลาง | ✅✅✅ | ทางออกที่ดีที่สุดในระยะยาว |
| ส่วนท้าย | ง่าย | ✅✅✅ | กำหนดค่าเป็นศูนย์ |
| โอเพ่น VPN | ปานกลาง | ✅✅✅ | เข้ากันได้อย่างกว้างขวาง |
| FTP ส่งต่อพอร์ต | ง่าย | ⚠️ | เปิดเผย FTP โดยตรง — ใช้ FTPS หรือ SFTP เท่านั้น |
| SFTP ส่งต่อพอร์ต | ง่าย | ✅✅ | SSH ปลอดภัยพอสมควรด้วยรหัสผ่านที่รัดกุม |
| Synology QuickConnect | ง่าย | ✅✅ | ผ่านการถ่ายทอดของ Synology — ไม่ใช่ P2P |
คำแนะนำที่เกี่ยวข้อง
- ไคลเอนต์ FTP — เชื่อมต่อกับโฮมเซิร์ฟเวอร์จากระยะไกล
- SFTP — การเข้าถึงระยะไกลที่ปลอดภัย
- แชร์ SMB / LAN
- เชื่อมต่อ Android กับ NAS
- เซิร์ฟเวอร์ FTP บน Android
