ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Beat the System with Pertino

    Scheduled Pinned Locked Moved IT Discussion
    pertinolinuxsambasmbfile sharing
    3 Posts 2 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thanksajdotcomT
      thanksajdotcom
      last edited by

      So Pertino has not yet released a gateway means so that you can install Pertino and use it as a gateway tunnel to access all resources behind it. It is strictly an agent. Well, if I want to access my NASes, I've had to remote into my Windows VM and access it that way. Or, I do have one public facing with the proper port forwarding. Anyways, what I did was something kinda sneaky and something I never knew I could do until today. I setup SAMBA on my new Linux server. Now I have a cron job I setup with crontab that on every reboot it mounts both my NASes into the /media folder into each of their appropriately named folders. After you have this setup, go to /etc/samba/smb.conf and add the following:

      [goflex_dallas]
      comment = GoFlex Dallas
      path = /media/goflex_dallas
      browsable = yes
      guest ok = yes
      read only = no
      create mask = 0755

      will be the share name and the rest is pretty self-explanatory. The mask is the permissions.

      Now, with that Linux server running Pertino, I can do this:
      upload-1f85f2de-82e4-4823-b96e-517008f036b2

      They open up and there are both my NASes fully open to me. I know that, in the big scale, this isn't much different that using my VM to access them, as this server is a VM as well. However, I find this cleaner and easier. I don't know of a way to share a mapped drive in Windows, which is why I love how Linux handles mapping drives so much more! It makes so much more sense, IMHO.

      Anyways, it's a handy trick I thought someone else could use.

      Thanks!
      A.J.

      1 Reply Last reply Reply Quote -1
      • DashrenderD
        Dashrender
        last edited by

        I'm a bit lost.

        You have two NASs at home mounted to a Linux box, that you are then sharing to CIFS so you can mount them on a Windows box?

        Is the Windows box not on the local LAN? If not I guess that's why you have Pertino as part of this, because you are Pertino'ing from a non local Windows box to the Linux box which is offering a pass-through to the NASs?

        If your Windows box is local to NASs, why bother going through the Linux box?

        thanksajdotcomT 1 Reply Last reply Reply Quote 0
        • thanksajdotcomT
          thanksajdotcom @Dashrender
          last edited by

          @Dashrender said:

          I'm a bit lost.

          You have two NASs at home mounted to a Linux box, that you are then sharing to CIFS so you can mount them on a Windows box?

          Is the Windows box not on the local LAN? If not I guess that's why you have Pertino as part of this, because you are Pertino'ing from a non local Windows box to the Linux box which is offering a pass-through to the NASs?

          If your Windows box is local to NASs, why bother going through the Linux box?

          The Windows box and the Linux box are both on the same LAN as the NASes. This is more so I can access the NASes easily remotely on my Pertino network.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post