02-03-2025 01:16 AM
Hi, we have two EPGs , now need to create contract for the communication between them. I just want to want to use two different contracts only. Can I create two contracts like below:
contract A -- allow EPG A to access EPG B, then apply this contract as consumer contract on EPG A
contract B -- allow EPG A to access EPB, then apply this contract as provider contract on EPG B
can someone pls advise? thanks in advance.
02-03-2025 02:21 AM
Hi @Herman2018 ,
You almost nailed it! But you only need one contract (strictly speaking you COULD build it like your scenario, but it's complicted and involves multiple filters. Don't do it!)
Here is a full explanation
If you want EPG A to access EPG B, then this implies that EPG B is providing some service on some TCP or UDP port number - to keep it simple, lets say TCP port 22
Now, to allow EPG A access to TCP port 22 on EPG B servers, you'll need to:
Now, if you want to allow EPG A access EVERYTHING on EPG B, repeat the above with a different filter and contract name - and consider, do you want EVERYTHING - or just IP traffic? Or just TCP traffic
02-06-2025 05:39 PM
hi @RedNectar ,thank you so much for your kind advice! We have a general contract something like "allow any any" , so I think we can apply this contract as provider contract on EPG B, just need to create a new contract and apply it as consumer contract on EPG A. This is one of scenarios which use different contracts on each EPG respectively.
02-06-2025 09:22 PM
Sounds good. Let us know if it is successful and put this thread to bed.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide