Connect to Shared Drive from Internet

Discussion in 'HyperWRT Firmware' started by zerosc, Feb 15, 2007.

  1. zerosc

    zerosc LI Guru Member

    Is it possible to remotely connect to a shared drive from the internet? I see that there's a "Internet Access" option in the Storage>Administration tab section. I am using a dynamic DNS service.
  2. grcore

    grcore Network Guru Member

  3. zerosc

    zerosc LI Guru Member

    what's the procedure of doing so? Also, I'm not talking about remote FTP. I got that to work already. I'm curious of how you can connect to the shared drive via other method. What protocol is used?
  4. grcore

    grcore Network Guru Member

    it uses smb (aka samba)

    Where are you trying to connect from?
  5. zerosc

    zerosc LI Guru Member

    well, I'm trying to connect from my laptop while i traveled. I run Vista on my laptop. So far, I've gotten samba to work on my local network (read/write from my laptop to the shared disk). Though I havent tried connecting from outside the network, ie. t-mobile hotspot, different subnet.

    Ideally, I want to be able to connect to the shared disk from the internet (ie, while i'm sitting at Starbucks, connected to t-mobile hotspot) as if it's just another network drive. I guess my question would be, what's the path to use? For local, I know I'd use, "\\router\share_name". What would I use in the case that I'm not at home?
  6. Thibor

    Thibor Super Moderator Staff Member Member

    although i've never tried it, i think you would need to map a network drive, ie \\123.456.789.123(wanip or domain name)\sharename
  7. zerosc

    zerosc LI Guru Member

    so kinda like mapping a network drive on a local network then? I'll give it a try today, will report.
  8. Thibor

    Thibor Super Moderator Staff Member Member

    i would think it would be EXACTLY like mapping a local drive, but only to the wan ip address instead.
  9. zerosc

    zerosc LI Guru Member

    OK, I'm at a T-Mobile hotspot inside a Borders bookstore. I'm using the WiFi connection, connected using "Public Network" mode under Vista, and Windows Firewall is running. I am able to connect to my FTP server and can see all partition, just the way I had set it. I cannot, however, connect to the shared drive via "mapping" using the following path,


    where is the IP address of my router and share_name is the name I had set for the shared drive.

    I also tried to ping the IP address and got timed out. Perhaps the router is not allowing any other connection through, other than the connection to the FTP server through the port that I had specified.
  10. dutchman71

    dutchman71 LI Guru Member

    I have tried the same thing, not working unfortunately. I wonder what the "internet access" option stands for...

    This would be a great function.

    I need to be able to securely access my drive at home and be able to map it to a drive letter. I have tried VPN but that also scews up other things. Is SSH an option and how would I go about that?
  11. HennieM

    HennieM Network Guru Member

    @zerosc: I know nothing about the SL, but here some ideas:

    1) Your router may need to allow incoming connections via netbios. Port 138 or 139 or thereabouts, udp and tcp, and may also need to direct them to the local IP interface.

    2) Your samba server may need to allow connections from the WAN interface.

    3) Your samba server may need to allow connections from "any IP", or perhaps just the WAN IP.

    @dutchman71: A possible solution using a 3rd machine (at the risk of stating the obvious):
    I run OpenVPN on one of my machines (either Linux or Windoze) on the LAN side of the router. The router is set up to port forward all incoming (from the WAN) connections on the OpenVPN port to this LAN machine. From my laptop, I OpenVPN to my router from somewhere on the internet (which passes the packets on to the OpenVPN LAN machine). Once I have my VPN in place, I can do just about whatever I do on my local LAN.

    I dunno much about VPNs, but what I like about OpenVPN, is that it goes through most proxies, and don't need special ports and protocols on in-between routers, as it is handled as https traffic it seems.

    I THINK dd-wrt v23 sp2 firmware has OpenVPN, which might cut out the 3rd machine.
  12. frenchy2k1

    frenchy2k1 LI Guru Member

    SSH stands for secure Shell, so I doubt it will allow you to mount your samba share through the net (it is basically a secure telnet).

    VPN is probably your best bet, then with some custom routing maybe to avoid the unpleasant side effects.

    SMB is a network protocol and i'm not sure how well it is carried on the net.
  13. dutchman71

    dutchman71 LI Guru Member

    Well, I set up a VPN connection form work to home. THe VPN server is the Linksys router. I am now able to connect and map folders on my home network. However, I lost all connections to resources on my work network (network printers and othe terminals on the work network). What setting am I missing.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice