Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2002 13:22:31 +0200 (CEST)
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        mario.pranjic@irb.hr
Cc:        security@FreeBSD.ORG
Subject:   Re: ipfw and samba
Message-ID:  <200204121122.g3CBMVpN001093@Magelan.Leidinger.net>
In-Reply-To: <Pine.GSO.4.32.0204121002300.23202-100000@nippur.irb.hr>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12 Apr, Mario Pranjic wrote:

> Does anyone knows what should be opened in order to samba works proprely.
> I tried opening the ports 137-139 (tcp and udp) but it still doesn't
> work.
> 
> smbclient -L works, though, but I can't access the host from windows.
> 
> Anybody knowns what might be the problem?

${fwcmd} add allow tcp from any to me 138,139,445 in via ${outside_interface} setup keep-state
${fwcmd} add pass udp from any 139 to me 139 via ${outside_interface} keep-state

works for me.

Bye,
Alexander.

-- 
                   It's not a bug, it's tradition!

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204121122.g3CBMVpN001093>