[ previous ] [ next ] [ threads ]
 From:  "Lee Sharp" <leesharp at hal dash pc dot org>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall] windows file sharing on different ports/subnets
 Date:  Sun, 3 Dec 2006 18:02:16 -0600
From: "Christopher M. Iarocci" <iarocci at eastendsc dot com>
> Michael wrote:

>> I have one network on and another on opt1 at 
>> which is being used for a wireless AP.
>> What rule or NAT rule would I have to create to allow windows files 
>> sharing
>> from one subnet to the other? Right now I cannot see anything. I would 
>> probably have to allow certain icmp
>> traffic in as well.

> Windows file sharing does not work from subnet to subnet without the use 
> of a WINS server or a 2K/2K3 domain controller.  For windows 2K and up, 
> you need port 445TCP open.  For ME and older you need port 139TCP open.

Just to clarify, file sharing works fine across subnets.  It is name 
resolution that fails.  But if you have your DNS set up correctly, you can 
get around this.  Ports 138, 139, and 445 should cover you.