Iptables rule for windows file sharing?
David Cary Hart
Fedora at TQMcube.com
Fri Jan 28 18:54:26 UTC 2005
On Fri, 2005-01-28 at 19:50 +0100, cjlesh wrote:
> Hey all:
>
> I have a laptop running Fedora Core 3 and a dekstop with Widows XP, both connected via a Linksys router.
>
> I am trying to figure out a way to allow the laptop 'see' the shared directories on the Windows machine. If I disable the Fedora firewall, it works.
>
> I would like to do this without disabling the firewall.
> A google search turns up to following command:
>
> iptables -A INPUT -p ALL -i eth0 -s 192.168.0.1 --destination-port 137:139 -j ACCEPT
>
iptables -A INPUT -p ALL -i eth0 -s 192.168.0.0/24 --destination-port
137:139 -j ACCEPT
> however this results in an error.
>
> Any help on a reasonable firewall rule to allow windows share traffic on my local network only?
>
> -cjl
>
>
>
>
> --
> This is an email sent via the webforum on http://fcp.homelinux.org
________________________________________________________________________
Total Quality Management - A Commitment to Excellence
http://www.TQMcube.com
More information about the fedora-list
mailing list