Link to home
Start Free TrialLog in
Avatar of izad
izad

asked on

Share Linux Folder over internet using Samba

Goal:
Map a folder on Linux as a drive on windows xp pc.

Background:
I am running Linux  Fedora core 2 and have used Plesk to configure Samba.  on the linux server all seems to be working. The Linux server has a static IP with access to internet.  Samba seems to be running with shared directory and user showing up correctly.

Questions:
1) what address do I enter in the folder field when using the Windows XP Explorer <tool><map Drive>.
Note: Most documents seems suggest using a name as if Samba can only be used with the same LAN.  But I need to figure out how to use across the internet without VPN.

2) Any other steps to complete the process.

3) Have you ever done this before?if yes what other problems have you encountered.

Thanks,
Izad
ASKER CERTIFIED SOLUTION
Avatar of rindi
rindi
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I agree with rindi, don't use samba over the net without a VPN.

It is likely your system is already running a SSH server which can accept SFTP and SCP protocols (on port 22).
You can connect to this from your windows box using the winscp program:
http://winscp.net/

and this is more secure than ftp
Avatar of aravinthrk
aravinthrk

I agree with rindi and rich on Samba.

Moreover, for any mode of connection, if your Linux box is in ur private network, you still have to configure NAT/PAT so you can access your resources from Internet. Also note that you will have to have a static mapping in your Firewall which would map the Internet address/Port of your Linux Box to your Private IP and enable the firewall to accept connections from OUTSIDE. So, IT IS POSSIBLE to access your Linux Box from Internet. Only you need to do  some configurations in your Gateway/Firewall.

I would suggest SSH server in your Linux Box with "SSH Secure Shell" client in your Win Box. With this client you have the advantage of both command line working like in Telnet as well as GUI based SFTP where you can just drag & drop to copy files.

If you are looking to work on files residing on the Linux box (as in writing code) you can still do it using 'vim' or 'emacs' in the client.

Hope this helps,
Good Luck
Aravinth.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial