View previous topic :: View next topic |
Author |
Message |
Adel Ahmed Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 21 Sep 2012 Posts: 1607
|
Posted: Thu Sep 24, 2015 12:21 pm Post subject: firewalld problems [solved] |
|
|
When I try to apply any permanent changes to firewalld rules I get the following:
pc services # firewall-cmd --permanent --zone home --remove-service samba-client
Error: INVALID_SERVICE: 'mdns' not among existing services
thanks
Last edited by Adel Ahmed on Tue Sep 29, 2015 4:20 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
szatox Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 27 Aug 2013 Posts: 3498
|
Posted: Thu Sep 24, 2015 5:18 pm Post subject: |
|
|
What are those rules you set? Are you trying to configure firewall with service names instead of ports?
Do you have mdns in your /etc/services?
Quote: | $ grep mdns /etc/services
mdns 5353/tcp # Multicast DNS
mdns 5353/udp
mdnsresponder 5354/tcp noclog # Multicast DNS Responder IPC
mdnsresponder 5354/udp noclog # noclogd with TCP (nocol)
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Adel Ahmed Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 21 Sep 2012 Posts: 1607
|
Posted: Thu Sep 24, 2015 6:39 pm Post subject: |
|
|
that is the only rul I have tried so far:
firewall-cmd --permanent --zone home --remove-service samba-client
yes , if I use the service name:
pc tiny # firewall-cmd --add-port 8080/tcp --permanent
Error: INVALID_SERVICE: 'dhcpv6-client' not among existing services
and yes both services are in /etc/services
thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Adel Ahmed Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 21 Sep 2012 Posts: 1607
|
Posted: Fri Sep 25, 2015 8:07 pm Post subject: |
|
|
help anyone? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Adel Ahmed Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 21 Sep 2012 Posts: 1607
|
Posted: Sun Sep 27, 2015 12:11 pm Post subject: |
|
|
bump |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Adel Ahmed Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 21 Sep 2012 Posts: 1607
|
Posted: Tue Sep 29, 2015 4:20 pm Post subject: |
|
|
solved by removing the services from the public zone
firewall-cmd --zone=public --remove-service dhcpv6-client --permanent
firewall-cmd --zone=public --remove-service mdns --permanent |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|