Resource Type: ufw_route
- Defined in:
- lib/puppet/type/ufw_route.rb
Summary
a ufw_route type controls routing rulesOverview
ufw_route { ‘route vpn traffic to internal net’:
ensure => 'present',
action => 'allow',
interface_in => 'tun0',
interface_out => 'eth0',
log => 'log',
from_addr => 'any',
from_ports_app => undef,
to_addr => '10.5.0.0/24',
to_ports_app => undef,
proto => 'any',
}
This type provides Puppet with the capabilities to manage ufw routing rules.
Important: The default action is ‘reject`, so traffic would be rejected if `action` parameter is omitted.
Autorequires:
-
‘Class`