Hi, 

I'm using puppetlabs/firewall.  

I need to create following iptable rules:
iptables -A PREROUTING -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 8443

8   REDIRECT   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp 
dpt:443 redir ports 8443

My manifests is
        firewall { '001 default redirection policy' :
                table => 'nat',
                chain => 'PREROUTING',
                proto => 'tcp',
                dport => '443',
                jump => 'REDIRECT',
                toports => '8443'
        }

But, puppetlabs/firewall creates following iptable rules: 
iptables -A PREROUTING -p tcp *-m multiport --dports *443 -m comment 
--comment "001 default redirection policy" -j REDIRECT --to-ports 8443

1    REDIRECT   tcp  --  0.0.0.0/0            0.0.0.0/0           multiport 
dports 443 /* 002 default redirection policy */ redir ports 8443

Kindly help me

Regards,
Suresh

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/02bac480-82c6-4420-bb42-0b4ba5dfeca1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to