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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南