Projet

Général

Profil

Révision c8894978

IDc8894978cc1f2399c8eafd06b9a3ab8157783154
Parent c8e93806
Enfant c8092701

Ajouté par tr il y a plus de 4 ans

Use default

Voir les différences:

manifests/init.pp
121 121

  
122 122
  # ip-nat-chain-PREROUTING
123 123
  nftables::rule{
124
    default:
125
      table   => 'ip-nat';
124 126
    'PREROUTING-type':
125
      table   => 'ip-nat',
126 127
      order   => '01',
127 128
      content => 'type nat hook prerouting priority -100';
128 129
    'PREROUTING-policy':
129
      table   => 'ip-nat',
130 130
      order   => '02',
131 131
      content => 'policy accept';
132 132
  }
133 133

  
134 134
  # ip-nat-chain-POSTROUTING
135 135
  nftables::rule{
136
    default:
137
      table   => 'ip-nat';
136 138
    'POSTROUTING-type':
137
      table   => 'ip-nat',
138 139
      order   => '01',
139 140
      content => 'type nat hook postrouting priority 100';
140 141
    'POSTROUTING-policy':
141
      table   => 'ip-nat',
142 142
      order   => '02',
143 143
      content => 'policy accept';
144 144
  }

Formats disponibles : Unified diff