PDA

View Full Version : SMB, Samba over internet



IronMac
04-03-2008, 12:23 PM
How do I connect to a SMB share on my mac at home via the internet? I tried forwarding ports 137-139 and 445 in my router but I cant seem to connect using the Finder.

Soulwar
04-03-2008, 12:56 PM
Are you using a static IP address?
http://www.portforward.com/networking/static-Mac10.4.htm

PerryLynch
04-03-2008, 01:05 PM
You really don't want to open up your home network to the world via those ports. That will allow nearly everyone to have access to things they shouldn't be able to see (just Google 'smb vulnerabilities' - not all of them are windows-based).

As you're running SMB, I'm assuming you've got either a windows or linux-based file server? If so, have you tried OpenVPN? Or for an easier-to-deploy solution, SSL Explorer (which also has an OS-X version)? Running a VPN application like either of these will allow you to limit access to your files to the people that YOU choose. Not whomever chooses to look at your IP range.

Good luck,
Perry

giulio
04-03-2008, 01:40 PM
to make openVPN easier, try tunnelblick. it works quite well.

IronMac
04-03-2008, 02:22 PM
Nope I was just running the vanilla SMB sharing in 10.5x. I don't leave the ports open all the time. I remote into my router and enable them when needed. What's strange is that AFP works like a charm but not SMB and yes I have a static IP. What exactly are OpenVPN and those others mentioned?

giulio
04-03-2008, 04:17 PM
openVPN creates a private/secure tunnel from one machine/network to another. When connected, your computer now has two IP addresses, and can access two networks (1. the physical LAN, and 2. the openVPN). A VPN makes remote machines/networks act like a LAN.
openVPN is a bit of a bear to set up. But TunnelBlick makes it easier.