Comments (2)
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.
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)
- Update documentation to use `rule` instead of `iptables_rule` HOT 1
- iptables v1.8.2 (legacy): unknown option "--to-ports" HOT 2
- Getting issue while running Bootstrap command in Chef HOT 2
- debian if-pre-up.d script references nonexistent /etc/iptables/general HOT 2
- Doesn't work on ubuntu bionic with netplan HOT 1
- iptables cookbooks breaks at load time if it's in the dependency tree on non-linux platforms HOT 2
- 6.0.1 using Ruby 2.4 method causing error on chef client <13 HOT 3
- iptables_rule resource uses wrong properties HOT 11
- ip_tables 7.0.0 failing because of an unknown check HOT 3
- iptables_load wrapper does not obey iptables-restore exit status HOT 2
- How to order rules since 6.0? HOT 8
- Can the iptables and ip6tables be enable/disable separately? HOT 1
- iptables_service fails under Chef 16.13 with undefined method `new_resource' for Chef::Resource::Service HOT 1
- Feature request: Alternative to specifying an exact line_number HOT 2
- deprecated default recipe does a lot more than resources HOT 2
- iptables v1.8.4 (legacy): unknown option "--to-ports" HOT 1
- is this cookbook abandoned ?
- fix rebuild-iptables to load system-created rules HOT 2
- Can't start iptables cookbook on host without ipv6 support HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iptables.