Questions tagged [firewalld]
firewalld provides a dynamically managed firewall with support for network or firewall zones to define the trust level of network connections or interfaces.
15
questions
0
votes
0
answers
66
views
How to allow port on Firewalld?
I am studying about docker.
I'm using SSH on my local PC(window) to connect to my server PC(ubuntu).
On the server PC, I pulled nginx image from docker hub and I run it with port option.
{server}@{...
5
votes
1
answer
4k
views
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: ...
0
votes
0
answers
285
views
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 ...
0
votes
1
answer
2k
views
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=<ip_address/submask> --permanent, and also adding this richrule to the default ...
0
votes
0
answers
138
views
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.
...
3
votes
1
answer
3k
views
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 ...
0
votes
0
answers
1k
views
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 ?!
...
1
vote
1
answer
615
views
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 ...
0
votes
0
answers
67
views
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 ...
4
votes
1
answer
163
views
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 ...
15
votes
1
answer
15k
views
How can we replace iptables with firewalld in ubuntu 16.04?
In Ubuntu 16.04, can we install firewalld services?
0
votes
0
answers
487
views
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 --...
1
vote
0
answers
71
views
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 ...
0
votes
1
answer
1k
views
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 - ...
5
votes
1
answer
13k
views
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 ...