OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: rharvey on April 10, 2020, 07:18:00 PM

Title: what should the rules be if...
Post by: rharvey on April 10, 2020, 07:18:00 PM
my firewall has of course the WAN interface, then 192.168.96.0/24 lan interface, 192.168.97.0/24 work interface shop I have a rule that blocks 192.168.97.0 from accessing 192.168.96.0 I want to allow access to  192.168.96.201 from 192.168.97.0 what rules do I need to make to allow smb access to the 192.168.96.201 box from the 192.168.97.0 network?

thanks
Robert
Title: Re: what should the rules be if...
Post by: stefanpf on April 10, 2020, 07:32:24 PM
1st I would have a look at punctuation rules :-)

2nd Allow UDP 137 + 138
3nd Allow TCP 139 + 445
Title: Re: what should the rules be if...
Post by: rharvey on April 10, 2020, 10:22:33 PM
Thank you for you help.
My main problem was I had the allow rule under the deny rule.
It was getting denied no matter what I did because I forgot to move the rule up.
The ports help limit the access.

thanks
Robert