luca2 Posted July 30, 2019 Share Posted July 30, 2019 Hi, My unraid is in subnet 192.168.1.0. My vm is in subnet 192.168.2.0. Traffic between both is dropped by the router. I want to create a share and make it accesible by the vm. How should I proceed? Rgds Quote Link to comment
Kevek79 Posted July 31, 2019 Share Posted July 31, 2019 Why is your router blocking traffic in between private subnets ? Did you try reaching the share via IP-Adress or Hostname ? Beeing in different subnets can be the reason for not resolving the hostname of the server, but with a firewall configured correctly (Communication in between private subnets is possible) you should still be able to access the server/share via the correct IP adress. Quote Link to comment
luca2 Posted July 31, 2019 Author Share Posted July 31, 2019 (edited) 5 hours ago, Kevek79 said: Why is your router blocking traffic in between private subnets ? Did you try reaching the share via IP-Adress or Hostname ? Beeing in different subnets can be the reason for not resolving the hostname of the server, but with a firewall configured correctly (Communication in between private subnets is possible) you should still be able to access the server/share via the correct IP adress. Hi! Thx for replay. I intentionally wanted to avoid connection between both subnets, that is why I implemented the following firewall rule (Microtik): add action=drop chain=forward comment="drop traffic from lan2 to lan1" dst-address=192.168.1.0/24 src-address=192.168.49.0/24 Now that I dropped all communication between both I only need the vm access the unraid share. I was asking just to make sure that the only option to make it work is modifiying the rule I posted in the firewall or maybe adding a new rule before that one "opening" a specific port and specifying mac addresses of both vm and unraid ethernet adapter. Maybe you can confirm this is the way to go. Rgds EDIT: which port should I use? vm is accessing the web and the unraid share. no ftp,etc. Edited July 31, 2019 by luca2 Quote Link to comment
Kevek79 Posted July 31, 2019 Share Posted July 31, 2019 If we are talking about CIFS/SMB shares opening the ports 137-139 UDP and 445 TCP should help. You might also need 139 TCP. Quote Link to comment
luca2 Posted July 31, 2019 Author Share Posted July 31, 2019 Thx for support! Will try what you suggested. Rgds Quote Link to comment
luca2 Posted August 2, 2019 Author Share Posted August 2, 2019 Hi, I only opened tcp 445 and it works. Do I need to open also the other ports. I want to avoid as many open ports as possible, Rgds Quote Link to comment
Kevek79 Posted August 3, 2019 Share Posted August 3, 2019 If it works, keep it as is. If you experience any issues - open the other ones Glad it worked out for you. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.