forked from ungleich-public/cdist
		
	__iptables_apply: man updates
This commit is contained in:
		
					parent
					
						
							
								f568462e49
							
						
					
				
			
			
				commit
				
					
						bee255c1ae
					
				
			
		
					 2 changed files with 16 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -61,6 +61,7 @@ gothrough() {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
# Shortcut for iptables command to do IPv4 and v6
 | 
			
		||||
# only applies to the "reset" target
 | 
			
		||||
iptables() {
 | 
			
		||||
    command iptables "$@"
 | 
			
		||||
    command ip6tables "$@"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,7 +10,14 @@ DESCRIPTION
 | 
			
		|||
-----------
 | 
			
		||||
This cdist type deploys an init script that triggers
 | 
			
		||||
the configured rules and also re-applies them on
 | 
			
		||||
configuration.
 | 
			
		||||
configuration. Rules are written from __iptables_rule
 | 
			
		||||
into the folder ``/etc/iptables.d/``.
 | 
			
		||||
 | 
			
		||||
It reads all rules from the base folder as rules for IPv4.
 | 
			
		||||
Rules in the subfolder ``v6/`` are IPv6 rules. Rules in
 | 
			
		||||
the subfolder ``all/`` are applied to both rule tables. All
 | 
			
		||||
files contain the arguments for a single ``iptables`` and/or
 | 
			
		||||
``ip6tables`` command.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
REQUIRED PARAMETERS
 | 
			
		||||
| 
						 | 
				
			
			@ -24,7 +31,7 @@ None
 | 
			
		|||
EXAMPLES
 | 
			
		||||
--------
 | 
			
		||||
 | 
			
		||||
None (__iptables_apply is used by __iptables_rule)
 | 
			
		||||
None (__iptables_apply is used by __iptables_rule automaticly)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
SEE ALSO
 | 
			
		||||
| 
						 | 
				
			
			@ -35,11 +42,13 @@ SEE ALSO
 | 
			
		|||
AUTHORS
 | 
			
		||||
-------
 | 
			
		||||
Nico Schottelius <nico-cdist--@--schottelius.org>
 | 
			
		||||
Matthias Stecher <matthiasstecher--@--gmx.de>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
COPYING
 | 
			
		||||
-------
 | 
			
		||||
Copyright \(C) 2013 Nico Schottelius. You can redistribute it
 | 
			
		||||
and/or modify it under the terms of the GNU General Public License as
 | 
			
		||||
published by the Free Software Foundation, either version 3 of the
 | 
			
		||||
License, or (at your option) any later version.
 | 
			
		||||
Copyright \(C) 2013 Nico Schottelius.
 | 
			
		||||
Copyright \(C) 2020 Matthias Stecher.
 | 
			
		||||
You can redistribute it and/or modify it under the terms of the GNU
 | 
			
		||||
General Public License as published by the Free Software Foundation,
 | 
			
		||||
either version 3 of the License, or (at your option) any later version.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue