Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
nicodemeb
Explorer

Ansible Playbook NAT configuration R80.30

Hello, 

 

I am currently exploring the functionalities offered by the multiple Ansible plugins that I found here: https://docs.ansible.com/ansible/latest/modules/community_maintained.html#check-point,

 

Therefore I am looking for NAT configuration through Ansible, and more precisely about Manual Lower Rules, 

Is it possible to manipulate NAT configuration with Ansible? 

 

Thanks!

0 Kudos
5 Replies
PhoneBoy
Admin
Admin

As NAT rules can be modified through the API (nat-rule I believe) they should be modifiable through Ansible as well:
https://sc1.checkpoint.com/documents/latest/APIs/index.html#introduction~v1.6
Possible it already exists in our Ansible module and just the docs are missing.
0 Kudos
nicodemeb
Explorer

I tried with what would seem to me to be the name of the plugin, respecting the same naming convention than the other plugins are using, so by using `cp_mgmt_nat_rule` plugin (working with `cp_mgmt_access_rule`, `cp_mgmt_network`, `cp_mgmt_host`, ...)

 

But by doing so, the result was the following:

Screen Shot 2020-02-26 at 15.52.55.png

Any Idea?

 

Thanks 

0 Kudos
PhoneBoy
Admin
Admin

Yeah, looks like we don't have support for it currently.
It will be added in later versions.
0 Kudos
NUNO_C
Participant

Hi,

Looking forward to have this feature available on ansible. will this feature retrofit to R80.10?

Is there any time frame when will be available?

 

N

0 Kudos
Chris_Atkinson
Employee Employee
Employee

 

Please see the latest collection for NAT support:

https://community.checkpoint.com/t5/Ansible/New-version-of-Ansible-collection-1-0-6/m-p/92477#M339

CCSM R77/R80/ELITE
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events