Title: File Shareing and Subnets
I've got two linux machines on seperate subnets and I'm trying to do some file shareing on them.  ftp is disabled and using smbmount or mount gives me the following errors:


>smbmount //1902.168.123.201/botball_CD /root/mnt
Error connecting to 0.0.0.0 (Connection refused)
32533: Connection to 1902.168.123.201 failed
SMB connection failed

>mount -t smbfs -o username=root //192.168.123.201/botball_CD /root/mnt
timeout connecting to 192.168.123.201:139
Error connecting to 192.168.123.201 (Operation already in progress)
32559: Connection to 192.168.123.201 failed

I've opened the ports in iptables as
 -A INPUT -s 192.168.1.0/24 -p udp -d 0/0 --dport 137:139 -j ACCEPT
and
 -A OUTPUT -s 192.168.1.0/24 -p tcp -d 0/0 --dport 137:139 -j ACCEPT

The connection problem fails even if iptables is turned off.  Am I using the wrong syntax somewhere or is there a better way of doing this?

-Rich
-- 
Rich Ransom
Webmaster
KISS Institute
http://www.botball.org
http://www.kipr.org
[EMAIL PROTECTED]



Reply via email to