site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
1109
Share Topic
Posting?
Post a:
Post a:
Links: ·Submit a new forum topic ·Forum FAQ ·Submit a FAQ ·Docs Guidelines and Advisories ·EOS/EOL thread
AuthorAll Replies

mocah

join:2003-04-11
Slovenia

[HELP] ZBF and shared folder (windows)

Hello all,

I have two VLAN's on router and VLAN's are in different ZBF zones. From VLAN 2 I would like to allow access to shared folder on computer which is in VLAN1. I have configured following in ZBF:

class-map type inspect match-all cifs-cmap
 match protocol cifs
 
policy-map type inspect cifs-pmap
 class type inspect cifs-cmap
  inspect
 class class-default
  drop
 
zone-pair security AP2LAN source AP destination LAN
 service-policy type inspect cifs-pmap
 
 
Firewall is still blocking access to computer. Does anybody knows what to add to configuration file?

Thank you and kind regards, M

cooldude9919

join:2000-05-29
Cape Girardeau, MO
kudos:5

1 edit

I am guessing you will need to add some other protocols besides cifs, though i am not sure what all that would be off hand (netbios ports like 135, 139, and other possibily)

As long as you dont have tons of other traffic going on to fill up the log, change the drop of the class default to drop log, and try to access a share and see what packes get dropped.


HELLFIRE

join:2009-11-25
kudos:4

1 edit

reply to mocah
Ports 135 (WINS), 137 (Name), 138 (Datagram), 139 (Session) and 445 (Shares / SMB) if I remember right.

Regards


mocah

join:2003-04-11
Slovenia

reply to mocah
thank you both. It is working :)

Following config:

ip access-list extended port135
 permit tcp any any eq 135
 
class-map type inspect match-any CIFS-cmap
 match protocol cifs
 match access-group name port135
 match protocol netbios-dgm
 match protocol netbios-ns
 match protocol netbios-ssn
 
policy-map type inspect cifs-pmap
 class type inspect CIFS-cmap
  inspect 
 class class-default
  drop
 
 

Sunday, 03-Jun 08:51:19 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics