Class: Ansible::Ruby::Modules::Iptables
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Iptables
- Defined in:
- lib/ansible/ruby/modules/generated/extras/system/iptables.rb
Instance Method Summary collapse
-
#chain ⇒ String
Chain to operate on.
-
#comment ⇒ String?
This specifies a comment that will be added to the rule.
-
#ctstate ⇒ Object?
Ctstate is a list of the connection states to match in the conntrack module.
-
#destination ⇒ Object?
Destination specification.
-
#destination_port ⇒ String?
Destination port or port range specification.
-
#fragment ⇒ Object?
This means that the rule only refers to second and further fragments of fragmented packets.
-
#goto ⇒ Object?
This specifies that the processing should continue in a user specified chain.
-
#in_interface ⇒ String?
Name of an interface via which a packet was received (only for packets entering the INPUT, FORWARD and PREROUTING chains).
-
#ip_version ⇒ :ipv4, ...
Which version of the IP protocol this rule should apply to.
-
#jump ⇒ String?
This specifies the target of the rule; i.e., what to do if the packet matches it.
-
#limit ⇒ Object?
Specifies the maximum average number of matches to allow per second.
-
#limit_burst ⇒ Object?
Specifies the maximum burst before the above limit kicks in.
-
#match ⇒ Object?
Specifies a match to use, that is, an extension module that tests for a specific property.
-
#out_interface ⇒ Object?
Name of an interface via which a packet is going to be sent (for packets entering the FORWARD, OUTPUT and POSTROUTING chains).
-
#protocol ⇒ String?
The protocol of the rule or of the packet to check.
-
#reject_with ⇒ Object?
Specifies the error packet type to return while rejecting.
-
#set_counters ⇒ Object?
This enables the administrator to initialize the packet and byte counters of a rule (during INSERT, APPEND, REPLACE operations).
-
#set_dscp_mark ⇒ String?
This allows specifying a DSCP mark to be added to packets.
-
#set_dscp_mark_class ⇒ String?
This allows specifying a predefined DiffServ class which will be translated to the corresponding DSCP mark.
-
#source ⇒ String?
Source specification.
-
#source_port ⇒ Object?
Source port or port range specification.
-
#state ⇒ :present, ...
Whether the rule should be absent or present.
-
#table ⇒ :filter, ...
This option specifies the packet matching table which the command should operate on.
-
#to_destination ⇒ Object?
This specifies a destination address to use with DNAT: without this, the destination address is never altered.
-
#to_ports ⇒ String?
This specifies a destination port or range of ports to use: without this, the destination port is never altered.
-
#uid_owner ⇒ Object?
Specifies the UID or username to use in match by owner rule.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#chain ⇒ String
22 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 22 attribute :chain |
#comment ⇒ String?
82 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 82 attribute :comment |
#ctstate ⇒ Object?
86 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 86 attribute :ctstate |
#destination ⇒ Object?
34 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 34 attribute :destination |
#destination_port ⇒ String?
63 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 63 attribute :destination_port |
#fragment ⇒ Object?
54 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 54 attribute :fragment |
#goto ⇒ Object?
44 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 44 attribute :goto |
#in_interface ⇒ String?
47 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 47 attribute :in_interface |
#ip_version ⇒ :ipv4, ...
18 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 18 attribute :ip_version |
#jump ⇒ String?
40 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 40 attribute :jump |
#limit ⇒ Object?
89 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 89 attribute :limit |
#limit_burst ⇒ Object?
92 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 92 attribute :limit_burst |
#match ⇒ Object?
37 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 37 attribute :match |
#out_interface ⇒ Object?
51 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 51 attribute :out_interface |
#protocol ⇒ String?
26 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 26 attribute :protocol |
#reject_with ⇒ Object?
98 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 98 attribute :reject_with |
#set_counters ⇒ Object?
57 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 57 attribute :set_counters |
#set_dscp_mark ⇒ String?
74 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 74 attribute :set_dscp_mark |
#set_dscp_mark_class ⇒ String?
78 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 78 attribute :set_dscp_mark_class |
#source ⇒ String?
30 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 30 attribute :source |
#source_port ⇒ Object?
60 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 60 attribute :source_port |
#state ⇒ :present, ...
14 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 14 attribute :state |
#table ⇒ :filter, ...
10 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 10 attribute :table |
#to_destination ⇒ Object?
71 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 71 attribute :to_destination |
#to_ports ⇒ String?
67 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 67 attribute :to_ports |
#uid_owner ⇒ Object?
95 |
# File 'lib/ansible/ruby/modules/generated/extras/system/iptables.rb', line 95 attribute :uid_owner |