Ask Your Question
0

firewalld and iptables both working??

asked 2013-07-03 12:57:20 -0500

Larry O. gravatar image

updated 2013-08-26 12:28:12 -0500

ryanlerch gravatar image

I did a fresh install of F18 on an old PC to make a file server. (This is about the 100th Redhat/Fedora installation for me.) I couldn't access the server from any other PC except with ssh. Being somewhat impatient, and not realizing that F18 doesn't use iptables, I logged in and typed "iptables -F". Guess what? It worked. Later, I checked and verified that my server is in fact running firewallD; not iptables. What happened? Million thanks to anyone who can answer.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-07-05 04:39:26 -0500

Larry O. gravatar image

Answered my own question. Due to an error in routing (I accidentally entered overlapping subnets for two NICs) my server was accessible intermittently. It was purely coincidence and had nothing to do with the iptables command. There's a lesson here, but nothing to do with firewalld.

edit flag offensive delete link more

Comments

I think both do work though. I'm not really sure. I've been using firewalld completely since it got in, but I think iptables does also work. Will need to dig up to be certain.

FranciscoD_ gravatar imageFranciscoD_ ( 2013-07-05 05:21:41 -0500 )edit

firewalld is a powerful and versatile firewall tool, and it creates complex iptables chains to do its job. It doesn't replace iptables at the kernel layer, only in userspace.

randomuser gravatar imagerandomuser ( 2013-07-05 12:15:02 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-07-03 12:57:20 -0500

Seen: 332 times

Last updated: Aug 26 '13