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!