PDA

View Full Version : File Sharing Remotely




Futhark
May 22, 2013, 03:58 AM
Can someone help me setup file sharing remotely, I have managed to setup a VPN connection and it's working because i can login into my server at home from work and it allows me to make changes to my setup etc but for the life of me i don't know where or how to access my share files? When i'm on my home network the server shows up under finder but that is not the case when i'm in work, What am i doing wrong? :confused:



Futhark
May 22, 2013, 03:32 PM
Just an update to say I've figured out to get a Remote Desktop of my server but I'm having to zip the files I need and email them to myself which isn't really convenient :-) any help would be appreciated.

Raima
May 23, 2013, 08:19 PM
I'm having the same problem. Any help appreciated.

Using IPsec to connect to a Fritz!box 7390 router at home

Futhark
May 27, 2013, 04:41 AM
I'm having the same problem. Any help appreciated.

Using IPsec to connect to a Fritz!box 7390 router at home

Have you had any luck?

Umac-de
May 27, 2013, 12:24 PM
When i'm on my home network the server shows up under finder...
This (a bonjour feature) isn't working over VPN connection.
You have to google for "wide area bonjour" set up and configuration.
But, connected, you can use finders "go to" with the IP of the server...

Futhark
May 27, 2013, 12:26 PM
This (a bonjour feature) isn't working over VPN connection.
You have to google for "wide area bonjour" set up and configuration.
But, connected, you can use finders "go to" with the IP of the server...

Thanks for this info. I'll look into it

Umac-de
May 27, 2013, 01:04 PM
Tip: Instead of trying to get "wide area bonjour" to work, try to get programms -> automator to work for you :)
code:
tell application "System Events"
tell current location of network preferences
set VPNservice to service "VPN (L2TP)" -- name of the VPN service
if exists VPNservice then connect VPNservice
end tell
end tell

delay (2)

tell application "Finder"
activate
mount volume "afp://yourServer IP/share" as user name "User" with password "Password"
end tell

...and save it as app and place it in the dock...

Raima
May 27, 2013, 07:07 PM
Have you had any luck?

I came across this for my router - http://service.avm.de/support/en/SKB/FRITZ-Box-7390-int/564:Accessing-shared-files-in-a-remote-FRITZ-Box-network-over-VPN-connection

I haven't tried it yet, but it has instructions which may also work in your situation.

AtomicGrog
May 27, 2013, 10:01 PM
Maybe I missed it (sorry if I have) but I'm not seeing what you are using as your work machine.

Assuming you have a windows PC you should be able to access your server via an IP based UNC: \\your.server.ip.here\sharename

A working example for me at work is this: \\10.31.89.188\Logs

That would allow you to browse and even create a windows drive letter.

Alternatively as you are running osx server. Startup the FTP server component and then you should be able to use the ftp client in windows to access the server and push/pull files.

meme1255
Jun 1, 2013, 12:34 PM
I use this to display remote server in Finder (AFP in this case):
#!/bin/bash
ssh -L 54800:127.0.0.1:548 -N user@server -g &
trap "kill $!" SIGINT SIGHUP SIGTERM
dns-sd -P "Name_In_Finder" _afpovertcp._tcp local 54800 localhost.local. local_IP_Adress




// -g causes that this shared source is available for whole client's network - I use modified version to share iTunes over VPN ;)