Re: IPFW/Samba does not work with WinXP (but with MacOS 10.3)

2005-05-11 Thread Nicholas Henry
Yes - that's my understanding too. I'm trying to let all local traffic
(i.e. on the same network) through with this:

# Allow any traffic to or from my own net.
${fwdcmd} 400 pass all from me to ${net}:${mask}
${fwdcmd} 500 pass all from ${net}:${mask} to me

Anyone with any other thoughts?

On 5/11/05, Juha Saarinen [EMAIL PROTECTED] wrote:
 On 5/11/05, Nicholas Henry [EMAIL PROTECTED] wrote:
  FreeBSD 5.3-RELEASE (GENERIC) #0: Fri Nov  5 04:19:18 UTC 2004
  
  Hello folks:
  
  Trying to set rules to let a local network only connection to a Samba
  server running on my FreeBSD machine. I'm a FreeBSD newbie. 
  
  Below is the rules file. The strange thing is this works fine when
  logging into the Samba server from a OS X, but no go with WinXP. I can
  connect to the Samba server from WinXP if the IPFW is not loaded.
  
  Any ideas?
  
  
 
  Don't know anything about ipfw, but you need to pass TCP and UDP 135-139
 for NetBIOS to work, or change network settings in Windows to make it use
 TCP/UDP port 445 instead.
  
 -- 
 
 Juha
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPFW/Samba does not work with WinXP (but with MacOS 10.3)

2005-05-11 Thread Nicholas Henry
OK - problem solved. Not sure if this was an obvious one or not (ok
probably was) - I added the freebsd machine name and ip to the WinXP
hosts file and it works now.

Cheers,
Nicholas

On 5/11/05, Nicholas Henry [EMAIL PROTECTED] wrote:
 Yes - that's my understanding too. I'm trying to let all local traffic
 (i.e. on the same network) through with this:
 
 # Allow any traffic to or from my own net.
 ${fwdcmd} 400 pass all from me to ${net}:${mask}
 ${fwdcmd} 500 pass all from ${net}:${mask} to me
 
 Anyone with any other thoughts?
 
 On 5/11/05, Juha Saarinen [EMAIL PROTECTED] wrote:
  On 5/11/05, Nicholas Henry [EMAIL PROTECTED] wrote:
   FreeBSD 5.3-RELEASE (GENERIC) #0: Fri Nov  5 04:19:18 UTC 2004
  
   Hello folks:
  
   Trying to set rules to let a local network only connection to a Samba
   server running on my FreeBSD machine. I'm a FreeBSD newbie.
  
   Below is the rules file. The strange thing is this works fine when
   logging into the Samba server from a OS X, but no go with WinXP. I can
   connect to the Samba server from WinXP if the IPFW is not loaded.
  
   Any ideas?
  
  
 
   Don't know anything about ipfw, but you need to pass TCP and UDP 135-139
  for NetBIOS to work, or change network settings in Windows to make it use
  TCP/UDP port 445 instead.
 
  --
 
  Juha

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPFW/Samba does not work with WinXP (but with MacOS 10.3)

2005-05-10 Thread Kees Plonsz
Nicholas Henry wrote on Wednesday 11 May 2005 04:00:

 FreeBSD 5.3-RELEASE (GENERIC) #0: Fri Nov  5 04:19:18 UTC 2004
 
 Hello folks:
 
 Trying to set rules to let a local network only connection to a Samba
 server running on my FreeBSD machine. I'm a FreeBSD newbie.
 
 Below is the rules file. The strange thing is this works fine when
 logging into the Samba server from a OS X, but no go with WinXP. I can
 connect to the Samba server from WinXP if the IPFW is not loaded.
 
 Any ideas?
 

You can check your ipfw rule settings by selecting the log option.
Be shure that sysctl net.inet.ip.fw.verbose is set to 1
You can linit the logging by the option logamount or by
sysctl net.inet.ip.fw.verbose_limit

-- 
Key-ID = A6581435  E-mail: replace trap1 with kees

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPFW/Samba does not work with WinXP (but with MacOS 10.3)

2005-05-10 Thread Juha Saarinen
On 5/11/05, Nicholas Henry [EMAIL PROTECTED] wrote:
 
 FreeBSD 5.3-RELEASE (GENERIC) #0: Fri Nov 5 04:19:18 UTC 2004
 
 Hello folks:
 
 Trying to set rules to let a local network only connection to a Samba
 server running on my FreeBSD machine. I'm a FreeBSD newbie.
 
 Below is the rules file. The strange thing is this works fine when
 logging into the Samba server from a OS X, but no go with WinXP. I can
 connect to the Samba server from WinXP if the IPFW is not loaded.
 
 Any ideas?
 
 
Don't know anything about ipfw, but you need to pass TCP and UDP 135-139 for 
NetBIOS to work, or change network settings in Windows to make it use 
TCP/UDP port 445 instead.

-- 

Juha
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]