Summary:
find uid of community
mgmt_cli show vpn-community-star name "communityname"
find uid of dh group:
mgmt_cli show generic-objects class-name com.checkpoint.objects.classes.dummy."CpmiIkeDiffieHellmanParametersObject"
mgmt_cli set generic-object uid "uid-of-community" ikeP1.ikeP1EncAlg AES_MINUS_256
mgmt_cli set generic-object uid "uid-of-community" ikeP1.ikeP1HashAlg SHA256
mgmt_cli set generic-object uid "uid-of-community" ikeP1.ikeP1DhGrp 86ee63a3-cb9a-478e-add4-857aff8a7ab3
mgmt_cli set generic-object uid "uid-of-community" ikeP1.ikeP1RekeyTime 1440
mgmt_cli set generic-object uid "uid-of-community" ikeP2.ikeP2EncAlg AES_MINUS_256
mgmt_cli set generic-object uid "uid-of-community" ikeP2.ikeP2HashAlg SHA256
mgmt_cli set generic-object uid "uid-of-community" ikeP2.ikeP2RekeyTime 3600
mgmt_cli set generic-object uid "uid-of-community" ikeP2.ikeP2UsePfs true
mgmt_cli set generic-object uid "uid-of-community" ikeP2.ikeP2PfsDhGrp 86ee63a3-cb9a-478e-add4-857aff8a7ab3
mgmt_cli set generic-object uid "uid-of-community" ikeP2.ikeP2EnableSupernetFromR8020 FALSE