Inbound NAT with Port Redirection

L2 Linker

Inbound NAT with Port Redirection



I want to publish a web server to the internet over port 443 and direct the inbound traffic to the port 80 on the server. How that can be done in both PAN OS v7 and v8 ??




Tags (1)
L7 Applicator

Re: Inbound NAT with Port Redirection

simply create a NAT policy as you would normally, but add a pre-nat port to the 'original packet' column (port 443 already has 'service-https' preconfigured in the services) and then add a port to the 'translated packet' column which the server is listeing on (eg. 8443)


port translate.png

L2 Linker

Re: Inbound NAT with Port Redirection

@reaper it worked well. Thanks a lot.


i have another senario here, i have some internet users with specific public IPs, i need to direct them only to a spesific internal server.


in another world all who will access my site at will go to and for some specific public IPs they should go to


Is that applicable ??



L7 Applicator

Re: Inbound NAT with Port Redirection



nat (all) policies are processed top to bottom and the rule that is hit first will apply

so if you set a policy first with the specific source IP addresses in the 'original packet', you can change the NAT translation for those sources, then set the 'any' policy below that for everyone else


port source specific.png

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 Live Community as a whole!

The Live Community thanks you for your participation!