iptables and samba
here goes another stoopid question from an obvious noob...
I have managed to set up samba... from my xp system I can see the linux box, no prob, when trying to access it, it takes a few seconds, then gives me a network path does not exist error, when i stop iptables on my fedora3 box, i can access my shares fine from my xp system. So common sense tells me that iptables is denying me access. As i am clueless to how to configure iptables, could someone please nudge me into a direction... much appreciated |
If you're completely in the dark about writing iptables rules, I'd suggest a gui interface like Firestarter. If you are somewhat familiar with iptables rules, I use the following to allow local network access to Samba
Code:
iptables -A INPUT -i eth0 -s 192.168.1.0/24 -p tcp --dport netbios-ssn -j ACCEPT |
i let anything the windows box on my network wants to send over OK (it's connected to eth1)
/sbin/iptables -A INPUT -i eth1 -j ACCEPT remember that order matters to your iptables entries the above command won't do any good if it comes after the connection from eth1 is dropped |
All times are GMT -5. The time now is 04:57 PM. |