Unable to acess linux shared folder

0

Hello!

I have an EC2 linux instance (Ubuntu), and on this instance I have a hidden shared folder.

In most of my clients I am able to access this folder without a problem, like this \\aws.mycompany.com\folder$.

But, in some clients I am not able to acess the same folder directly. If I connect to a vpn first I am able to connect.

What could be wrong? It's some configuration on Linux? Or on my DNS? Or on the client connection?

asked 2 years ago363 views
4 Answers
0

Hello! Some questions that will aid you:

  1. Are you able to resolve aws.mycompany.com to an IP address? You can use the dig or ping command to find out.
  2. How did you mount the network filesystem? Which syntax did you use? Have you tried unmounting and mounting again?
  3. Have you checked the security groups and network acls applying to the instance?
  4. Do you have any firewall on the Linux OS that might be blocking connectivity?
  5. Does the source share apply any network filtering on their side to only allow specific hosts?
AWS
SUPPORT ENGINEER
answered 2 years ago
0

Thank for the reply Franscisco. Here is my answers:

  1. Yes, it´s possible to ping. I even tried to connect with the ip number, \\99.99.99.99\folder$;
  2. I'm sorry, I don't know what you mean, but the shared folders configuraration were create on samba, smb.inf;
  3. Yes, all the security was checked;
  4. There is no firewall on the Linux, and I tried do disable the firewall on the client side as well;
  5. There is no filtering.

Only some Windows clients can't acess the folder. The majority of users on windows clients acess the folder withou any problem.

answered 2 years ago
0

One more detail that I realise now. When I'm using my regular network I can acess the folder. Now, I'm trying to use the shared internet connection from my cell phone, and I can't connect to the folder anymore.

answered 2 years ago
0

Hello! Since you are able to access it from your regular network, this means that there's no issue on the share side and you should investigate the shared cellphone connection instead. I would suggest to contact your cellphone provider, they are likely to block TCP port 445 for security reasons which is needed by SMB. There's no way around this other than to use another network.

AWS
SUPPORT ENGINEER
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions