Iptables rule for windows file sharing?
Harald Hoyer (harald)
no-reply-gw at fcp.homelinux.org
Fri Jan 28 18:54:52 UTC 2005
> iptables -A INPUT -p ALL -i eth0 -s 192.168.0.1 --destination-port 137:139 -j ACCEPT
I think that should be:
iptables -A INPUT -m tcp -p tcp -i eth0 -s 192.168.0.1 --destination-port 137:139 -j ACCEPT
iptables -A INPUT -m udp -p udp -i eth0 -s 192.168.0.1 --destination-port 137:139 -j ACCEPT
But I don't know, if UDP is used.
--
This is an email sent via the webforum on http://fcp.homelinux.org
More information about the fedora-list
mailing list