Re: Iptables->Firewalld Upgrade: Really Necessary?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Data Sat, 20 Jul 2019 06:53:56 +0800
Ed Greshko <ed.greshko@xxxxxxxxxxx> napisał(a):

> On 7/20/19 6:20 AM, Tim Evans wrote:
> > Installing F30, adding iptables and my current ruleset, and
> > disabling firewalld looks very simple and quick. Why shouldn't I do
> > it?
> >
> > If necessary, I can post an anonymized copy of the iptables ruleset
> > on pastbin, but really looking for higher level advice.
> >
> 
> Not necessary.  But not everything you'll need will be installed by
> default.
> 
> You'll need iptables-services:
> 
> Description  : iptables services for IPv4 and IPv6
>              :
>              : This package provides the services iptables and
> ip6tables that have : been split out of the base package since they
> are not active by : default anymore.
> 
> At the very least.  (Actually, that may be all that you'll need)
> 

It's exactly all.
systemctl stop firewalld
systemctl mask firewalld
systemctl enable iptables
systemctl start iptables

It's the same in Fedora and in CentOS. If I don't need fail2ban, I
actually prefer plain iptables. Make sure you have some emergency access
to the machine before running iptables script, or run it like
systemctl start iptables ;; sleep 30 ;; systemctl stop iptables

I cut myself from a system more than one time.

-- 
Łukasz Posadowski
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux