If negation is not possible, then maybe I can just use two rules? firewall { '100 snat for network foo2': chain => 'POSTROUTING', action => 'accept', proto => 'all', source => ['192.168.122.0/24'], destination => ['192.168.122.0/24'], table => 'nat', } firewall { '101 snat for network foo2': chain => 'POSTROUTING', jump => 'MASQUERADE', proto => 'all', source => ['192.168.122.0/24'], table => 'nat', }
On Sun, Apr 22, 2012 at 11:02 AM, Mohamed Lrhazi <lrh...@gmail.com> wrote: > Hello, > > How do I code this rule, which I believe says: NOT dest = 192.168.122.0/24 : > > -A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p tcp -j > MASQUERADE --to-ports 1024-65535 > > > Thanks, > Mohamed. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.