Questions tagged [firewalld]

Questions regarding firewalld a firewall service daemon

Firewalld is a service daemon with D-Bus interface

Firewalld provides a dynamically managed firewall with support for network/firewall zones that define the trust level of network connections or interfaces.

Site: http://www.firewalld.org/

140 questions
0
votes
1 answer

FirewallD: add service without specifying a zone

I was wondering which zone would service be added if run the add service command without specifying a zone. For example: $ sudo firewall-cmd --add-service=http --permanent
Xin
  • 1,169
  • 1
  • 10
  • 20
0
votes
1 answer

detecting installer iptables and firewalld with if conditions / bash

Creating script to detect installer (yum or apt-get) iptables firewalld Current system: Debian 8 iptables NOT installed firewalld NOT installed Theoretically it must be working, but missing something: #!/bin/bash installer_check () { …
user7214700
0
votes
1 answer

Why Firewalld is adding more chains

I'm using firewalld instead of iptables. I'm using the public zone. I don't want to accept any coming requests. rejecting with icmtp. So what does that mean ? why I always see accepted from anywhere ? Chain INPUT (policy ACCEPT) target prot opt…
Stranger B.
  • 9,004
  • 21
  • 71
  • 108
0
votes
1 answer

Redirect traffic from docker container into localhost

I have a Docker host with a tunnel listening on 127.0.0.1. There is a container that sends out traffic. I need to get this traffic into the tunnel. The Docker host is running CentOS 7.2 and I have made the service inside the Docker container send…
Christoffer Reijer
  • 1,925
  • 2
  • 21
  • 40
0
votes
2 answers

IPtables how change to firewalld by MASQUERADE?

How use firewalld-cmd use iptables rule? iptables: iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
user2930390
  • 159
  • 1
  • 1
  • 8
0
votes
1 answer

Control firewalld in CentOS via Python's dbus module?

My goal is to automate configuring firewalls on CentOS 7 machines using Python. The OS comes with firewalld, so that's what I'm using. I looked into it and found that it uses dbus (I've never heard of or dealt with any of this - please correct me if…
ArtOfWarfare
  • 20,617
  • 19
  • 137
  • 193
-1
votes
0 answers

PIVPN Wireguard local device behind router to VPN server no internet over wireguard

I would like to route my private IP traffic from a Fire TV (the device does not matter much, at the moment I'm testing with an Ubuntu VPN at the moment and wireguard) over my private VPS server because of peering speed problems from my internet…
-1
votes
1 answer

Using firewalld to only restrict specific ports between 2 servers and allow everything else

I've never used firewalld before, and I'm being asked to set up some local firewall rules to allow/prevent specific traffic. Basically, I have some systems in a protected network. This network allows incoming traffic from a number of sources over a…
Dan Carrington
  • 494
  • 4
  • 7
-1
votes
1 answer

RHEL7 dockerd remote connection

I'm exploring creating a gateway that can start and stop docker containers on a rhel7 system upon. I've made changes to my /usr/lib/systemd/system/docker.service to start docker on an interface with the following. ExecStart=/usr/bin/dockerd -H…
Thomas Lann
  • 1,124
  • 5
  • 17
  • 35
-1
votes
1 answer

How to drop a LISTEN port in CentOS7? the port dose not seem to binding to any process

I would like to drop a port which is currently in state LISTEN. This is when I type netstat -anp | grep LISTEN | grep 8080. (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it…
Juneyoung Oh
  • 7,318
  • 16
  • 73
  • 121
-1
votes
1 answer

Cisco vpn client over squid

I have installed squid server like transparent proxy(in subnet 192.168.1.x). All users use squid to access to the internet from subnet 192.168.2.x. From user subnet I want connect via Cisco vpn client to VPN. As I read from internet, squid can't…
Ruslan Aliev
  • 88
  • 1
  • 1
  • 5
-1
votes
1 answer

centos 7 firewall-cmd --panic-on idle

Here I am exploring the security features, and when I enter "firewall-cmd --panic-on" to the CLI, the system just hangs idle. Centos 7 Kernel 3.10 I think this is not supposed to happen, b/c as I read the documentation, I see I should be able to…
IberoMedia
  • 2,226
  • 7
  • 36
  • 61
-1
votes
1 answer

FTP file list access not allowed from azure VM

I have redhat linux Azure VM server through which I am trying to get directory listing from FTP server hosted on other windows Azure VM. I could connect through FTP using my local machine and filezilla and get the directory listing, But I am getting…
user1648204
  • 35
  • 1
  • 7
-1
votes
1 answer

why centos 7 firewalld status is active,but firewall-cmd is not runing?

Here is my infomation: When I reload firewall-cmd,the xshell disconnect to Vps.It seems like the server break down.I have to reboot server to reconnect. Thank you in advance.I am newbie for centos.
vankee
  • 93
  • 1
  • 9
-1
votes
1 answer

Firewalld configuration seems ignored on centos 7.3

I would like to only permit http access for some ip ranges on my centos 7.3 server with firewalld. So here my firewalld rules firewall-cmd --list-all public (active) target: default icmp-block-inversion: no interfaces: ens160 sources: …
glmrenard
  • 675
  • 1
  • 8
  • 16
1 2 3
9
10