Giter Site home page Giter Site logo

iptables rule creation failing about iptables HOT 2 CLOSED

n0noob avatar n0noob commented on August 17, 2024
iptables rule creation failing

from iptables.

Comments (2)

n0noob avatar n0noob commented on August 17, 2024

jouanalctl -xe showed following error:

-- Unit iptables.service has begun starting up.
Sep 02 04:00:35 cvrlx2001 systemd[1]: Stopping firewalld - dynamic firewall daemon...
-- Subject: Unit firewalld.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit firewalld.service has begun shutting down.
Sep 02 04:00:35 cvrlx2001 iptables.init[27590]: iptables: Applying firewall rules: iptables-restore v1.4.21: option "-A" requires an argument
Sep 02 04:00:35 cvrlx2001 iptables.init[27590]: Error occurred at line: 8
Sep 02 04:00:35 cvrlx2001 iptables.init[27590]: Try `iptables-restore -h' or 'iptables-restore --help' for more information.
Sep 02 04:00:35 cvrlx2001 iptables.init[27590]: [FAILED]
Sep 02 04:00:35 cvrlx2001 systemd[1]: iptables.service: main process exited, code=exited, status=1/FAILURE
Sep 02 04:00:35 cvrlx2001 systemd[1]: Failed to start IPv4 firewall with iptables.
-- Subject: Unit iptables.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit iptables.service has failed.

from iptables.

xorima avatar xorima commented on August 17, 2024

Hey @n0noob

The reason for this is not enough options are being supplied so it will fail, see https://github.com/chef-cookbooks/iptables/blob/master/documentation/iptables_rule.md for more information on how to create rules.

from iptables.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.