Samba

If you wish to run Samba on your firewall and access shares between the firewall and local hosts, you need the following rules:

/etc/shorewall/rules:

RESULT CLIENT(S) SERVER(S) PROTO PORT(S) CLIENT PORT(S) ADDRESS
ACCEPT fw loc udp 137:139    
ACCEPT fw loc tcp 137,139    
ACCEPT loc fw udp 137:139    
ACCEPT loc fw tcp 137,139    

Last modified 4/15/2002 - Tom Eastep

Copyright © 2002 Thomas M. Eastep.