Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Remote Access to NAS

  • 12-12-2006 9:54am
    #1
    Registered Users, Registered Users 2 Posts: 203 ✭✭


    I am hoping to setup some network storage which ideally I would like to access remotely via the internet. The NAS will be attached to a Netgear router which connects to the internet via a dynamic IP address. I am just looking for a bit of advice on the best way to go about this. The obvious solution is to obtain a fixed IP addy, but I am sure there is a way around this?

    Thanks for your help!!!


Comments

  • Registered Users, Registered Users 2 Posts: 3,357 ✭✭✭snappieT


    OK, from what I've heard, NAS share their data via samba.
    Assuming this is correct, the ports used are 137, 138 & 139.

    What you need to do is set a fixed IP for the NAS on your local network. Then go into your router configuration page, and look up NAT, (Network Address Translation, Port Forwarding, it has a variety of names), and forward ports 137, 138, and 139 to the local IP of the NAS.

    You will now be able to connect to the shares via the IP address.

    To save getting a fixed IP address, take a look at www.dyndns.com or www.no-ip.com. Some routers let you put your login details into the config pages. The router reports to dyndns every hour, say, with what your current IP address is. If the IP changed, dyndns update their nameservers to represent the change. Since the nameservers for the url you get are owned by dyndns, the mapping is virtually instant.

    Then you just go to the remote PC, and map the network drive as \\jonniep.dyndns.org\<sharename>.

    Any problems, give me a shout!


  • Registered Users, Registered Users 2 Posts: 865 ✭✭✭humaxf1


    I got one of the NAS enclosures in Maplin and a 250GB drive. Worked out at €165. Works a treat both on my local network and over the net via FTP. I have the advantage of a IBB Breeze connection which is a fixed IP.

    I opened port 21 on my Linksys WRT54G and forwarded it to the IP of the NAS. If I want to transfer BIG files to/from it, I use FTP Filezilla rather than copy&paste. Rate is about 5MB/sec.


  • Registered Users, Registered Users 2 Posts: 386 ✭✭Zirconia
    Boycott Israeli Goods & Services


    Both the suggestions from the posters above will allow you to connect and do what you want, but anyone else can too. someone running a port scanner will pick up these ports, and the scanner will tell them that you are running an open file share or ftp server. Password protection will only get you so far as well (assuming you have this in place even), as the packets can be intercepted and the passwords cracked - the port 21 method dosen't even need to be cracked; the password will be readable plain-text in a captured packet.

    If you really want to access your NAS, and it's a linux or win based device, you may be able to set up OpenVPN or the like, which is a much more sensible option.


  • Registered Users, Registered Users 2 Posts: 865 ✭✭✭humaxf1


    Hi zirconia,

    What would you suggest for setting up a VPN so I can access my NAS

    thx


  • Registered Users, Registered Users 2 Posts: 16,288 ✭✭✭✭ntlbell


    What model router are you using?

    OpenVPN is an option for you, or your current router may support GRE tunnels.

    As has been suggested and picked up on all ready, do not forward these ports to access the NAS remotley.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 865 ✭✭✭humaxf1


    its a Linksys WRT54G, broadband router.


  • Registered Users, Registered Users 2 Posts: 6,949 ✭✭✭SouperComputer


    If you plan opening the netbios trio of ports for shraing, you could save yourself the hassle and just format the drive instead :)

    You could run OpenVPN from a PC, or perhaps purchase a new router with VPN functionality.

    FTP is another option, but VPN is proably the best way to go.


Advertisement