[{"data":1,"prerenderedAt":770},["ShallowReactive",2],{"\u002Fnetwork\u002Fopenvpn-share":3,"\u002Fnetwork":533},{"id":4,"title":5,"body":6,"description":525,"extension":526,"meta":527,"navigation":528,"path":529,"seo":530,"stem":531,"__hash__":532},"networks\u002Fnetwork\u002Fopenvpn-share.md","How to Access Home Network Files over VPN on Android",{"type":7,"value":8,"toc":510},"minimark",[9,28,31,36,47,54,58,63,66,72,100,103,135,139,142,147,173,176,206,210,213,237,240,244,319,325,329,336,357,365,369,372,466,470,498,502],[10,11,12,13,18,19,18,23,27],"p",{},"When you're away from home and need to access your NAS, home server, or PC file shares, a VPN is the safest way to do it. Once your phone is connected to your home VPN, AnExplorer can reach your ",[14,15,17],"a",{"href":16},"\u002Fnetwork\u002Fsmb","SMB shares",", ",[14,20,22],{"href":21},"\u002Fnetwork\u002Fftp","FTP server",[14,24,26],{"href":25},"\u002Fnetwork\u002Fnas","NAS",", and any other local network resource exactly as if you were on home Wi-Fi.",[10,29,30],{},"This is more secure than exposing services like FTP or SMB directly to the internet, and it works with any of AnExplorer's network protocols.",[32,33,35],"h2",{"id":34},"how-vpn-anexplorer-works","How VPN + AnExplorer Works",[37,38,43],"pre",{"className":39,"code":41,"language":42},[40],"language-text","Your phone (away from home)\n  → Mobile data \u002F hotel Wi-Fi\n    → VPN tunnel (encrypted)\n      → Your home router\n        → NAS \u002F PC \u002F AnExplorer FTP Server\n","text",[44,45,41],"code",{"__ignoreMap":46},"",[10,48,49,50,53],{},"Once the VPN is connected, your phone's traffic to ",[44,51,52],{},"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.",[32,55,57],{"id":56},"vpn-options","VPN Options",[59,60,62],"h3",{"id":61},"wireguard-recommended","WireGuard (Recommended)",[10,64,65],{},"WireGuard is the modern standard — faster than OpenVPN, simpler to configure, and supported natively by most modern routers:",[10,67,68],{},[69,70,71],"strong",{},"Router-based WireGuard (easiest):",[73,74,75,82,88,94],"ul",{},[76,77,78,81],"li",{},[69,79,80],{},"ASUS routers"," (firmware 3.0+): Adaptive QoS > VPN Server > WireGuard",[76,83,84,87],{},[69,85,86],{},"GL.iNet routers",": Built-in WireGuard server",[76,89,90,93],{},[69,91,92],{},"Synology NAS",": VPN Server package > WireGuard",[76,95,96,99],{},[69,97,98],{},"QNAP NAS",": QVPN Service > WireGuard",[10,101,102],{},"Setup steps:",[104,105,106,109,116,123,129,132],"ol",{},[76,107,108],{},"Enable WireGuard server on your router or NAS",[76,110,111,112,115],{},"Download the client configuration (",[44,113,114],{},".conf"," file) to your phone",[76,117,118,119,122],{},"Install the ",[69,120,121],{},"WireGuard"," app from Google Play",[76,124,125,126,128],{},"Import the ",[44,127,114],{}," file into WireGuard app",[76,130,131],{},"Toggle the VPN on — you're now on your home network",[76,133,134],{},"Open AnExplorer and connect to your NAS\u002FSMB\u002FFTP as usual",[59,136,138],{"id":137},"openvpn","OpenVPN",[10,140,141],{},"OpenVPN is the older standard, more widely supported by older routers:",[10,143,144],{},[69,145,146],{},"Router-based OpenVPN:",[73,148,149,155,161,167],{},[76,150,151,154],{},[69,152,153],{},"ASUS",": AiVPN > VPN Server > OpenVPN",[76,156,157,160],{},[69,158,159],{},"Netgear Nighthawk",": Advanced > VPN Service",[76,162,163,166],{},[69,164,165],{},"QNAP",": QVPN Service > OpenVPN",[76,168,169,172],{},[69,170,171],{},"Synology",": VPN Server package > OpenVPN",[10,174,175],{},"Setup:",[104,177,178,181,188,195,200,203],{},[76,179,180],{},"Enable OpenVPN server on the router",[76,182,183,184,187],{},"Export the ",[44,185,186],{},".ovpn"," client configuration file",[76,189,190,191,194],{},"Install ",[69,192,193],{},"OpenVPN Connect"," from Google Play",[76,196,125,197,199],{},[44,198,186],{}," profile",[76,201,202],{},"Connect — your phone joins the home network virtually",[76,204,205],{},"Use AnExplorer normally to reach local IPs",[59,207,209],{"id":208},"tailscale-zero-config-vpn","Tailscale (Zero-Config VPN)",[10,211,212],{},"Tailscale is the easiest option if you don't want to configure a VPN server:",[104,214,215,221,224,227,234],{},[76,216,190,217,220],{},[69,218,219],{},"Tailscale"," on your phone and on your home NAS\u002FPC",[76,222,223],{},"Sign in with the same Tailscale account on both devices",[76,225,226],{},"Tailscale automatically creates a peer-to-peer VPN mesh",[76,228,229,230,233],{},"Your NAS gets a Tailscale IP (like ",[44,231,232],{},"100.x.x.x",") accessible from your phone anywhere",[76,235,236],{},"In AnExplorer, connect to the Tailscale IP instead of the LAN IP",[10,238,239],{},"Tailscale's free plan supports up to 100 devices, which is more than enough for home use.",[32,241,243],{"id":242},"which-protocols-work-well-over-vpn","Which Protocols Work Well Over VPN",[245,246,247,263],"table",{},[248,249,250],"thead",{},[251,252,253,257,260],"tr",{},[254,255,256],"th",{},"Protocol",[254,258,259],{},"Works over VPN",[254,261,262],{},"Speed notes",[264,265,266,278,288,298,308],"tbody",{},[251,267,268,272,275],{},[269,270,271],"td",{},"SMB",[269,273,274],{},"✅",[269,276,277],{},"WireGuard: good; OpenVPN: slightly slower",[251,279,280,283,285],{},[269,281,282],{},"FTP",[269,284,274],{},[269,286,287],{},"Reliable, good for large files",[251,289,290,293,295],{},[269,291,292],{},"SFTP",[269,294,274],{},[269,296,297],{},"Already encrypted — VPN is redundant but fine",[251,299,300,303,305],{},[269,301,302],{},"WebDAV",[269,304,274],{},[269,306,307],{},"Works well",[251,309,310,313,316],{},[269,311,312],{},"DLNA",[269,314,315],{},"⚠️",[269,317,318],{},"UPnP multicast discovery may not work — use direct IP",[10,320,321,322,324],{},"For ",[14,323,271],{"href":16}," over VPN, use the NAS IP directly instead of relying on hostname discovery — mDNS\u002FNetBIOS discovery doesn't always cross VPN boundaries.",[32,326,328],{"id":327},"remote-access-to-anexplorer-ftp-server","Remote Access to AnExplorer FTP Server",[10,330,331,332,335],{},"If you're away and want access to your ",[69,333,334],{},"phone's"," files from a computer at home (reverse direction):",[104,337,338,341,354],{},[76,339,340],{},"Connect phone to home VPN",[76,342,343,344,348,349,353],{},"Start ",[14,345,347],{"href":346},"\u002Fnetwork\u002Fftp-server","FTP Server"," or ",[14,350,352],{"href":351},"\u002Fnetwork\u002Fsftp-server","SFTP Server"," in AnExplorer",[76,355,356],{},"Your home PC can connect to the phone's FTP server via the phone's VPN-assigned IP",[10,358,359,360,364],{},"Alternatively: use ",[14,361,363],{"href":362},"\u002Fnetwork\u002Flocal-server","Device Connect"," — start the HTTP server on the phone and access it from your home PC's browser via the phone's VPN IP.",[32,366,368],{"id":367},"alternatives-to-vpn-for-remote-access","Alternatives to VPN for Remote Access",[10,370,371],{},"If setting up a VPN is too complex:",[245,373,374,390],{},[248,375,376],{},[251,377,378,381,384,387],{},[254,379,380],{},"Method",[254,382,383],{},"Ease",[254,385,386],{},"Security",[254,388,389],{},"Notes",[264,391,392,406,418,429,441,454],{},[251,393,394,397,400,403],{},[269,395,396],{},"WireGuard on router",[269,398,399],{},"Medium",[269,401,402],{},"✅✅✅",[269,404,405],{},"Best long-term solution",[251,407,408,410,413,415],{},[269,409,219],{},[269,411,412],{},"Easy",[269,414,402],{},[269,416,417],{},"Zero-config",[251,419,420,422,424,426],{},[269,421,138],{},[269,423,399],{},[269,425,402],{},[269,427,428],{},"Widely compatible",[251,430,431,434,436,438],{},[269,432,433],{},"Port-forward FTP",[269,435,412],{},[269,437,315],{},[269,439,440],{},"Exposes FTP directly — use FTPS or SFTP only",[251,442,443,446,448,451],{},[269,444,445],{},"Port-forward SFTP",[269,447,412],{},[269,449,450],{},"✅✅",[269,452,453],{},"SSH is reasonably safe with strong password",[251,455,456,459,461,463],{},[269,457,458],{},"Synology QuickConnect",[269,460,412],{},[269,462,450],{},[269,464,465],{},"Via Synology's relay — not fully P2P",[32,467,469],{"id":468},"related-guides","Related Guides",[73,471,472,477,483,488,493],{},[76,473,474],{},[14,475,476],{"href":21},"FTP client — connect to home server remotely",[76,478,479],{},[14,480,482],{"href":481},"\u002Fnetwork\u002Fsftp","SFTP — secure remote access",[76,484,485],{},[14,486,487],{"href":16},"SMB \u002F LAN shares",[76,489,490],{},[14,491,492],{"href":25},"Connect Android to NAS",[76,494,495],{},[14,496,497],{"href":346},"FTP Server on Android",[32,499,501],{"id":500},"install","Install",[10,503,504],{},[14,505,509],{"href":506,"rel":507},"https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=dev.dworks.apps.anexplorer",[508],"nofollow","Install AnExplorer",{"title":46,"searchDepth":511,"depth":511,"links":512},2,[513,514,520,521,522,523,524],{"id":34,"depth":511,"text":35},{"id":56,"depth":511,"text":57,"children":515},[516,518,519],{"id":61,"depth":517,"text":62},3,{"id":137,"depth":517,"text":138},{"id":208,"depth":517,"text":209},{"id":242,"depth":511,"text":243},{"id":327,"depth":511,"text":328},{"id":367,"depth":511,"text":368},{"id":468,"depth":511,"text":469},{"id":500,"depth":511,"text":501},"Connect to your home NAS, SMB shares, and FTP servers remotely over OpenVPN or WireGuard. Access phone storage securely from anywhere using AnExplorer with a VPN tunnel.","md",{},true,"\u002Fnetwork\u002Fopenvpn-share",{"title":5,"description":525},"network\u002Fopenvpn-share","hxbrEB4_zoCGQJCsZEmj_NnXxM956Zbr6JX7UbCrTbY",{"id":534,"title":535,"body":536,"description":754,"extension":526,"meta":755,"navigation":528,"path":766,"seo":767,"stem":768,"__hash__":769},"content\u002Fnetwork.md","Android Network File Access Guides for SMB, FTP, SFTP & NAS",{"type":7,"value":537,"toc":748},[538,541,545,587,591,615,619,627,631],[10,539,540],{},"AnExplorer connects to every major network file protocol — as both a client (connect to a server) and a server (run a server from your phone).",[32,542,544],{"id":543},"connect-to-a-remote-server-client","Connect to a Remote Server (Client)",[73,546,547,552,557,562,568,573,580],{},[76,548,549,551],{},[14,550,282],{"href":21}," — connect to FTP servers on NAS, routers, or PCs",[76,553,554,556],{},[14,555,292],{"href":481}," — secure SSH-based file transfer; VPS, NAS, Raspberry Pi",[76,558,559,561],{},[14,560,271],{"href":16}," — Windows file shares, Samba; fastest for LAN NAS access",[76,563,564,567],{},[14,565,302],{"href":566},"\u002Fnetwork\u002Fwebdav"," — Nextcloud, ownCloud, pCloud, Synology; HTTPS-friendly",[76,569,570,572],{},[14,571,26],{"href":25}," — brand-specific setup guides for Synology, QNAP, WD, TrueNAS",[76,574,575,579],{},[14,576,578],{"href":577},"\u002Fnetwork\u002Fdlna","DLNA \u002F UPnP"," — browse media server libraries (Plex, Jellyfin, Kodi)",[76,581,582,586],{},[14,583,585],{"href":584},"\u002Fnetwork\u002Fmedia-server","Media Server"," — access Plex, Jellyfin, Emby, Kodi from your phone",[32,588,590],{"id":589},"run-a-server-from-your-phone","Run a Server from Your Phone",[73,592,593,598,603,610],{},[76,594,595,597],{},[14,596,347],{"href":346}," — start an FTP server on Android; connect from Windows, Mac, Linux",[76,599,600,602],{},[14,601,352],{"href":351}," — encrypted SSH server on your phone",[76,604,605,609],{},[14,606,608],{"href":607},"\u002Fnetwork\u002Fwebdav-server","WebDAV Server"," — browser-accessible file server; works with macOS Finder and Windows",[76,611,612,614],{},[14,613,363],{"href":362}," — built-in HTTP server; browse phone files in any PC browser",[32,616,618],{"id":617},"privacy-and-remote-access","Privacy and Remote Access",[73,620,621],{},[76,622,623,626],{},[14,624,625],{"href":529},"VPN + File Sharing"," — WireGuard, OpenVPN, Tailscale for remote LAN access",[32,628,630],{"id":629},"protocol-quick-reference","Protocol Quick Reference",[245,632,633,645],{},[248,634,635],{},[251,636,637,639,642],{},[254,638,256],{},[254,640,641],{},"Port",[254,643,644],{},"Best For",[264,646,647,657,668,678,688,698,708,718,728,738],{},[251,648,649,651,654],{},[269,650,282],{},[269,652,653],{},"21",[269,655,656],{},"Legacy NAS, routers",[251,658,659,662,665],{},[269,660,661],{},"FTPS",[269,663,664],{},"990",[269,666,667],{},"FTP with TLS",[251,669,670,672,675],{},[269,671,292],{},[269,673,674],{},"22",[269,676,677],{},"Secure remote servers, VPS",[251,679,680,682,685],{},[269,681,271],{},[269,683,684],{},"445",[269,686,687],{},"Windows shares, LAN NAS",[251,689,690,692,695],{},[269,691,302],{},[269,693,694],{},"80\u002F443",[269,696,697],{},"Nextcloud, cloud bridging",[251,699,700,702,705],{},[269,701,312],{},[269,703,704],{},"Auto",[269,706,707],{},"Media libraries",[251,709,710,712,715],{},[269,711,347],{},[269,713,714],{},"2221",[269,716,717],{},"Share phone over network",[251,719,720,722,725],{},[269,721,352],{},[269,723,724],{},"2222",[269,726,727],{},"Secure phone sharing",[251,729,730,732,735],{},[269,731,608],{},[269,733,734],{},"8765",[269,736,737],{},"Browser-friendly phone sharing",[251,739,740,742,745],{},[269,741,363],{},[269,743,744],{},"8080",[269,746,747],{},"Browser-based wireless access",{"title":46,"searchDepth":511,"depth":511,"links":749},[750,751,752,753],{"id":543,"depth":511,"text":544},{"id":589,"depth":511,"text":590},{"id":617,"depth":511,"text":618},{"id":629,"depth":511,"text":630},"Connect Android to FTP, SFTP, SMB, WebDAV, NAS, DLNA, and media servers with AnExplorer. Also run FTP, SFTP, and WebDAV servers on your Android phone.",{"faq":756},[757,760,763],{"q":758,"a":759},"What network protocols does AnExplorer support?","AnExplorer supports FTP, SFTP, SMB (Windows shares), WebDAV, DLNA\u002FUPnP, NAS devices, and local HTTP server access. Both client mode (connect to a server) and server mode (run a server from your Android phone) are available.",{"q":761,"a":762},"Can AnExplorer connect to my NAS?","Yes. AnExplorer connects to all major NAS brands — Synology, QNAP, WD, TrueNAS — via SMB, FTP, SFTP, or WebDAV protocols.",{"q":764,"a":765},"Can I browse my phone files from a computer?","Yes. The Device Connect feature turns your phone into a local HTTP server. Open any browser on a PC on the same Wi-Fi network and access all your phone files — no software needed on the computer.","\u002Fnetwork",{"title":535,"description":754},"network","3Jc6JqtYgv15mlNFeK9ooNU2sjZ80ZSs5CRLjkR9Zd8",1776756980570]