Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

External SMB access not working

Hi Everyone,


I have a Lion Server setup running behind an AirPort Extreme which acts as our firewall and router. I'm having an issue getting external SMB (Windows File Sharing as it's called now) working. AFP works just fine for everyone, while SMB is only working on the internal network. Externally, AFP works just fine, but SMB results in the standard "Server cannot be contacted, etc." error - on both Macs and Windows machines.


I have tried numerous times to add a port mapping for SMB within the Server app and within the AirPort Utility. It doesn't work in either spot. I've restarted the APE too many times to count, and the same with the server itself. Anyone have any ideas? Have the SMB ports changed in Lion? Any help would be greatly appreciated - I'm pulling my hair out at this point!


Thanks,

-MRCUR

Mac OS X (10.7.1)

Posted on Sep 21, 2011 5:47 PM

Reply
17 replies

Sep 22, 2011 6:18 AM in response to Stress Test

Hi Stress Test,


Yes, I am forwarding all of those ports to the server. Still not working. Below are two screenshots of the error I receive (on a Mac, Windows is similar), and the port forwarding setup.


Error - http://cl.ly/0y272x2q3h2m1V2v0O02

Port setup - http://cl.ly/280K0q2z1o3w273M3t0S


I would like to implement VPN at some point, but for now, this is how my client is used to accessing their server remotely. I can only change so much at a time with them.


Thanks for the assistance,


-MRCUR

Sep 27, 2011 6:39 AM in response to Stress Test

Just checked all four ports over the Internet, and only 445 succeeded. All the others returned "connection refused". Any ideas why the AirPort would only be forwarding one of the four ports I have set up? It certainly seems like this is an issue with the AirPort and not Lion Server at this point.


Thanks,

-MRCUR

Feb 21, 2012 8:50 PM in response to MRCUR

Has anyone been able to figure this out? I'm running into the exact same issue. I cannot get SMB file sharing to work on a Mac Mini Lion server (10.7.3) with port forwarding done by an Airport Extreme. (Actually, in my case, it's a Time Capsule, but the built-in file sharing's been disabled.)


I've been able to get AFP (via port 548) working. But ports 137-139 and 445, though they are forwarded by the AEX, simply don't connect. I keep getting the "server does not exist..." error message like the original poster.


As has been mentioned earlier, if I'm connected via VPN, it works fine. Unfortunately, that's not the ultimate solution for me in this case. And it *should* work without. Testing the "nc -v hostname.com 139" test mentioned above fails for all ports, 137-139 and 445. But it works fine for port 548. I know all the ports, both TCP and UDP are forwarded. So it pretty much has to be the SMB server running on Lion Server.


I'd love to hear if anyone's got this solved...

Feb 22, 2012 5:59 AM in response to Joe_Rhodes

Hi Joe,


This is indeed working for me now. Unfortunately I don't know exactly when it started working or what caused it to work. I've only been made aware that it is working in the past few weeks.


I'm now running AirPort firmware 7.6.1, which may have done. I'm also running Lion Server 10.7.3, which may have done it. I'm really not sure, but I would recommend updating to both of those if you haven't already and giving it another go.


-MRCUR

External SMB access not working

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.