From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alistair Tonner Subject: Re: problem with samba Date: Sun, 27 Jul 2003 01:05:25 -0400 Sender: netfilter-admin@lists.netfilter.org Message-ID: <200307270105.25593.Alistair@nerdnet.ca> References: <001501c353b1$8fa0c220$4fef5b86@stw.uniduisburg.de> Reply-To: Alistair@nerdnet.ca Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <001501c353b1$8fa0c220$4fef5b86@stw.uniduisburg.de> Content-Disposition: inline Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: Sohail Ahmed Siddiqui , netfilter@lists.netfilter.org On July 26, 2003 04:07 pm, Sohail Ahmed Siddiqui wrote: > Hi all, > i am new to iptables and i have a problem, i will be very greatful i fsome > one helps me out. > at my place i have a lan with 192.168.0.0/24 and in the building we have > 134.91.239.0. i have managed to firewall my local net and access the > internet with iptables but i want to share some files via samba. but my > samba connection is not going out. i am using > > iptables -A FORWARD -j lan -p tcp --dport 137:139 > iptables -A FORWARD -j lan -p udp --dport 137:139 You would have to have appropriate ACCEPT statements in the lan table --- cant tell why its not working since you haven't listed the lan table. > > but this some how doesnt seem to work. > i have searched the internet but some how i didnt find any thing which can > solve my problem. any help is welcome > regards > Sohail Ahmed Siddiqui -- Alistair Tonner nerdnet.ca Senior Systems Analyst - RSS Any sufficiently advanced technology will have the appearance of magic. Lets get magical!