firewalld provides a dynamically managed firewall with support for network or firewall zones to define the trust level of network connections or interfaces.
Questions tagged [firewalld]
14 questions
15
votes
1 answer
How can we replace iptables with firewalld in ubuntu 16.04?
In Ubuntu 16.04, can we install firewalld services?
RjV
- 428
5
votes
1 answer
Can I install a GUI for firewalld?
I have installed firewalld as it is more advanced than gufw, however I see that firewalld does not come with a GUI and I'm not going to be the only one using it so I am wondering if there is some sort of GUI that I can install for it? I am running…
user364819
5
votes
1 answer
what is 'target: default' of a zone's configuration in firewalld?
I am currently using ubuntu 20.04 machine and installed firewalld as the firewall manager service.
While looking at the configuration of 'public zone' , i can see as below,
public (active)
target: default
icmp-block-inversion: no
interfaces:…
Alakananda S
- 563
4
votes
1 answer
How to make FirewallD and hybrid-sleep work together?
I have firewalld working following the answer Firewalld does not start at boot.
I have hybrid-sleep working following How do I use pm-suspend-hybrid by default instead of pm-suspend?
However, if firewalld is active and I close the lid to initiate…
user68186
- 37,461
4
votes
1 answer
firewalld - No such file or directory
After upgrading from Ubuntu 20.04 to 20.10 I want to finally get started with firewalld instead of the old manual iptables approach, but all I get from the service is the following, which also breaks any network integration with Docker:
Feb 13…
Ancoron
- 161
1
vote
0 answers
How to redirect requests to a proxy that requires authentication using firewalld?
I have a VM running ubuntu.
The internet's access is through proxy of company, and its requiring authentication
Ex: http_proxy=http://USER:PASS@IP:3128/
I am trying, unsuccessfully, create a rule using firewall-cmd.
I want it to redirect any…
se_anderson
- 21
1
vote
1 answer
why is command in /etc/rc.local asking for password?
This makes rebooting very annoying.
How can I setup my firewall setting in /etc/rc.local so that at reboot I will not get prompted to enter my password? (OS is Ubuntu 18.04)
I would like my network interface p2p1 permanently assigned to zone…
MeSo2
- 451
0
votes
0 answers
Firewalld Rules on Ubuntu 16.04
I wanted to allow SSH within my Ubuntu 16.04 machine from a specific MAC address. I've tried the following:
Removed ssh services from the default zone - "public":
firewall-cmd --zone=public --permanent --remove-service=ssh
Created a new zone:
…
0
votes
1 answer
Why doesn't work without masquerade?
I have router - G, my desktop - D, laptop - L.
I want to connect L to the internet via D.
G at 192.168.1.1
D: enp1s0 - 192.168.1.2/24, gw G,
eno1 - 10.0.0.1/16, serves as a router for L
L:
enp1s0 - 10.0.0.2, gw 10.0.0.1.
Routing tables at L:
netstat…
anon
0
votes
0 answers
How to chose internet source for Docker container on Ubuntu
Containers are basically using the internet interface that my "Ubuntu 22.04.1 LTS" is using but once I have multiple internet source I don't know how to make the container's use another source for accessing internet
I'm just lost and need some help…
0
votes
0 answers
Why everything but ssh is blocked? (from within and out of lan)
It's a Ubuntu server 20.04.2, at home network. Used mostly for testing and non-destructive experiments (php, python study, virtual machines, etc), used as a headless machine next to my working pc.
Problem appeared after installing iRedMail.…
0
votes
0 answers
firewalld vs iptables
I have read on the internet that firwalld or ufw are the frontends of iptables, but I'm wondering why when start firewalld in my system iptables stop, and when I start iptables firewalld stop ?!
update [1]:
what I mean by start and stop is that…
Akkilah
- 3
0
votes
1 answer
Block Webpage Using Firewalld
I am trying to get my firewalld to block an ip address with the rules:
sudo firewall-cmd --zone=block --add-source= --permanent, and also adding this richrule to the default zone (public)
sudo firewall-cmd --permanent…
George Udosen
- 37,534
0
votes
0 answers
How to apply different zones to wired LAN with firewalld without end user intervention?
Using firewalld and NetworkManager, how do I apply different zones to different wired connections like one could do with private/public profiles on Windows or wireless connection on Ubuntu?
Only one wired NIC is present and all wired connections are…
Zulgrib
- 263