Beat the System with Pertino
-
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 = 0755will 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:
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. -
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?
-
@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.