Please excuse me if i make any grammatical errors(english is not my first language).
I have an ubuntu 11,04 samba domain server, I want to also configure this machine to work as a dhcp server, however this have give me some issues with te windows 7 workstations, my guest is that it have something to do with the iptables because those station do join the samba domain went both server and workstation are conected to a router.
This is the script I use at boot
#FOR SHARED INTERNET
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables --table nat -A POSTROUTING -o eth2 -j MASQUERADE
/sbin/iptables -I INPUT -i eth0 -p TCP -m multiport --dports 135,139,445 -j ACCEPT
/sbin/iptables -I INPUT -i eth0 -p UDP -m multiport --dports 137,138 -j ACCEPT
Internet works fine in the station main problem is went joining the domain, it won't join.
I haven't test it with windows xp station but I have use the same code in the past with no problems, and since this is my first time joining windows 7 station i belive there must be some other port that need fowarding.
Thanks in advance.