I need open ports in firewalld. I did try many times. First try at public zone and after trusted by terminal --permanet commad by yast2 and not works. Opensuse is with network manager on the oracle VM, bridge mode, network permit all. I did read official doc. When let firewall off, the ports have access ok (of course), only to say that service is running right but, I do not want let firewall in mode off. I am confused how to configure it.
The ports that I need open are samba-ad-dcPlease, somebody can help me?
There’s 2 steps to have firewall let you use specific ports:
Assign the network connection to a firewall zone (General configuration tab)
Open wanted ports for that firewall zone (YaST Firewall and/or config files)
What step from above did you do when you mention the public/trusted zone? On YaST Firewall there are some predefined services you can add to a given firewall zone, including some known samba configurations.
1 - Yes, Network connection assigned to zone = public
2 - All ports tcp/udp from samba-ad-dc put in zone-=public
samba-ad-dc is different that only samba, I think! And it does not as predefined service in firewall zone. For this I get samba-ad-dc ports to try open them but, not works or still stay blocked!
Are you sure this is a firewall issue? Did you try with firewall inactive? It might also be a name resolution problem perhaps. You could try specifying the FQDN explicitly eg
net ads join -U administrator -S domain_controller.example.com
Good question. I initially assumed the OP was setting up a controller (that’s what the firewall service is for), but this appears to be a client host joining a samba domain.
As you can see, the member could join to ad-dc
if I let firewall **on, **same with service samba-dc created to open ports it does not do the member join to ad-dc machine.
The service that I am running is samba-ad-dc
from: https://software.opensuse.org/package/samba-ad-dc
since started install **samba-ad-dc **from “how to” on google and samba wiki you can not run 2 services on the same server: or you run samba file server or samba-ad-dc and you need remove someone to has not packages and services problems. Until now I did read about this or can I be wrong.
I think that found problem. No firewalld, no samba-ad-dc. The firewall is working good after insert samba-ad-dc ports: yast2-firewall-public-ports - TCP ports and UDP ports and ok, solved.
The problem is when start server, after check:
systemctl status samba-ad-dc
samba[1197]: /usr/sbin/samba_dnsupdate: WARNING: no network interfaces found
I did all (following wiki). But, still have an error/problem. Every time that server needs reset or shutdown, after boot need to go to Network Manager, click in it and click save and restart samba-ad-dc to works fine (Network Manager “see” correctly eth0 - network for samba-ad-dc) as AD-DC. At the last week I had test with debian and works fine.
So, I think that can have something to fix Network Manager.
I am not use Wicked because does not works simply on Oracle VM