Re: Iptables rule for windows file sharing?

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

 



OK, this still isn't working, so I took the following steps:

1)Added the following rules to /etc/sysconfig/iptables and rebooted:

-A RH-Firewall-1-INPUT -m udp -p udp --dport 137:138 -j ACCEPT
-A RH-Firewall-1-INPUT -m tcp -p tcp --dport 139 -j ACCEPT
-A RH-Firewall-1-INPUT -m tcp -p tcp --dport 445 -j ACCEPT

The result of 'smbtree':
(blank)

2)After 'iptables -F', the result of 'smbtree':
HOMEGROUP
        \\MONKEYCHICKEN
cli_full_connection: failed to connect to MONKEYCHICKEN<20> (0.0.0.0)
        \\BIGMONKEY
                \\BIGMONKEY\C$                  Default share
                \\BIGMONKEY\ADMIN$              Remote Admin
                \\BIGMONKEY\Data (D)
                \\BIGMONKEY\D$                  Default share
                \\BIGMONKEY\IPC$                Remote IPC


3)Started capturing packets in ethereal, then run 'smbtree'.
Ethereal output shows activity on ports 137, 139, 445, and also on ports in the 32700-32900 range. What gives? Could it be the configuration of my Linksys router than is screwing things up?

-cjl


-- 
This is an email sent via the webforum on http://fcp.homelinux.org


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux