little problem with Masquerade and samba
Hey guys...
i don't even know how i have to ask about this problem ..
first of all let me ask about Masquerade..
all i did was to copy all things from some web to one of file named rc.local
eth0 = 192.168.3.101 (connected to internet)
eth1 = 192.168.6.1 (dhcp server)
===================this is rc.local============
route add -host 255.255.255.255 dev eth1
route add -host 255.255.255.255 dev eth0
/sbin/iptables -F
echo "1" > /proc/sys/net/ipv4/ip_forward
#iptables -P FORWARD DROP
/sbin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
/sbin/iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT
/sbin/modprobe ip_conntrack
/sbin/modprobe ip_conntrack_ftp
/sbin/modprobe ip_nat_ftp
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
==============================================
is this correct setting for Masquerade ???
just wonder about last line which has eht0 ..lsn't this supposed to be connected to internet..??
and now samba...(all i understand about samba is can be seen from Window and i can see the window as well ) correct me if this isn't ...
==========================smb.conf=========================
[global]
[root]
path = /root
writeable = yes
[root directory]
path = /
writeable = yes
[zeroboys directory]
path = /home/zeroboys
writeable = yes
browseable = yes
create mask = 0777
directory mask = 0777
netbios name = "whatthe"
=====================================================
now i can see the windows folder by mounting and from Network server which is located in Manin Menu that's ok.. but problem is i don't see it from windows it tells me this
when i tried to connect from the RUN "\\192.168.6.1" like this...
this is the error message
" \\192.168.6.1 is not accessble
the account is not authorized to log in from this station"
i do understand what the heck that is .. but i don't really know where i can fix the problem in linux.. i made a account for windwos ..
give me any advice what i have done wrong ...thanks in advance..
|