Class: Dcmgr::VNet::Tasks::AcceptUdpEstablished
- Inherits:
-
Dcmgr::VNet::Task
- Object
- Dcmgr::VNet::Task
- Dcmgr::VNet::Tasks::AcceptUdpEstablished
- Includes:
- Netfilter
- Defined in:
- lib/dcmgr/vnet/tasks/accept_related_established.rb
Overview
Accept established connections for any udp
Instance Attribute Summary
Attributes inherited from Dcmgr::VNet::Task
Instance Method Summary collapse
-
#initialize ⇒ AcceptUdpEstablished
constructor
A new instance of AcceptUdpEstablished.
Constructor Details
#initialize ⇒ AcceptUdpEstablished
Returns a new instance of AcceptUdpEstablished.
28 29 30 31 |
# File 'lib/dcmgr/vnet/tasks/accept_related_established.rb', line 28 def initialize super() self.rules << IptablesRule.new(:filter,:forward,:udp,:incoming,"-m state --state ESTABLISHED -p udp -j ACCEPT") end |