Hello,

I do appologize if this is something that was already discussed somewhere 
else... but for now I was not able to find the appropriate How-To.
Would anybody know what the IPTABLES entries are to have working Samba4 Domain 
Controller?
I tried the following:

-A INPUT -p tcp -m state --state NEW -m tcp --dport 88 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 749 -j ACCEPT
-A INPUT -p udp -m state --state NEW -m udp --dport 88 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 389 -j ACCEPT
-A INPUT -d SERVERIP/32 -p udp -m udp --sport 1024:65535 --dport 53 -m state 
--state NEW,ESTABLISHED -j ACCEPT
-A INPUT -d SERVERIP/32 -p udp -m udp --sport 53 --dport 53 -m state --state 
NEW,ESTABLISHED -j ACCEPT
-A INPUT -p udp -m udp --dport 137 -j ACCEPT
-A INPUT -p udp -m udp --dport 138 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 139 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 445 -j ACCEPT

With the above I was not able to connect via remote Administration tools to the 
Active Directory Service.
Does anybody have a comprehensive list of ports/protocols one has to "open" in 
IPTABLES to get DNS, Samba, Fileshares, Active Directory, etc. working?

Cheers & thank you very much for your help!
Best,
Andreas

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to