Hi guys ! I have a problem and I hope I can get some help here. I want to run a Samba server on a linux firewall machine. This firewall allowa all the udp pachets and also icmp. The firewall blocks all TCP incomming connection exept on port 22 (ssh). I have allowed incomming conection on 137, 138, and 139 (TCP) ports and I stiil get an error message from windows clients. The computer appears in the net but when I try to browse I get an error: "Network path not found !" I hope the windows machine is using only 137-139 ports to open TCP connections on the samba server ..... looking forward for your help, Adrian Ciocildau
We have a web server in our dmz, and we block all but the ports you listed as well. Our symptoms were similar, in that we could not do: \\webserver\apacheshare\ BUT we can do: \\172.16.0.1\apacheshare\ It is some kind of wins/LMHOSTS/etc issue, but it does not bother us, so we haven't taken the time to fix it. You might see if that helps. Dan -----Original Message----- From: Adrian Ciocildau [mailto:adri_l@gmx.net] Sent: Thursday, August 01, 2002 9:19 AM To: samba@lists.samba.org Subject: [Samba] Samba and a firewall Hi guys ! I have a problem and I hope I can get some help here. I want to run a Samba server on a linux firewall machine. This firewall allowa all the udp pachets and also icmp. The firewall blocks all TCP incomming connection exept on port 22 (ssh). I have allowed incomming conection on 137, 138, and 139 (TCP) ports and I stiil get an error message from windows clients. The computer appears in the net but when I try to browse I get an error: "Network path not found !" I hope the windows machine is using only 137-139 ports to open TCP connections on the samba server ..... looking forward for your help, Adrian Ciocildau -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
I have the current hosts/lmhosts copied to each PC during login to the domain, then run nbtstar -R to import changes This is an easy way to keep them current. e.g. ::OS Check if not .%WINBOOTDIR%.==.. goto Win9x if not .%OS%.==.. goto WinNTI goto end :Win9x ECHO Win9x if exist c:\windows\hosts.old del c:\windows\hosts.old ren c:\windows\hosts hosts.old copy \\EODC2\NETLOGON\hosts c:\windows if exist c:\windows\lmhosts.old del c:\windows\lmhosts.old ren c:\windows\lmhosts lmhosts.old copy \\EODC2\NETLOGON\lmhosts c:\windows nbtstat -R :WinNTI ECHO Win NT Intel if exist %systemroot%\system32\drivers\etc\hosts.old del %systemroot%\system32\drivers\etc\hosts.old ren %systemroot%\system32\drivers\etc\hosts hosts.old copy \\EODC2\NETLOGON\hosts %systemroot%\system32\drivers\etc if exist %systemroot%\system32\drivers\etc\lmhosts.old del %systemroot%\system32\drivers\etc\lmhosts.old ren %systemroot%\system32\drivers\etc\lmhosts lmhosts.old copy \\EODC2\NETLOGON\lmhosts %systemroot%\system32\drivers\etc nbtstat -R Jim> -----Original Message----- > From: Dan Vande More [mailto:dvm@gwtr.com] > Sent: Thursday, August 01, 2002 8:39 AM > To: Adrian Ciocildau; samba@lists.samba.org > Subject: RE: [Samba] Samba and a firewall > > > We have a web server in our dmz, and we block all but the > ports you listed as well. > Our symptoms were similar, in that we could not do: > > \\webserver\apacheshare\ > > BUT we can do: > > \\172.16.0.1\apacheshare\ > > It is some kind of wins/LMHOSTS/etc issue, but it does not > bother us, so we haven't taken the time to fix it. > > You might see if that helps. > > Dan > -----Original Message----- > From: Adrian Ciocildau [mailto:adri_l@gmx.net] > Sent: Thursday, August 01, 2002 9:19 AM > To: samba@lists.samba.org > Subject: [Samba] Samba and a firewall > > > Hi guys ! > > I have a problem and I hope I can get some help here. > > I want to run a Samba server on a linux firewall machine. > This firewall allowa all the udp pachets and also icmp. The > firewall blocks > all TCP incomming connection exept on port 22 (ssh). > > I have allowed incomming conection on 137, 138, and 139 (TCP) > ports and I > stiil get an error message from windows clients. The computer > appears in the > net but when I try to browse I get an error: "Network path > not found !" > > I hope the windows machine is using only 137-139 ports to > open TCP connections > on the samba server ..... > > > looking forward for your help, > > Adrian Ciocildau > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
To track this down, I would make sure my firewall is logging all ports being denied, then read the syslogs. Also, read the samba logs. Joel On Thu, Aug 01, 2002 at 05:18:45PM +0200, Adrian Ciocildau wrote:> Hi guys ! > > I have a problem and I hope I can get some help here. > > I want to run a Samba server on a linux firewall machine. > This firewall allowa all the udp pachets and also icmp. The firewall blocks > all TCP incomming connection exept on port 22 (ssh). > > I have allowed incomming conection on 137, 138, and 139 (TCP) ports and I > stiil get an error message from windows clients. The computer appears in the > net but when I try to browse I get an error: "Network path not found !" > > I hope the windows machine is using only 137-139 ports to open TCP connections > on the samba server ..... > > > looking forward for your help, > > Adrian Ciocildau > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
And port 135? [Samba] Samba and a firewall Dan Vande More dvm@gwtr.com Thu Aug 1 08:44:02 2002 Previous message: [Samba] "FIXED PROBLEM" Next message: [Samba] FW: Print jobs hang in Samba, don't go to UNIX spooler Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] -------------------------------------------------------------------------------- We have a web server in our dmz, and we block all but the ports you listed as well. Our symptoms were similar, in that we could not do: \\webserver\apacheshare\ BUT we can do: \\172.16.0.1\apacheshare\ It is some kind of wins/LMHOSTS/etc issue, but it does not bother us, so we haven't taken the time to fix it. You might see if that helps. Dan -----Original Message----- From: Adrian Ciocildau [mailto:adri_l@gmx.net] Sent: Thursday, August 01, 2002 9:19 AM To: samba@lists.samba.org Subject: [Samba] Samba and a firewall Hi guys ! I have a problem and I hope I can get some help here. I want to run a Samba server on a linux firewall machine. This firewall allowa all the udp pachets and also icmp. The firewall blocks=20 all TCP incomming connection exept on port 22 (ssh).=20 I have allowed incomming conection on 137, 138, and 139 (TCP) ports and I=20 stiil get an error message from windows clients. The computer appears in the=20 net but when I try to browse I get an error: "Network path not found !" I hope the windows machine is using only 137-139 ports to open TCP connections=20 on the samba server ..... looking forward for your help, Adrian Ciocildau -- Bajoti Andor Bell Telemarketing Kft. www.belltelemarketing.hu Phone: +(36) 1 4556161 Fax: +(36) 1 4556160 Mobile: +(36) 20 9834725