problem with home network (samba)
i'm trying to setup a tiny home network starting with two pc's.
First one got two nic's, running mandrake 9.2. One nic is directly connected to the internet thru a hub that gives me an ip from my isp's dhcp.
The other nic is connected to a switch, i've setup the linuxbox to work as a router (second nic is 192.168.0.1) so i can plug in my other pc (windows XP) to the switch and get a 192.168.0.2 from it. This works.
The notworking part now is that i can't seem to be able to setup samba on the linuxbox so that the Windows pc can access two shares i made. I'm quite sure this is a firewall issue (shorewall), i've had to open up a few ports in order use Webmin, Usermin or SSH remotely on my Windows XP pc, and this works.
For samba, this does not seem to work; if i don't enter any rules at all, i'm able to see the two machines in my workgroup, but i'm unable to browse the Linuxmachine; and if i use ports 137 138 139 and 443 (both tcp and upd - wasn't sure) in a firewall rule, i'm not even able to browse the workgroup !!! I'm also not able to ping 192.168.0.1 from my Windowspc and 192.168.0.2 from the Linuxmachine (host unreachable).
Anyone got an idea on how to fix this? Could it be that i need to config something else then just Shorewall?
Last edited by wza; 04-12-2004 at 05:53 AM.
|