STATIC NAT NOT WORKING

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

STATIC NAT NOT WORKING

L0 Member

Please consider below topology in which PC-1 - 3 are connected to Cisco Switch and having a gateway 192.168.1.1 configure on firewall. Firewall rule is any any and all the PC can ping the IT PC with actual IP. Now I want to deal with the scenario where all the PC-1 to 3 need to be statically translated to the IP in IT range which is 172.16.100.100 for PC-1 , 101 for PC-2 and 102 for PC-3 respectively but the scenario is not working. I would like to know how can we achieve this topolgy.

 

192.168.1.10 -- NAT TO -- 172.16.100.100

192.168.1.11 -- NAT TO -- 172.16.100.101

192.168.1.12 -- NAT TO -- 172.16.100.102

 

I tried doing static NAT as per below and it is working but I dont want to do that

192.168.1.10 -- NAT TO --172.16.1.3 

 

Am I missing something like proxy arp.

 

Him143u_1-1749663293591.png

 

 

2 REPLIES 2

Cyber Elite
Cyber Elite

you can't effectively nat for an IP subnet that is one hop away from the palo interface

outbound NAT will work, the palo will source nat outgoing packets, the next hop router will (probably, unless this router supports anti-spoofing) route the packet to the final destination

so far all will be good, but the reply packet will remain inside the local broadcast domain (the /24 subnet on the far end). the router will not know to forward that packet to 172.16.1.1 unless you set up some sort of proxy arp on the router

 

you can source nat behind 172.16.1.1 but not 172.16.100.x since that is one hop away

 

tl;dr you're performing an old-school spoofing attack

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

Cyber Elite
Cyber Elite

Hello,

I would keep it simple and just use security policies to allow/deny traffic. No need to nat between subnets.

Regards,

  • 450 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!