1. AC Question's Avatar
    i set up the built-in VPN in android, and followed a guide (i cannot post link ) to get Windows 8.1 VPN server working
    The android has a key icon in status bar and Windows says "1 client connected"
    but
    i have always been able to get to PC files via an SMB connection in ES file Explorer when on the Home Wifi
    but, when i am on 3g/4g, (no WiFi, no hotspots etc)and get the key icon,
    then how do i get access?
    i have tried my fixed ip-address/c$ (and similar) as an SMB but that doesnt work
    help greatly appreciated
    04-03-2015 07:24 AM
  2. itguyjax8430's Avatar
    i set up the built-in VPN in android, and followed a guide (i cannot post link ) to get Windows 8.1 VPN server working
    The android has a key icon in status bar and Windows says "1 client connected"
    but
    i have always been able to get to PC files via an SMB connection in ES file Explorer when on the Home Wifi
    but, when i am on 3g/4g, (no WiFi, no hotspots etc)and get the key icon,
    then how do i get access?
    i have tried my fixed ip-address/c$ (and similar) as an SMB but that doesnt work
    help greatly appreciated
    Welcome to Android Central!

    Did you set up port forwarding on your router for the SMB? You will also have to use your actual IP address vs an internal IP address (192.168.1.1) You will need to plug in the internet IP in to the phone and connect via that IP. You will need to then set up port forwarding on your router to the port where the VPN serer is. Server - 192.168.1.5:2102 example.
    04-04-2015 07:20 AM
  3. Zachary McAdam's Avatar
    yes, the phone connects using my fixed IP address, i get the KEY icon (up by the status bar), the PC says 1 connected user
    BUT
    once that is done, how do i access the files?
    in ES explorer on the local wifi it isnt a problem, i connect SMB to the PC (192.168.1.161) because i have an IP of 192.168.1.78
    but when on 3g i dont have a local IP address
    i GUESS i was expecting the VPN to give me a local IP so i could connect in the usual way

    so how DO i get my files?
    thanks
    04-05-2015 08:14 AM
  4. itguyjax8430's Avatar
    yes, the phone connects using my fixed IP address, i get the KEY icon (up by the status bar), the PC says 1 connected user
    BUT
    once that is done, how do i access the files?
    in ES explorer on the local wifi it isnt a problem, i connect SMB to the PC (192.168.1.161) because i have an IP of 192.168.1.78
    but when on 3g i dont have a local IP address
    i GUESS i was expecting the VPN to give me a local IP so i could connect in the usual way

    so how DO i get my files?
    thanks
    On your home PC go to Google and search what's my ip. It will give you the actual ip address your ISP gives you. That's the IP you need to connect to if you want to do it over 3G. You will need to set up port forwarding on your router to let the traffic come through and forward to that machine.

    Current devices: T-Mobile Galaxy S6, Surface Pro 3 Core I5, Nexus 9, and Moto 360

    Past Devices - Phones: Galaxy Note 4, Nexus 6, Nexus 5, Galaxy Nexus, Nexus S, Galaxy Note 3, Galaxy Note 2, Galaxy S5, Galaxy S4, Galaxy S3, Galaxy S2, HTC Incredible, HTC EVO 4G, HTC EVO, HTC Hero, Motorola Photon.

    Tablets: Nexus 7 (2013), Nexus 7 (2012), Lenovo Yoga Tablet 2 Windows 8.1, Dell Venue 8, Galaxy Tab Pro, Galaxy Note 10.1 2014 Edition, Galaxy Note 10.1, Galaxy Note 8, Kindle Fire HD 8.4, Kindle Fire HD 7, Kindle Fire, iPad 2, iPad 1, Nook HD, Nook.
    04-05-2015 09:19 AM
  5. Zachary McAdam's Avatar
    I *AM* connected, i have a fixed IP address, i get the connected message in windows.
    connecting isnt the problem

    it is what to do AFTER connected that i am asking about
    04-05-2015 03:39 PM
  6. itguyjax8430's Avatar
    I *AM* connected, i have a fixed IP address, i get the connected message in windows.
    connecting isnt the problem

    it is what to do AFTER connected that i am asking about
    Ok gotcha, thought you said you could not get connect via 3G.
    04-05-2015 05:21 PM
  7. Rukbat's Avatar
    From htc droid incredible - What Port Does Android Use For VPN Connections? - Android Enthusiasts Stack Exchange

    Here are the ports used by VPNs
    PPTP
    To allow PPTP tunnel maintenance traffic, open TCP 1723.
    To allow PPTP tunneled data to pass through router, open Protocol ID 47.
    L2TP over IPSec
    To allow Internet Key Exchange (IKE), open UDP 500.
    To allow IPSec Network Address Translation (NAT-T) open UDP 5500.
    To allow L2TP traffic, open UDP 1701.
    04-05-2015 05:25 PM
  8. Zachary McAdam's Avatar
    if i want to connect to a my home/local LAN, and grab files off my PC, then is PPTP enough?
    do i need L2TP?
    and if i add L2Tp to my router, then how do i get an android to connect to it?
    thanks
    04-06-2015 04:31 AM
  9. BigP93's Avatar
    Hi! I've got the same problem, two years after your question.
    Were ou able to solve this problem?
    I tried many SMB apps: on Wifi they work, but with 3g/3g they can't upload files to remote server (they can download).

    Sorry for re-opening this thread after two years.
    05-12-2017 09:24 AM
  10. Rukbat's Avatar
    BigP93, evidently your phone is working, but your provider is blocking something you need for uploading via SMB. Try uploading via FTP.
    05-12-2017 12:12 PM
  11. BigP93's Avatar
    Thank you for the answer, Rukbat.
    I'm working with the network administrator of a company to solve this problem, we are testing if it's possible to send files via VPN and SMB protocol accessing to the Active Directory of the server.

    We'll try using FTP too, but we prefer using SMB if possible. Thank you anyway
    05-15-2017 07:30 AM

Similar Threads

  1. Android Auto Australia
    By Jared Mayfield in forum Android Auto
    Replies: 4
    Last Post: 04-06-2015, 09:33 AM
  2. Replies: 3
    Last Post: 04-04-2015, 04:36 PM
  3. Fire TV Stick with Android Tablet?
    By SandLake in forum Amazon Fire TV
    Replies: 1
    Last Post: 04-03-2015, 06:50 PM
  4. Replies: 3
    Last Post: 04-03-2015, 07:44 AM
  5. Replies: 7
    Last Post: 04-03-2015, 04:15 AM
LINK TO POST COPIED TO CLIPBOARD