* Help with Samba using iptables
@ 2007-03-01 12:49 Nandan Bhat
0 siblings, 0 replies; only message in thread
From: Nandan Bhat @ 2007-03-01 12:49 UTC (permalink / raw)
To: netfilter
Hi,
I am hoping to get some help with some iptables. I am a newbie to all
this; please bear with my language and detail.
I have two networks 192.168.1.0 and 192.168.0.0
192.168.1.0 is my LAN. It has a Fedora Core 5 machine with 192.168.1.6
on eth0, running samba and iptables among other services. 192.168.1.6
is the WINS server on the network. I don't know if it is right but I
have made it the local master and domain master. There is no domain in
use on the network. I have seen an improvement in the LAN browsing after
using this setup.
I have one CAT-5 cable coming from 192.168.0.0 network and my Fedora
machine is connected to it on eth1. It has the fixed IP 192.168.0.176.
In my iptables setup, I have allowed TCP ports 139, 445 and UDP ports
137, 138 (regardless of source/destination/interface/IP) to be accepted
in INPUT chain.
The status is that I am able to see my workgroup in 192.168.1.0 from
within 192.168.0.0 network with all machines listed, but I can access
only my Fedora server that is part of both networks. In my network, I
can see all workgroups in 192.168.0.0 network but not see any host on
it. On the Fedora machine, I am able to use smbclient to browse hosts on
192.168.0.0 network. My conclusion: nothing is routing smb packets from
hosts (other than my server) in 192.168.0.0 to 192.168.1.0 and vice versa.
My question: Is there a way I can get hosts on 192.168.0.0 and
192.168.1.0 by using iptables alone?
Regards,
Nandan Bhat
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-01 12:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-01 12:49 Help with Samba using iptables Nandan Bhat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox