[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

NetBIOS? problem

Hello all!
I have a dedicated server (linux-2.4.7+xfs+iptables).

I have a following problem:
1. Internet works fine.
2. PDC (Samba) works fine too. 
	Windows users can log on to the server and use their profiles.
3. Sharings om the server (PDC) works.
4. Mail server (qmail) works.

It is good, isn't it?!


I have one accounting programm (it's rather special, 
Russian "Info-Buhgalter"),
and it doesn't work!!! It uses the server as a file-server.
Only NetBIOS file operations. What is the problem in?

Here is my config, please, any comments!

echo 1 > /proc/sys/net/ipv4/ip_forward

iptables -P INPUT DROP

iptables -N LOCAL
iptables -A LOCAL -s ! -j DROP
#using proxy...
iptables -A LOCAL -s -p tcp --dport 80 -j DROP
iptables -A LOCAL -s -p tcp --dport 21 -j DROP
iptables -A LOCAL -j ACCEPT

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

iptables -N CHECK
iptables -A CHECK -s -i eth0 -j ACCEPT
iptables -A CHECK -p tcp --dport 25 -j ACCEPT
iptables -A CHECK -j DROP

iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -m state --state NEW -j CHECK

iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -m state --state NEW -j LOCAL

Reply to: