Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Blason_R
Advisor

Can someone please clear my doubts about CP Network?

Jump to solution

Hi Team,

We are planning to use a topology given below.

I am planning to use Check Point default gateway as 1.2.3.5 which is LB. Server 10.10.10.30 is statically manually natted with 1.2.3.7

Proxy ARP added on firewall.

From Check Point perspective I wanted to understand the routing part in the below scenario

  • Lets support Traffic is initiated from Internet for host 1.2.3.7 for Port 443
  • It would reach router R1
  • It would Broadcast for ARP. Check Point would send gratuitous ARP
  • Traffic will then be forwarded to 1.2.3.6
  • Traffic will be natted and send out to 10.10.10.30
  • Now while returning from 10.10.10.30

Once it reached to Check Point

  • Does firewall refer to the routing table for destination ANY (Since the packet was originated from Source ANY) and will it be routed to 1.2.3.5; causing asynchronous routing

OR

  • Since the firewall already has connection table entry and it knows it arrived from eth0 from 1.2.3.4; will it be routed back to 1.2.3.4?

My strong feeling is it would definitely be sent it back to 1.2.3.4 since routing is not stateful and I would need to add PBR on CP for source IP

Please advise?

scenario1.jpg

 

 

0 Kudos
1 Solution

Accepted Solutions
Blason_R
Advisor

I was right as it would definitely refers the route.

View solution in original post

0 Kudos
8 Replies
Chris_Atkinson
Employee
Employee

Please clarify the diagram further by specifying subnet masks and is the LB itself performing any NAT?

Generally the most specific route will be followed.

0 Kudos
Blason_R
Advisor

You can consider those all are in same network. Lets say /27

Nope Static nat will be configured on Check Point. So that Incoming traffic for Application server will be natted on Check Point firewall and will be forwarded to the server. While Outbound traffic from hosts which is a hide nat will be configured on LB. So the default gateway for Check Point is LB.

0 Kudos
Chris_Atkinson
Employee
Employee

Remember connected/specific routes are preferred over the default, so the source you mention probably will have a different behavior in this case if it's part of a /27.

0 Kudos
Blason_R
Advisor

Yes that I agree and in this scenario - There are no specific routes. I agree least routes will match first and before that even PBRs are matched. However in this scenario; no specific routes are added and only a default gateway is pointed to LB. I am wondering if reverse traffic for statically natted IPs which is a part of established session will it be routed to LB or Router since it know that traffic is received from R1 through eth0

0 Kudos
Paul_Kazzi
Participant

Are you NATing the source IP too? Does  internet host's source IP change when traversing environment via R1?

If not, then I am pretty sure you will have an asymmetric routing issue if your default gateway points to LB, whereby the return traffic from 10.10.10.30 will flick to LB from CP.

0 Kudos
Blason_R
Advisor

Nope I am not natting Source IP. Source IP is gone be = Original. And I am pretty sure it would cause asymmetric routing issue however wanted to confirm once. Thanks though.

0 Kudos
Paul_Kazzi
Participant

You could test  on R1 NATing source IP to an R1 source to force reply back to R1. Obviously subject to testing  as unsure of environment specifics 🙂

0 Kudos
Blason_R
Advisor

I was right as it would definitely refers the route.

0 Kudos