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?

已提问 2 年前371 查看次数
4 回答
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
支持工程师
已回答 2 年前
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.

已回答 2 年前
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.

已回答 2 年前
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
支持工程师
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则