RE: samba and iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes. 
I seem to be able to make it work now. 
I'm still testing it then I will post here what I did to make it work.

It all needed something like allow the windows domain controller to reply back to the samba server.

Thanks again!


fritz <www.mesedilla.com>
---
+ Basta Ikaw Lord



> -----Original Message-----
> From: Rob Sterenborg [mailto:rob@xxxxxxxxxxxxxxx]
> Sent: Friday, October 17, 2003 5:32 PM
> To: Fritz Mesedilla; 'Netfilter Mailing List (E-mail)'
> Subject: RE: samba and iptables
> 
> 
> > I still can't seem to make samba and iptables work properly.
> > 
> > First connection - I need to turn iptables off
> > Succeeding connections - I can turn iptables on
> > 
> > I have done this already:
> > $IPTABLES -A INPUT -p tcp -s 190.200.5.51 --dport 137:139 -j ACCEPT
> > $IPTABLES -A INPUT -p udp -s 190.200.5.51 --dport 137:139 -j ACCEPT
> > $IPTABLES -A INPUT -p tcp -s 190.200.5.51 --dport 445 -j ACCEPT
> > 
> > It's being blocked in the 1st attempt so I need to turn 
> > iptables off to make it work.
> > Based on "iptables -nvL" the 3 lines above produce accepted packets.
> > Now what else do I need to add to make the 1st transaction to work?
> > 
> > By the way, I have 2 network cards. How do I know which one 
> > is being used by samba?
> 
> Do you also have something like :
> $IPTABLES -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
> 
> 
> Gr,
> Rob
> 
> 

----------------------------------------------------------------------
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender immediately by e-mail and delete this e-mail from your
system. Please note that any views or opinions presented in this
email are solely those of the author and do not necessarily represent
those of the company. Finally, the recipient should check this email
and any attachments for the presence of viruses. The company accepts
no liability for any damage caused by any virus transmitted by this
email. 

Overture Media, Inc.
Direct Line: (632) 635-4785
Trunkline:   (632) 631-8971 Local 146
Fax: (632) 637-2206
Level 1 Summit Media Offices, Robinsons Galleria EDSA Cor. Ortigas Ave., Quezon City 1100




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux