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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
89 views

Wireguard with Ubuntu 20.04.3 LTS

so I have a storage server that's running Ubuntu 20.04 and I'm using cockpit as a web interface. I need access to that server from another location so I have installed Wireguard VPN. Problem is that I ...
user avatar
  • 1
0 votes
0 answers
89 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. ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
  • 121
0 votes
0 answers
763 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 ?! ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
0 votes
0 answers
53 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 ...
user avatar
  • 263
1 vote
1 answer
475 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 ...
user avatar
  • 364
0 votes
0 answers
468 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 --...
user avatar
4 votes
1 answer
150 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 ...
user avatar
  • 27.8k
1 vote
0 answers
62 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 ...
user avatar
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 - ...
user avatar
  • 791
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?
user avatar
  • 428
5 votes
1 answer
12k 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 ...
user avatar